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

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

No files matched your search

+1 -1
View File
@@ -25,7 +25,7 @@ function updateGameLogic() {
if (player.y + originalHeight >= GROUND_Y) {
player.y = GROUND_Y - originalHeight; player.vy = 0; player.grounded = true;
} else { player.grounded = false; }
// 3. Obstacles
let nextObstacles = [];