pygame 0.5

This commit is contained in:
ada-dmitry
2024-02-26 15:15:11 +03:00
parent 2b5c75c124
commit eba4646825
15 changed files with 162 additions and 87 deletions
+13
View File
@@ -0,0 +1,13 @@
class Settings():
'''Класс для хранения настроек Alien Invasion'''
def __init__(self):
self.screen_width = 800
self.screen_height = 800
self.bg_color = (220, 220, 220) # RGB
self.ship_speed = 0.5
self.bullet_speed = 1
self.bullet_width = 3
self.bullet_height = 15
self.bullet_color = (60, 60, 60)
self.bullet_allowed = 3