Commit 199b1165 by BellCodeEditor

save project

parent 623a2990
Showing with 2 additions and 2 deletions
......@@ -52,7 +52,7 @@ time = 0
gamestate = True
block_list =pygame.sprite.Group()
score=0
speed=100
speed=10
old_score=0
score_studio=pygame.mixer.Sound("score.wav")
while True:
......@@ -64,7 +64,7 @@ while True:
if jumpState == "runing":
if event.key == locals.K_SPACE:
jumpState = "up"
speed=8+score//3
speed=10+score//3
# 悟空造型
wukong = Player(hero[index])
if jumpState == "runing": # 跑步状态下
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment