Commit c47b69ce by BellCodeEditor

save project

parent b6978bbd
Showing with 4 additions and 3 deletions
......@@ -74,8 +74,8 @@ while True:
if jumpState == "runing":
if event.key == locals.K_SPACE:
jumpState = "up"
# if event.key == locals.K_D:
# die = not die
if event.key == locals.K_d:
die = not die
# 悟空造型
wukong = Player(hero[index])
......@@ -142,7 +142,8 @@ while True:
old_score = score
scoreSurf = basic_font.render("分数:"+str(score),True,(255,0,0))
screen.blit(scoreSurf,(850,20))
# dieXX = basic_font.render("是否死亡"+str(die),True,(255,0,0))
dieXX = basic_font.render("是否死亡"+str(die),True,(255,0,0))
screen.blit(dieXX,(10,20))
scoreSurf = basic_font.render("第一名:"+str(one),True,(255,0,0))
screen.blit(scoreSurf,(850,40))
scoreSurf = basic_font.render("第二名:"+str(one),True,(255,0,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