Make sure everything is pushed.

This commit is contained in:
Storm Dragon
2025-02-01 13:16:50 -05:00
parent 3836f4a2c9
commit ec3937f2d5

View File

@@ -45,9 +45,15 @@ class WickedQuest:
player.xPos += currentSpeed
player.facingRight = True
if keys[pygame.K_c]:
speak(f"{player.get_coins()} coins")
if keys[pygame.K_h]:
speak(f"{player.get_health()} HP")
if keys[pygame.K_l]:
speak(f"{player.get_lives()} lives")
if keys[pygame.K_f]: # Throw projectile
self.currentLevel.throw_projectile()
@@ -71,6 +77,7 @@ class WickedQuest:
# Check if jump should end
if player.isJumping and currentTime - player.jumpStartTime >= player.jumpDuration:
player.isJumping = False
self.sounds['footstep'].play()
# Reset step distance tracking after landing
player.distanceSinceLastStep = 0