From ec3937f2d54b22deb0db994b7bef7151c04cd05d Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sat, 1 Feb 2025 13:16:50 -0500 Subject: [PATCH] Make sure everything is pushed. --- wicked_quest.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/wicked_quest.py b/wicked_quest.py index 91a4452..b987606 100644 --- a/wicked_quest.py +++ b/wicked_quest.py @@ -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