Skip to content

Commit

Permalink
Built_a_gun_shoot_game_updated
Browse files Browse the repository at this point in the history
  • Loading branch information
psmanam authored and Abdur-rahmaanJ committed Nov 30, 2023
1 parent 498b657 commit 2073f56
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions hooman/demos/gun_shoot_game.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -117,5 +117,3 @@ def check_collisions():

hapi.flip_display()
hapi.event_loop()

pygame.quit()

0 comments on commit 2073f56

Please sign in to comment.