add new Gameplay func.
All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 1m59s
All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 1m59s
This commit is contained in:
@@ -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 = [];
|
||||
|
||||
Reference in New Issue
Block a user