feat: Doing more polishing (M8b)

This commit is contained in:
gauvainboiche
2026-10-25 18:50:17 +01:00
parent c2103c32e7
commit c55e5a2484
34 changed files with 1605 additions and 106 deletions
+3
View File
@@ -0,0 +1,3 @@
// A heartbeat for the game loop. Browsers stop animation frames in a background tab and slow
// down its timers, but a worker's timer keeps going, so the game can keep running while hidden.
setInterval(() => postMessage(0), 100);