Commit 76601ee1 by BellCodeEditor

save project

parent 7099c6a7
Showing with 2 additions and 2 deletions
......@@ -71,7 +71,7 @@ while True:
if jumpState == "runing":
if event.key == locals.K_UP:
jumpState = "up"
b = 8 + score//3
# 悟空造型
wukong = Player(hero[index])
......@@ -127,7 +127,7 @@ while True:
screen.blit(gameover, (400, 200))
gamestate = False
else:
if (sprite.rect.x + sprite.rect.width) < wukong.rect.x:
if sprite.rect.x + sprite.rect.width < wukong.rect.x:
score += sprite.score
sprite.score = 0
......
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