Finally remembered to remove some debug statements. Added a finish level fanfare for the skeleton, complete with wicked laugh. Work on level 8, it used to be a tiny level, now it's better and has a ghost boss.

This commit is contained in:
Storm Dragon
2025-02-14 03:12:05 -05:00
parent 5953369440
commit c17d19fb6b
6 changed files with 94 additions and 8 deletions

View File

@@ -28,6 +28,7 @@ class Level:
self.rightBoundary = levelData["boundaries"]["right"]
self.isLocked = levelData.get("locked", False) # Default to False if not specified
self.levelId = levelData["level_id"]
self.levelName = levelData.get("name", "Unnamed Level")
# Get footstep sound for this level, default to 'footstep' if not specified
self.footstepSound = levelData.get("footstep_sound", "footstep")