Private
Public Access
1
0

add new Gameplay func.
All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 1m59s

This commit is contained in:
Sebastian Unterschütz
2025-11-25 20:05:25 +01:00
parent 36a4847381
commit ddc861ceac
8 changed files with 80 additions and 19 deletions

View File

@@ -109,10 +109,12 @@ function drawGame() {
if(bootTicks > 0) statusText += `👟 ${(bootTicks/60).toFixed(1)}s`;
// Drift Anzeige
/*
if (obstacles.length > 0 && serverObstacles.length > 0) {
const drift = Math.abs(obstacles[0].x - serverObstacles[0].x).toFixed(1);
statusText += ` | Drift: ${drift}px`;
}
*/
ctx.fillText(statusText, 10, 40);
}