diff --git a/src/engine/plugins/pygame.py b/src/engine/plugins/pygame.py index 4a6ffd7..b71626c 100644 --- a/src/engine/plugins/pygame.py +++ b/src/engine/plugins/pygame.py @@ -131,8 +131,8 @@ class Display: Ressource qui represente la fenetre du jeu. """ - WIDTH = 1080.0 - HEIGHT = 810.0 + WIDTH = 1440.0 + HEIGHT = 1080.0 RATIO = WIDTH / HEIGHT INVERT_RATIO = HEIGHT / WIDTH diff --git a/src/main.py b/src/main.py index 92ad032..41c5b97 100644 --- a/src/main.py +++ b/src/main.py @@ -50,14 +50,16 @@ def spawn_sprites(world: World) -> None: ), ) - for i in range(3): + for i in range(4): if i == 0: file_name = "button_classique" elif i == 1: file_name = "button_histoire" - else: + elif i == 2: file_name = "button_tricheur" - new_button(Vec2(Display.WIDTH / 3 * i, 20), file_name) + else: + file_name = "button_menteur" + new_button(Vec2(Display.WIDTH / 4 * i, 20), file_name) # On ajoutant la tache