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>
This commit is contained in:
2026-11-13 15:45:35 +01:00
parent 819ee0a5c3
commit 7a69651b6d
60 changed files with 1895 additions and 207 deletions

View File

@@ -22,8 +22,9 @@ _SCENE = "digital painting, cinematic lighting, high detail, dark industrial moo
PROMPTS = [
# app icon
("icon", "game app icon: a fierce armoured battle robot for arena fights, heavy riveted steel box body with a huge raised front flipper plate and a spinning saw, angry glowing orange eyes on the front armour, chunky, not a car, no windows, no arms, no legs, "
"orange and black hazard paint, sparks flying, bold silhouette, plain solid black background"),
("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"),
# scenes (not cut out)
("bg_workshop", f"interior of a cluttered robot workshop garage at night, workbenches with tools, welding sparks, "
@@ -85,9 +86,9 @@ PROMPTS = [
("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}"),
("opp_thunderclap", f"purple robot with an overhead axe hammer and a flamethrower turret, {_ROBOT}"),
("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}"),
("opp_gravedigger", f"black domed robot with green lights, tank tracks and a rocket pod turret, {_ROBOT}"),
("opp_overlord", f"menacing black and red domed robot with a heavy horizontal spinning bar weapon, {_ROBOT}"),
("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}"),
# shop mechanic (original character)
("npc_mechanic", "game character portrait, gruff middle-aged robot mechanic with welding goggles pushed up on the forehead, "