增大睡莲权重
This commit is contained in:
parent
793cbea586
commit
88d2e734a4
@ -8,7 +8,7 @@
|
|||||||
"BucketheadZombie", "SnorkelZombie",
|
"BucketheadZombie", "SnorkelZombie",
|
||||||
"Zomboni"],
|
"Zomboni"],
|
||||||
"inevitable_zombie_list":{"30":["BucketheadZombie"]},
|
"inevitable_zombie_list":{"30":["BucketheadZombie"]},
|
||||||
"card_pool":{ "LilyPad":200,
|
"card_pool":{ "LilyPad":300,
|
||||||
"TorchWood":100,
|
"TorchWood":100,
|
||||||
"TallNut":100,
|
"TallNut":100,
|
||||||
"TangleKlep":100,
|
"TangleKlep":100,
|
||||||
|
|||||||
@ -659,10 +659,10 @@ PLAY = 'play'
|
|||||||
|
|
||||||
# 记录本地存储文件初始值
|
# 记录本地存储文件初始值
|
||||||
INIT_USERDATA = {
|
INIT_USERDATA = {
|
||||||
LEVEL_NUM:1,
|
LEVEL_NUM: 1,
|
||||||
LITTLEGAME_NUM:1,
|
LITTLEGAME_NUM: 1,
|
||||||
LEVEL_COMPLETIONS:0,
|
LEVEL_COMPLETIONS: 0,
|
||||||
LITTLEGAME_COMPLETIONS:0,
|
LITTLEGAME_COMPLETIONS: 0,
|
||||||
}
|
}
|
||||||
|
|
||||||
# 无穷大常量
|
# 无穷大常量
|
||||||
|
|||||||
@ -97,9 +97,9 @@ class Control():
|
|||||||
elif event.type == pg.KEYDOWN:
|
elif event.type == pg.KEYDOWN:
|
||||||
self.keys = pg.key.get_pressed()
|
self.keys = pg.key.get_pressed()
|
||||||
if event.key == pg.K_f:
|
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:
|
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:
|
elif event.type == pg.KEYUP:
|
||||||
self.keys = pg.key.get_pressed()
|
self.keys = pg.key.get_pressed()
|
||||||
elif event.type == pg.MOUSEBUTTONDOWN:
|
elif event.type == pg.MOUSEBUTTONDOWN:
|
||||||
@ -116,7 +116,6 @@ class Control():
|
|||||||
self.update()
|
self.update()
|
||||||
pg.display.update()
|
pg.display.update()
|
||||||
self.clock.tick(self.fps)
|
self.clock.tick(self.fps)
|
||||||
print('game over')
|
|
||||||
|
|
||||||
def get_image(sheet, x, y, width, height, colorkey=c.BLACK, scale=1):
|
def get_image(sheet, x, y, width, height, colorkey=c.BLACK, scale=1):
|
||||||
image = pg.Surface([width, height])
|
image = pg.Surface([width, height])
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user