Commit c81ca88c by BellCodeEditor

auto save

parent 2742489a
Showing with 14 additions and 0 deletions
......@@ -84,3 +84,16 @@ while True:
# 刷新画面
pygame.display.update()
FPS.tick(60)
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_x,(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