diff --git a/resources/graphics/Screen/GameVictory.png b/resources/graphics/Screen/GameVictory.png index 4e0c60b..21fe1c3 100644 Binary files a/resources/graphics/Screen/GameVictory.png and b/resources/graphics/Screen/GameVictory.png differ diff --git a/source/component/plant.py b/source/component/plant.py index 1604e5c..909c387 100755 --- a/source/component/plant.py +++ b/source/component/plant.py @@ -936,7 +936,7 @@ class RedWallNutBowling(Plant): self.orig_y = y self.explode_timer = 0 self.explode_y_range = 1 - self.explode_x_range = c.GRID_X_SIZE + self.explode_x_range = c.GRID_X_SIZE * 1.5 self.init_rect = self.rect.copy() self.rotate_degree = 0 self.animate_interval = 200 diff --git a/source/state/level.py b/source/state/level.py index 14972f7..57b0b47 100644 --- a/source/state/level.py +++ b/source/state/level.py @@ -41,8 +41,6 @@ class Level(tool.State): f.close() except Exception as e: print("游戏结束") - f = open(file_path) - self.map_data = json.load(f) self.done = True self.next = c.MAIN_MENU pg.mixer.music.stop()