]> Skullheadx's Git Forge - Pygame-Jam.git/commitdiff
Made it so that you can change the level by changing the level variable
authorlbcmk <30442978+lbcmk@users.noreply.github.com>
Thu, 7 Jul 2022 17:11:51 +0000 (13:11 -0400)
committerlbcmk <30442978+lbcmk@users.noreply.github.com>
Thu, 7 Jul 2022 17:11:51 +0000 (13:11 -0400)
main.py

diff --git a/main.py b/main.py
index 507912d5d123b62168b3c34b7af8d2a8a71ba701..04b37f7bc2bc8ecf50b2b30faca8ace8537f654d 100644 (file)
--- 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):