From f7e6c1fb3eae9a37b4f4bce137bdd21e2b9d7ec4 Mon Sep 17 00:00:00 2001 From: foamyguy Date: Fri, 11 Apr 2025 13:18:15 -0500 Subject: [PATCH] a few more comments --- Metro/Metro_RP2350_Match3/match3_game/code.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Metro/Metro_RP2350_Match3/match3_game/code.py b/Metro/Metro_RP2350_Match3/match3_game/code.py index 3b694d1a5..3dd855aaf 100644 --- a/Metro/Metro_RP2350_Match3/match3_game/code.py +++ b/Metro/Metro_RP2350_Match3/match3_game/code.py @@ -49,6 +49,7 @@ if display.width > 360: save_to = None game_state = None try: + # check for autosave file on CPSAVES drive if AUTOSAVE_FILENAME in os.listdir("/saves/"): savegame_buffer = io.BytesIO() with open(f"/saves/{AUTOSAVE_FILENAME}", "rb") as f: @@ -113,7 +114,7 @@ bg_group = Group(scale=10) bg_group.append(bg_tg) main_group.append(bg_group) - +# create Game helper object match3_game = Match3Game( game_state=game_state, display_size=(display.width // scale_factor, display.height // scale_factor),