Commit 01aa5f30 by BellCodeEditor

save project

parent 48dd83af
Showing with 3 additions and 3 deletions
......@@ -17,10 +17,11 @@ hero = [pygame.image.load('hero1.png'),
pygame.image.load('hero3.png'),
pygame.image.load('hero4.png'),
pygame.image.load('hero5.png')]
y=400
index = 0
y=400
z='r'
t=30
while True:
for event in pygame.event.get():
if event.type == locals.QUIT:
......@@ -50,8 +51,7 @@ while True:
y+=t
t+=2
else:
z='d'
z='r'
t=30
# 将背景图画上去
......
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