Ability to save added, collect 200 bone dust and the game saves. Load a game from the load option in the main menu.

This commit is contained in:
Storm Dragon
2025-06-05 02:56:06 -04:00
parent d1519b13e2
commit 614d78166f
7 changed files with 439 additions and 5 deletions

View File

@@ -132,4 +132,6 @@ def get_level_path(gameDir, levelNum):
Returns:
str: Full path to level JSON file
"""
if gameDir is None:
raise ValueError("gameDir cannot be None")
return os.path.join("levels", gameDir, f"{levelNum}.json")