Commit a154cbdb by BellCodeEditor

save project

parent 270d0580
Showing with 3 additions and 3 deletions
......@@ -30,18 +30,18 @@ while True:
index+=1# 将背景图画上去
if index==5:
index=0
if jump=="up":
if j=="up":
if y>150:
y-=5
screen.blit(wukong, (150, y))
else:
j="down":
j="down"
if j=="down":
if y<400:
y+=5
screen.blit(wukong, (150, y))
else:
jump="rinning":
jump="rinning"
screen.blit(background, (0, 0))
screen.blit(road, (0, 500))
screen.blit(wukong, (150, y))
......
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