Commit a2c74e13 by BellCodeEditor

save project

parent 95645592
Showing with 4 additions and 4 deletions
...@@ -25,13 +25,13 @@ hero = [pygame.image.load('hero1.png'), ...@@ -25,13 +25,13 @@ 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')]
lu_x=0 index = 0
shan_x=0
index = 0
y = 400 y = 400
jumpState = "runing" jumpState = "runing"
t = 30 t = 30
aa=Block(bush,cacti,stone) bg_x = 0
road_x = 0
obstacle=Block(bush,cacti,stone)
while True: while True:
for event in pygame.event.get(): for event in pygame.event.get():
......
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