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-13 00:41:54 +01:00
]
2026-11-13 01:02:55 +01:00
SIZES = {
" bg_workshop " : ( 1536 , 864 ) , " bg_title " : ( 1536 , 864 ) , " bg_win " : ( 1536 , 864 ) , " bg_lose " : ( 1536 , 864 ) ,
" npc_mechanic " : ( 832 , 1024 ) ,
}