Private
Public Access
1
0

bug fixes
All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 2m25s

This commit is contained in:
Sebastian Unterschütz
2025-11-25 21:31:04 +01:00
parent ddc861ceac
commit 93491bd794
8 changed files with 281 additions and 78 deletions

View File

@@ -1,7 +1,7 @@
function updateGameLogic() {
// 1. Speed Berechnung (Sync mit Server!)
let currentSpeed = BASE_SPEED + (score / 500.0) * 0.5;
if (currentSpeed > 12.0) currentSpeed = 12.0;
let currentSpeed = BASE_SPEED + (score / 750.0) * 0.5;
if (currentSpeed > 14.0) currentSpeed = 14.0;
// 2. Input & Sprung
if (isCrouching) inputLog.push({ t: currentTick - lastSentTick, act: "DUCK" });