Commit 37ad1dff by BellCodeEditor

save project

parent 812a573c
Showing with 10 additions and 0 deletions
......@@ -5,3 +5,12 @@ pygame.init()
# 创
screen=pygame.display.set_mode((600,480))
while True:
for event in pygame.event.get():
print(event)
if event.type==locals.QUIT:
exit()
screen.blit(backgound,(0,0))
screen.blit(right,(24,120))
screen.blit(food,(360,300))
pygame.dispiay.update()
\ 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