Commit 86f01323 by BellCodeEditor

save project

parent 2742489a
Showing with 3 additions and 4 deletions
......@@ -27,12 +27,11 @@ hero = [pygame.image.load('hero1.png'),
pygame.image.load('hero5.png')]
lu_x=0
shan_x=0
index = 0
index = 0
y = 400
jumpState = "runing"
t = 30
aa=Block(bush,cacti,stone)
while True:
for event in pygame.event.get():
if event.type == locals.QUIT:
......@@ -83,4 +82,4 @@ while True:
screen.blit(aa.image, (aa.rect.x, aa.rect.y))
# 刷新画面
pygame.display.update()
FPS.tick(60)
\ No newline at end of file
FPS.tick(50)
\ No newline at end of file
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