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'), ...@@ -17,10 +17,11 @@ hero = [pygame.image.load('hero1.png'),
pygame.image.load('hero3.png'), pygame.image.load('hero3.png'),
pygame.image.load('hero4.png'), pygame.image.load('hero4.png'),
pygame.image.load('hero5.png')] pygame.image.load('hero5.png')]
y=400
index = 0 index = 0
y=400
z='r' z='r'
t=30 t=30
while True: while True:
for event in pygame.event.get(): for event in pygame.event.get():
if event.type == locals.QUIT: if event.type == locals.QUIT:
...@@ -50,8 +51,7 @@ while True: ...@@ -50,8 +51,7 @@ while True:
y+=t y+=t
t+=2 t+=2
else: else:
z='d' z='r'
t=30 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