上传文件至 ''

This commit is contained in:
206530218 2021-06-17 10:27:18 +08:00
parent 9349b0b8ab
commit 6b2a91708a
1 changed files with 9 additions and 0 deletions

9
settings.py Normal file
View File

@ -0,0 +1,9 @@
class Settings():
def __init__(self):
'''初始化游戏的静态设置'''
# 飞船设置
self.screen_width = 1280
self.screen_height = 720
self.bg_color = (230,230,230,255)
self.ship_speed_factor = 1.5
self.ship_limit = 3