添加雨滴特效,已有基本效果,待完善

This commit is contained in:
chicrobot committed 2026-07-27 02:59:26 +08:00
1 parent 5ca95505f2
commit 0148138147
3 files changed
+80 -5

No files matched your search

+4 -1
View File
@@ -13,8 +13,11 @@ class Game:
size = (GameConfig.window_x, GameConfig.window_y)
self.screen = pygame.display.set_mode(size, pygame.NOFRAME)
# 设置计时器
self.clock = pygame.time.Clock()
# 当前场景
self.scene = MainMenuScene(self.screen)
self.scene = MainMenuScene(self.screen, self.clock)
# 运行循环
self.running = True