Commit 37ad1dff by BellCodeEditor

save project

parent 812a573c
Showing with 11 additions and 2 deletions
......@@ -4,4 +4,13 @@ import pygame
pygame.init()
# 创
screen=pygame.display.set_mode((600,480))
\ No newline at end of file
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