Commit 86b6097e by BellCodeEditor

auto save

parent 2742489a
Showing with 18 additions and 2 deletions
......@@ -83,4 +83,20 @@ 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(30)
bg_x=0
road_x=0
bg_x-=1
if bg_x<=-1000:
bg_x=0
screen.blit(background,(bg_x,0))
road_x-=8
if road_x<=-1000:
road_x=0
screen.blit(road,(road_x,500))
screen.blit(wukong,(150,y))
\ 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