2026-11-13 01:02:55 +01:00
""" Robot Clash - what generate.py creates.
2026-11-13 00:41:54 +01:00
2026-11-13 01:02:55 +01:00
PROMPTS = [ ( name , positive ) ] or [ ( name , positive , negative ) ]
SIZES = { name : ( width , height ) } optional , otherwise the workflow size ( 1024 x1024 )
2026-11-13 00:41:54 +01:00
2026-11-13 01:02:55 +01:00
Sprites : always " plain solid black background " ( adopt . py keys it out ) .
Scenes ( bg_ * ) : full pictures , taken over with adopt_scene . py ( no cutout ) .
Own designs only - no characters , robots or arenas from existing games or TV shows .
2026-11-13 00:41:54 +01:00
"""
_STYLE = (
2026-11-13 01:02:55 +01:00
" isometric 3/4 view game sprite, chunky handmade combat robot part, scratched painted steel, "
" bolts and hazard stripes, bold clean shapes, soft studio lighting, high detail, "
2026-11-13 00:41:54 +01:00
" centred single subject, plain solid black background "
)
2026-11-13 01:02:55 +01:00
_ROBOT = (
" isometric 3/4 view game portrait of a chunky handmade arena battle robot, very low flat armoured steel shell hugging the ground, "
" wheels mostly hidden under the armour, NOT a car, NOT a truck, no cab, no windows, no bumpers, no headlights, no arms, no legs, not humanoid, "
" scratched painted steel, bolts, dramatic rim light, high detail, centred single subject, plain solid black background "
)
_ICON = " flat game UI icon, bold simple silhouette, thick clean outline, metallic shading, centred single subject, plain solid black background "
_SCENE = " digital painting, cinematic lighting, high detail, dark industrial mood, orange and steel blue colour palette, no text, no people "
2026-11-13 00:41:54 +01:00
PROMPTS = [
2026-11-13 01:02:55 +01:00
# app icon
Online-Lobby, Arenen, Lackiererei, ComfyGen-Grafik, Verschleierung
Grosse Erweiterung ueber die erste spielbare Version hinaus:
- Online (Firebase ueber REST, kein SDK): Konto per E-Mail, globale Lobby
mit Laender-Raeumen, Herausfordern, Live-PvP (Host rechnet, Gast
interpoliert, KI-Uebernahme bei Lag). Gast kann anonym beitreten.
net.js / lobby.js / netfight.js, Regeln in docs/firebase.
- 3 Arenen in verschiedenen Groessen (RC.ARENAS, half 8/12/16), Kamera +
Licht + Boden skalieren; Liga skaliert die Arena mit, Setting + online
aus Seed. Harte Rams/Wandtreffer schleudern Roboter auf den Rucken.
- Intro (3D-Kamerafahrt), Titel, Einstellungen (Kamera, Schwierigkeit,
Steuerung, Grafik, Arena), Lackiererei (painter.js, selbst bemalen).
- Shop mit ComfyGen-Sprites (aus den 3D-Teilen erzeugt), Liga-Gegner sehen
aus wie ihre Portraits (looks.js), kraeftigere Waffen-Modelle.
- Oekonomie: Startgeld 800, Schadensbonus, Schaukaempfe, Online-Preisgeld.
- Verschleierung: build.ps1 -Obfuscate (terser), tablet-taugliche Touch-UI.
- Tests: tests/sim.test.js, balance.js, online.test.js. Dev-Tools in tools/.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-11-13 15:45:35 +01:00
( " icon " , " game app icon: a low flat wedge-shaped battle robot shaped like a steel doorstop on hidden wheels, seen from the front at an angle, "
" huge raised front flipper plate, two glowing orange eye lights in the armour, orange and black hazard paint, sparks flying, "
" bold simple silhouette, centred, plain solid black background " ) ,
2026-11-13 01:02:55 +01:00
# scenes (not cut out)
( " bg_workshop " , f " interior of a cluttered robot workshop garage at night, workbenches with tools, welding sparks, "
f " hanging chains, shelves with motors and batteries, orange work lamps, empty floor in the middle, { _SCENE } " ) ,
( " bg_title " , f " huge indoor robot combat arena seen from high above at an angle, steel floor plates, spiked walls, "
f " floodlights cutting through haze, dark crowded stands, a glowing pit in the floor, { _SCENE } " ) ,
( " bg_win " , f " robot combat arena celebration, golden confetti and showers of sparks under floodlights, { _SCENE } " ) ,
( " bg_lose " , f " smoking wrecked robot parts and scattered bolts on a steel arena floor, drifting smoke, dim red light, { _SCENE } " ) ,
# slot category icons
( " slot_chassis " , f " empty welded steel robot chassis frame, { _ICON } " ) ,
( " slot_motor " , f " electric motor with copper windings and drive shaft, { _ICON } " ) ,
( " slot_wheels " , f " chunky rubber robot wheel with steel hub, { _ICON } " ) ,
( " slot_battery " , f " heavy robot battery pack with lightning symbol, { _ICON } " ) ,
( " slot_armour " , f " riveted steel armour plate shaped like a shield, { _ICON } " ) ,
( " slot_weapon " , f " crossed axe and circular saw blade, { _ICON } " ) ,
( " slot_tower " , f " small rotating gun turret on a round base, { _ICON } " ) ,
# UI icons
( " ico_credits " , f " gold coin with a bolt stamped on it, { _ICON } " ) ,
( " ico_fame " , f " golden star trophy, { _ICON } " ) ,
( " ico_weight " , f " iron weight with handle, { _ICON } " ) ,
( " ico_power " , f " yellow lightning bolt, { _ICON } " ) ,
( " ico_hp " , f " red heart crossed with a wrench, { _ICON } " ) ,
( " ico_armour " , f " steel shield with rivets, { _ICON } " ) ,
( " ico_speed " , f " speedometer gauge with needle in the red, { _ICON } " ) ,
# parts (ids from game/parts.js)
( " part_crate " , f " simple boxy steel robot chassis, plain welded box with bolts, { _STYLE } " ) ,
( " part_doorstop " , f " low flat wedge-shaped robot chassis, sloped front, { _STYLE } " ) ,
( " part_bulwark " , f " large heavy reinforced robot chassis frame with thick beams, { _STYLE } " ) ,
( " part_scarab " , f " robot chassis with a rounded beetle-like dome shell, { _STYLE } " ) ,
( " part_sparky " , f " small cheap electric motor with a few wires, { _STYLE } " ) ,
( " part_hornet " , f " sleek electric motor with yellow and black cooling fins, { _STYLE } " ) ,
( " part_bulldog " , f " massive high torque gear motor with big gearbox, { _STYLE } " ) ,
( " part_comet " , f " high speed racing electric motor with glowing blue cooling ring, { _STYLE } " ) ,
( " part_rubber " , f " set of four small rubber robot wheels, { _STYLE } " ) ,
( " part_bigtyre " , f " pair of huge chunky off-road tyres for a robot, { _STYLE } " ) ,
( " part_tracks " , f " pair of heavy tank crawler tracks, { _STYLE } " ) ,
( " part_lead " , f " heavy old lead acid battery block with terminals, { _STYLE } " ) ,
( " part_nicd " , f " pack of green nickel cadmium battery cells taped together, { _STYLE } " ) ,
( " part_lipo " , f " slim modern lithium battery stack with glowing charge lights, { _STYLE } " ) ,
( " part_steel " , f " set of plain grey riveted steel armour plates, { _STYLE } " ) ,
( " part_titan " , f " set of light blue-grey titanium armour panels, { _STYLE } " ) ,
( " part_hardox " , f " set of thick yellowish hardened wear plates with heavy bolts, { _STYLE } " ) ,
( " part_wedge " , f " angled steel ramming wedge plate, { _STYLE } " ) ,
( " part_flipper " , f " pneumatic flipper arm, flat steel plate on a hinge with a piston, { _STYLE } " ) ,
( " part_hammer " , f " robot weapon: heavy axe head on a long steel arm with pivot, { _STYLE } " ) ,
( " part_saw " , f " robot weapon: large circular saw blade on a motor mount, { _STYLE } " ) ,
( " part_crusher " , f " robot weapon: hydraulic crushing jaws with sharp teeth, { _STYLE } " ) ,
( " part_spinner " , f " robot weapon: heavy horizontal spinning steel bar with hardened teeth, { _STYLE } " ) ,
( " part_flamer " , f " robot flamethrower nozzle with red fuel tank, small flame at the tip, { _STYLE } " ) ,
( " part_minigun " , f " robot turret minigun with four rotating barrels, { _STYLE } " ) ,
( " part_rockets " , f " robot turret rocket pod with four tubes, { _STYLE } " ) ,
# league opponents (paint matches game/ai.js)
( " opp_rustbucket " , f " rusty brown boxy robot with a simple ramming wedge, patched with scrap, { _ROBOT } " ) ,
( " opp_tintoad " , f " green low wedge robot shaped like a flat toad, { _ROBOT } " ) ,
( " opp_buzzkill " , f " yellow and black striped robot with a big front circular saw, { _ROBOT } " ) ,
( " opp_flapjack " , f " blue and white low robot with a huge flipper plate and big tyres, { _ROBOT } " ) ,
( " opp_pincer " , f " red and gold heavy robot on tank tracks with hydraulic crushing jaws, { _ROBOT } " ) ,
Online-Lobby, Arenen, Lackiererei, ComfyGen-Grafik, Verschleierung
Grosse Erweiterung ueber die erste spielbare Version hinaus:
- Online (Firebase ueber REST, kein SDK): Konto per E-Mail, globale Lobby
mit Laender-Raeumen, Herausfordern, Live-PvP (Host rechnet, Gast
interpoliert, KI-Uebernahme bei Lag). Gast kann anonym beitreten.
net.js / lobby.js / netfight.js, Regeln in docs/firebase.
- 3 Arenen in verschiedenen Groessen (RC.ARENAS, half 8/12/16), Kamera +
Licht + Boden skalieren; Liga skaliert die Arena mit, Setting + online
aus Seed. Harte Rams/Wandtreffer schleudern Roboter auf den Rucken.
- Intro (3D-Kamerafahrt), Titel, Einstellungen (Kamera, Schwierigkeit,
Steuerung, Grafik, Arena), Lackiererei (painter.js, selbst bemalen).
- Shop mit ComfyGen-Sprites (aus den 3D-Teilen erzeugt), Liga-Gegner sehen
aus wie ihre Portraits (looks.js), kraeftigere Waffen-Modelle.
- Oekonomie: Startgeld 800, Schadensbonus, Schaukaempfe, Online-Preisgeld.
- Verschleierung: build.ps1 -Obfuscate (terser), tablet-taugliche Touch-UI.
- Tests: tests/sim.test.js, balance.js, online.test.js. Dev-Tools in tools/.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-11-13 15:45:35 +01:00
( " opp_thunderclap " , f " purple low flat armoured box robot on four wheels with a long axe arm hinged on top lying along its back and a small flamethrower nozzle turret, { _ROBOT } " ) ,
2026-11-13 01:02:55 +01:00
( " opp_gravedigger " , f " black domed robot with green lights, tank tracks and a rocket pod turret, { _ROBOT } " ) ,
Online-Lobby, Arenen, Lackiererei, ComfyGen-Grafik, Verschleierung
Grosse Erweiterung ueber die erste spielbare Version hinaus:
- Online (Firebase ueber REST, kein SDK): Konto per E-Mail, globale Lobby
mit Laender-Raeumen, Herausfordern, Live-PvP (Host rechnet, Gast
interpoliert, KI-Uebernahme bei Lag). Gast kann anonym beitreten.
net.js / lobby.js / netfight.js, Regeln in docs/firebase.
- 3 Arenen in verschiedenen Groessen (RC.ARENAS, half 8/12/16), Kamera +
Licht + Boden skalieren; Liga skaliert die Arena mit, Setting + online
aus Seed. Harte Rams/Wandtreffer schleudern Roboter auf den Rucken.
- Intro (3D-Kamerafahrt), Titel, Einstellungen (Kamera, Schwierigkeit,
Steuerung, Grafik, Arena), Lackiererei (painter.js, selbst bemalen).
- Shop mit ComfyGen-Sprites (aus den 3D-Teilen erzeugt), Liga-Gegner sehen
aus wie ihre Portraits (looks.js), kraeftigere Waffen-Modelle.
- Oekonomie: Startgeld 800, Schadensbonus, Schaukaempfe, Online-Preisgeld.
- Verschleierung: build.ps1 -Obfuscate (terser), tablet-taugliche Touch-UI.
- Tests: tests/sim.test.js, balance.js, online.test.js. Dev-Tools in tools/.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-11-13 15:45:35 +01:00
( " opp_overlord " , f " menacing black and red round dome shell robot like an upturned wok on hidden wheels, long horizontal spinning steel bar across the front at floor height, { _ROBOT } " ) ,
2026-11-13 01:02:55 +01:00
# shop mechanic (original character)
( " npc_mechanic " , " game character portrait, gruff middle-aged robot mechanic with welding goggles pushed up on the forehead, "
" grey stubble, grease on the cheek, dark overalls with an orange stripe, friendly grin, holding a wrench, "
" head and shoulders, stylised digital painting, rim light, plain solid black background " ) ,
# arena textures (make_tileable)
( " tex_floor " , " seamless top-down texture of riveted dark steel floor plates, scratches, oil stains, scuff marks, "
" even lighting, no perspective, no shadows " ) ,
( " tex_wall " , " seamless texture of dark painted steel wall panel with rivets and yellow black hazard stripe band, "
" even lighting, front view, no perspective " ) ,
2026-11-15 17:08:11 +01:00
2026-11-15 20:05:02 +01:00
( " part_mines " , f " robot gadget: stack of flat round steel land mines with yellow warning rings and a red lamp, { _STYLE } " ) ,
# --- stronger batteries ---
( " part_liion " , f " chunky lithium ion battery brick with thick power cables and a charge gauge, { _STYLE } " ) ,
( " part_supercap " , f " bank of large supercapacitors wired in a row on a steel frame, glowing blue, { _STYLE } " ) ,
2026-11-15 17:08:11 +01:00
# --- new towers ---
( " part_zapper " , f " robot turret: electric arc emitter with copper coils and crackling blue spark, { _STYLE } " ) ,
( " part_mortar " , f " robot turret: short stubby mortar tube angled upwards on a base plate, { _STYLE } " ) ,
( " part_swarm " , f " robot turret: boxy rocket pod with nine small launch tubes in a grid, { _STYLE } " ) ,
# --- new armour ---
( " part_mesh " , f " set of thin steel wire mesh grille panels for a robot, { _STYLE } " ) ,
( " part_buffer " , f " set of fat black rubber buffer blocks and bumpers for a robot, { _STYLE } " ) ,
( " part_spiked " , f " set of steel armour plates covered in short sharp spikes, { _STYLE } " ) ,
( " part_ceramic " , f " set of pale ceramic armour tiles in a grid, chipped edges, { _STYLE } " ) ,
# --- new chassis ---
( " part_cage " , f " open welded tube frame robot chassis, bare scrap metal cage, no panels, { _STYLE } " ) ,
( " part_hexpod " , f " six-sided hexagonal robot chassis shell with angled sloping sides, { _STYLE } " ) ,
( " part_boiler " , f " robot chassis made from a rolled steel drum lying on its side, riveted bands, { _STYLE } " ) ,
( " part_fang " , f " long low arrow-shaped robot chassis with a sharp pointed prow, { _STYLE } " ) ,
( " part_plough " , f " robot chassis with a big angled snowplough blade bolted across the nose, { _STYLE } " ) ,
( " part_discus " , f " wide flat round disc-shaped robot chassis, very low, { _STYLE } " ) ,
# --- new wheels ---
( " part_omni " , f " set of small omni-directional caster wheels with rollers and steel forks, { _STYLE } " ) ,
( " part_studs " , f " pair of chunky studded off-road robot tyres with metal spikes, { _STYLE } " ) ,
( " part_drumwh " , f " single wide steel roller drum wheel with a hub, { _STYLE } " ) ,
( " part_hover " , f " robot hover skirt, a flat plate over a glowing orange air cushion ring, { _STYLE } " ) ,
# --- new weapons ---
( " part_lance " , f " long pointed steel ramming lance spike on a front mount, { _STYLE } " ) ,
( " part_drill " , f " robot weapon: large conical spinning auger drill bit with spiral flutes, { _STYLE } " ) ,
( " part_mace " , f " robot weapon: heavy spiked steel ball mace on a swinging arm, { _STYLE } " ) ,
( " part_launcher " , f " robot weapon: huge curved scoop launcher plate on a hinge, { _STYLE } " ) ,
( " part_drum " , f " robot weapon: thick horizontal spinning drum rotor with hardened teeth, { _STYLE } " ) ,
( " part_lifter " , f " robot weapon: wide two-prong lifting scoop on a hinge, { _STYLE } " ) ,
( " part_vdisc " , f " robot weapon: large upright vertical spinning disc with four cutting teeth, { _STYLE } " ) ,
# --- gadgets ---
( " part_righter " , f " robot gadget: pop-out self-righting lever arm device, { _STYLE } " ) ,
( " part_turbo " , f " robot gadget: nitro boost canister with orange flame jets, { _STYLE } " ) ,
( " part_shield " , f " robot gadget: glowing blue energy deflector field emitter dish, { _STYLE } " ) ,
( " part_repair " , f " robot gadget: repair kit toolbox with a red cross and a wrench, { _STYLE } " ) ,
( " part_emp " , f " robot gadget: EMP burst coil emitter crackling with blue electricity, { _STYLE } " ) ,
( " slot_gadget " , f " robot utility gadget module, { _ICON } " ) ,
# --- title logo (wide lettering) + text-free emblem fallback ---
( " logo " , " game logo lettering that reads exactly ' ROBOT CLASH ' , two words on two lines, bold industrial "
" block capitals cut from brushed scratched steel, thick bevelled edges, orange rim glow, small "
" yellow and black hazard stripe accents, a few sparks, centred, plain solid black background, "
" no extra words, no frame, no border " ) ,
( " logo_emblem " , " game logo emblem without any text: a crossed wrench and circular saw blade behind a low "
" flat wedge-shaped battle robot head with two glowing orange eyes, inside a worn steel "
" badge with hazard stripes, bold simple silhouette, centred single subject, "
" plain solid black background " ) ,
2026-11-13 00:41:54 +01:00
]
2026-11-13 01:02:55 +01:00
SIZES = {
2026-11-15 17:08:11 +01:00
" logo " : ( 1344 , 576 ) , " logo_emblem " : ( 1024 , 1024 ) ,
2026-11-13 01:02:55 +01:00
" bg_workshop " : ( 1536 , 864 ) , " bg_title " : ( 1536 , 864 ) , " bg_win " : ( 1536 , 864 ) , " bg_lose " : ( 1536 , 864 ) ,
" npc_mechanic " : ( 832 , 1024 ) ,
}