Private
Public Access
1
0

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

This commit is contained in:
Sebastian Unterschütz
2025-11-26 12:22:31 +01:00
parent 95119cdf98
commit 6fdad68a9b
2 changed files with 87 additions and 25 deletions

View File

@@ -7,7 +7,7 @@ function updateGameLogic() {
// 2. Geschwindigkeit (Basiert auf ZEIT/Ticks, nicht Score!)
// Formel: Start bei 5, erhöht sich alle 3000 Ticks (ca. 50 Sek) um 0.5
let currentSpeed = 5 + (currentTick / 3000.0) * 0.5;
if (currentSpeed > 12.0) currentSpeed = 12.0; // Max Speed Cap
if (currentSpeed > 20.0) currentSpeed = 20.0; // Max Speed Cap
// 3. Spieler Physik & Größe
const originalHeight = 50;