diff --git a/source/constants.py b/source/constants.py index 5bd9b05..0c30a19 100755 --- a/source/constants.py +++ b/source/constants.py @@ -58,6 +58,7 @@ RED = (255, 0, 0) PURPLE = (255, 0, 255) GOLD = (255, 215, 0) GREEN = ( 0, 255, 0) +YELLOWGREEN = ( 55, 200, 0) # 退出游戏按钮 EXIT = 'exit' diff --git a/source/state/level.py b/source/state/level.py index d35fbc0..5865aca 100644 --- a/source/state/level.py +++ b/source/state/level.py @@ -1475,7 +1475,7 @@ class Level(tool.State): # 常数为预计值 filledBarRect = (self.level_progress_zombie_head_image_rect.x + 3, self.level_progress_bar_image_rect.y + 6, int((150 * self.waveNum) / (self.map_data[c.NUM_FLAGS] * 10)) + 5, 9) # 画填充的进度条 - pg.draw.rect(surface, c.GREEN, filledBarRect) + pg.draw.rect(surface, c.YELLOWGREEN, filledBarRect) # 画旗帜 for i in range(self.numFlags):