diff --git a/resources/data/map/littleGame_4.json b/resources/data/map/littleGame_4.json index 56b76c9..cf9ff5c 100644 --- a/resources/data/map/littleGame_4.json +++ b/resources/data/map/littleGame_4.json @@ -8,7 +8,7 @@ "BucketheadZombie", "SnorkelZombie", "Zomboni"], "inevitable_zombie_list":{"30":["BucketheadZombie"]}, - "card_pool":{ "LilyPad":200, + "card_pool":{ "LilyPad":300, "TorchWood":100, "TallNut":100, "TangleKlep":100, diff --git a/source/constants.py b/source/constants.py index 4f64aa7..06bf8d2 100755 --- a/source/constants.py +++ b/source/constants.py @@ -659,10 +659,10 @@ PLAY = 'play' # 记录本地存储文件初始值 INIT_USERDATA = { - LEVEL_NUM:1, - LITTLEGAME_NUM:1, - LEVEL_COMPLETIONS:0, - LITTLEGAME_COMPLETIONS:0, + LEVEL_NUM: 1, + LITTLEGAME_NUM: 1, + LEVEL_COMPLETIONS: 0, + LITTLEGAME_COMPLETIONS: 0, } # 无穷大常量 diff --git a/source/tool.py b/source/tool.py index af48212..3b06fc0 100755 --- a/source/tool.py +++ b/source/tool.py @@ -97,9 +97,9 @@ class Control(): elif event.type == pg.KEYDOWN: self.keys = pg.key.get_pressed() if event.key == pg.K_f: - SCREEN = pg.display.set_mode(c.SCREEN_SIZE, pg.HWSURFACE|pg.FULLSCREEN) + pg.display.set_mode(c.SCREEN_SIZE, pg.HWSURFACE|pg.FULLSCREEN) elif event.key == pg.K_u: - SCREEN = pg.display.set_mode(c.SCREEN_SIZE) + pg.display.set_mode(c.SCREEN_SIZE) elif event.type == pg.KEYUP: self.keys = pg.key.get_pressed() elif event.type == pg.MOUSEBUTTONDOWN: @@ -116,7 +116,6 @@ class Control(): self.update() pg.display.update() self.clock.tick(self.fps) - print('game over') def get_image(sheet, x, y, width, height, colorkey=c.BLACK, scale=1): image = pg.Surface([width, height])