Updated libstormgames. Added end of skull storm sound. Fixed inconsistancy with escape key in survival as apposed to story mode.

This commit is contained in:
Storm Dragon
2025-09-17 15:34:01 -04:00
parent bd298ab17e
commit 5826aa4580
4 changed files with 9 additions and 2 deletions

View File

@@ -230,7 +230,7 @@ class WickedQuest:
speak(f"{player.get_health()} health of {player.get_max_health()}")
if keys[pygame.K_i]:
if self.currentLevel.levelId == 999:
speak(f"Wave {self.survivalWave}. {player.get_health()} health of {player.get_max_health()}. {int(self.currentLevel.levelScore)} points on this level so far. {player.get_lives()} lives remaining.")
speak(f"Wave {self.survivalWave}. {player.get_health()} health of {player.get_max_health()}. {int(self.currentLevel.levelScore)} points on this wave so far. {player.get_lives()} lives remaining.")
else:
speak(f"Level {self.currentLevel.levelId}, {self.currentLevel.levelName}. {player.get_health()} health of {player.get_max_health()}. {int(self.currentLevel.levelScore)} points on this level so far. {player.get_lives()} lives remaining.")
if keys[pygame.K_l]:
@@ -384,6 +384,9 @@ class WickedQuest:
pygame.mixer.music.stop()
except:
pass
# Calculate total time and show game over sequence
totalTime = pygame.time.get_ticks() - self.gameStartTime
self.display_game_over(totalTime)
return
elif event.key in [pygame.K_CAPSLOCK, pygame.K_TAB]:
self.runLock = not self.runLock