Commit 96c375d1 by BellCodeEditor

save project

parent c9dee20e
Showing with 5 additions and 0 deletions
...@@ -21,6 +21,8 @@ index = 0 ...@@ -21,6 +21,8 @@ index = 0
y = 400 y = 400
t = 20 t = 20
k = 1 k = 1
stoneX=1000
rest=0
pygame.display.set_caption('超级无敌暴龙贼TMNB的帅B跑酷') pygame.display.set_caption('超级无敌暴龙贼TMNB的帅B跑酷')
while True: while True:
for event in pygame.event.get(): for event in pygame.event.get():
...@@ -60,6 +62,8 @@ while True: ...@@ -60,6 +62,8 @@ while True:
screen.blit(background, (0, 0)) screen.blit(background, (0, 0))
screen.blit(road, (0, 500)) screen.blit(road, (0, 500))
screen.blit(wukong, (150, y)) screen.blit(wukong, (150, y))
stoneX-=1
screen.blit(stone,(stoneX,y))
# 刷新画面 # 刷新画面
pygame.display.update() pygame.display.update()
FPS.tick(60) FPS.tick(60)
\ 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