更新 'settings.py'

This commit is contained in:
小谢 2021-06-22 20:51:29 +08:00
parent 0b849b9eab
commit 3cfb6d3b71
1 changed files with 9 additions and 1 deletions

View File

@ -33,3 +33,11 @@ def initialize_dynamic_settings(self):
self.fleet_direction = 1
#计分
self.alien_points = 50
def increase_speed(self):
# """提高速度设置和外星人分数"""
self.ship_speed *= self.speedup_scale
self.bullet_speed *= self.speedup_scale
self.alien_speed *= self.speedup_scale
self.alien_points = int(self.alien_points * self.score_scale)
print(self.alien_points)