Commit 78d70a1a by BellCodeEditor

save project

parent 1b2f6f8a
Showing with 2 additions and 0 deletions
......@@ -28,6 +28,8 @@ while True:
if center[1]>1:
center[1]-=1
if event.key == locals.K_DOWN:
if center[0]>25:
center[0]+=1
# 将背景图画上去
screen.blit(background,(0,0))
pygame.draw.rect(screen,(255,0,0),(120,20,20,20),0)
......
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