From 2073f561f9ae62cf63303ffbab7bb253a14d97de Mon Sep 17 00:00:00 2001 From: psmanam Date: Wed, 29 Nov 2023 22:58:22 -0500 Subject: [PATCH] Built_a_gun_shoot_game_updated --- hooman/demos/gun_shoot_game.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/hooman/demos/gun_shoot_game.py b/hooman/demos/gun_shoot_game.py index 6caf8fc..abf96a3 100644 --- a/hooman/demos/gun_shoot_game.py +++ b/hooman/demos/gun_shoot_game.py @@ -11,7 +11,7 @@ spaceship_width, spaceship_height = 50, 50 spaceship_x = (window_width - spaceship_width) // 2 spaceship_y = window_height - spaceship_height - 10 -spaceship_speed = 5 +spaceship_speed = 2 gun_height = 10 # Height of the 'gun' part at the bottom of the spaceship # Asteroids settings @@ -117,5 +117,3 @@ def check_collisions(): hapi.flip_display() hapi.event_loop() - -pygame.quit()