Commit 50e8c482 by BellCodeEditor

save project

parent 38abb14c
Showing with 6 additions and 1 deletions
...@@ -17,7 +17,12 @@ hero = [pygame.image.load('hero1.png'), ...@@ -17,7 +17,12 @@ hero = [pygame.image.load('hero1.png'),
pygame.image.load('hero4.png'), pygame.image.load('hero4.png'),
pygame.image.load('hero5.png')] pygame.image.load('hero5.png')]
index = 0 index = 0
y=400
jumpState = "runing"
t=30
object=range.choice([bush,stone,cacti])
rect.x=1000
rect.y=500 - rect.height
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:
......
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