Commit ea526afb by BellCodeEditor

save project

parent ad6ba584
Showing with 65 additions and 0 deletions
while True:
for event in pygame.event.get
if event.type == locals.QUIT:
neit()
if event.type == locals.KEYDOWN
if event.key == "runing"
if event.key == locals.K_SPACE
jumpstate = "up"
if jumpstate == "up"
if t > 0:
y -= t
t -= 2
else:
jumpstate = "down"
if jumpstate == "down"
if t <= 30:
y += t
t += 2
wukong = hero[index]
if jumpstate == "runing"
index == 5:
index = 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