From d8ed9dee2427e67df7359a1a9eeec1c427b90131 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20W=C3=A4chter?= Date: Sat, 25 Mar 2023 18:22:37 +0100 Subject: [PATCH] made physics demo more satisfying --- project/main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/project/main.py b/project/main.py index 4caa1b5..863b390 100644 --- a/project/main.py +++ b/project/main.py @@ -36,9 +36,9 @@ elif what_to_run == 'physics': pygame.init() screen = pygame.display.set_mode((600, 500)) - pygame.display.set_caption("PE GAME") + pygame.display.set_caption("PM GAME") clock = pygame.time.Clock() - frame_rate = 120 + frame_rate = 60 spritesheet_manager = SpritesheetManager("data/sprites", "data/sprites/sprites.json") @@ -50,7 +50,7 @@ elif what_to_run == 'physics': test_3_sprite = DynamicSprite(spritesheet_manager.get_sheet("test_1")) test_3_sprite.position_scale = PositionScale((130, 100), (1, 1)) - test_3_sprite.motion = (-9, -12) + test_3_sprite.motion = (-9, -10) physics_handler.add_sprite(test_3_sprite) test_2_sprite = StaticSprite(spritesheet_manager.get_sheet("test_1"))