made physics demo more satisfying

main
Jonas Wächter 2023-03-25 18:22:37 +01:00
parent 88b3c4724c
commit d8ed9dee24
1 changed files with 3 additions and 3 deletions

View File

@ -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"))