a494290548
fix(net): interpolate between snapshots to absorb jitter (P1-6)
...
netfight eased to the newest snapshot with no buffer, so a jittery
client's robot stalled then jumped. Render ~120 ms in the past between
the two bracketing snapshots instead. Dev params ?netlag/?interp/
?netprobe reproduce it; unit test for the interp math + a Playwright
lag test (tests/e2e/netlag.spec.js).
2026-11-19 19:46:54 +01:00
Benjamin Oezcan
2bf5a40ebc
fix(ui): F3 overlay was always shown as an empty box and could not be closed
2026-11-19 15:28:23 +01:00
Benjamin Oezcan
695cf77afc
feat(net): F3 network overlay - ping graph and where lag comes from (you, opponent, server)
2026-11-19 14:30:40 +01:00
Benjamin Oezcan
593d69714b
feat(net): server measures every player's ping and its own step cost, sent with each snapshot
...
Also fixes the ping message schema (it checked the field t, which is the message type).
2026-11-19 14:25:46 +01:00
Benjamin Oezcan
4535ac7d8a
refactor(game): split game.js into sfx, pages, online and workshop modules (P4-5)
...
Modules are classic-script factories RC.Game<Part>(G); G gives live access to the shared state.
Guarded by new browser tests for every moved page and workshop tool (tests/e2e/screens.spec.js).
2026-11-19 09:58:53 +01:00
Benjamin Oezcan
dd120f47f8
feat(fight): give up a live fight from the pause card
2026-11-19 09:47:22 +01:00
Benjamin Oezcan
a73d33a821
fix(net): expired or stale session while online asks to log in again
2026-11-19 02:17:54 +01:00
Benjamin Oezcan
b587d12f37
refactor!: remove firebase leftovers, admin page on the server (P1-8)
...
BREAKING CHANGE: admin/cleanup.js, admin/setcoins.js and docs/firebase are gone; the admin page now runs at /admin/.
2026-11-19 02:11:13 +01:00
Benjamin Oezcan
85a19ba242
feat(net)!: client on server-run fights, websocket lobby, server economy (P1-5, P1-6, P1-7, P2-3, P2-4)
...
- net.js: REST + one WebSocket with reconnect; single-flight refresh shared across tabs; ?slot=N
- lobby.js / netfight.js: server owns presence, challenges and the fight; client shows snapshots
- game.js: every workshop change goes through RC.Eco via act() (server-checked online);
results, rewards and achievements come from the server (match.end)
- ranking/live/cloudsave on the new REST endpoints; online tournament removed until P2-6
BREAKING CHANGE: needs the new server (protocol v1); old online saves are not migrated.
2026-11-19 02:09:07 +01:00
Benjamin Oezcan
4bd85f68bf
fix(net): snapshot fight time no longer overwrites the message type
2026-11-19 01:52:59 +01:00
Benjamin Oezcan
46499e354b
feat(shop): shared economy rules for client and server (P2-2)
2026-11-19 01:48:20 +01:00
Benjamin Oezcan
bbe206004a
feat(net): shared wire protocol with seat mapping (P1-1)
2026-11-19 01:45:26 +01:00
Benjamin Oezcan
1156bc68eb
chore: add eslint, remove dead variables, pin line endings (P0-4)
2026-11-19 01:41:27 +01:00
347701d66f
onlinemodus fix failed
2026-11-19 00:55:39 +01:00
64c5b65543
big update
2026-11-18 15:18:38 +01:00
e0496fa089
view update
2026-11-17 14:17:50 +01:00
3e565cf8c7
map change
2026-11-15 20:05:02 +01:00
319436a5f9
hughe update
2026-11-15 17:08:11 +01:00
7a69651b6d
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
819ee0a5c3
update images and audio
2026-11-13 01:02:55 +01:00
9bc39faffb
main init
2026-11-13 00:41:54 +01:00