From: lbcmk <30442978+lbcmk@users.noreply.github.com> Date: Thu, 7 Jul 2022 17:11:51 +0000 (-0400) Subject: Made it so that you can change the level by changing the level variable X-Git-Url: http://git.skullheadx.com/index.css?a=commitdiff_plain;h=a4c06ceffca9f81e4b6e262fe60770f7b3ca9c8f;p=Pygame-Jam.git Made it so that you can change the level by changing the level variable --- diff --git a/main.py b/main.py index 507912d..04b37f7 100644 --- a/main.py +++ b/main.py @@ -6,11 +6,11 @@ from MainMenu import Menu delta = 1000//fps is_running = True -level = 1 -old_level = level -# scene = Menu() +scene = Menu() +old_level = 0 -scene = Game() + +level = 0 while is_running: if pg.event.peek(pg.QUIT):