Commit e98ec6e1 by BellCodeEditor

save project

parent 99a4f81d
Showing with 9 additions and 2 deletions
...@@ -5,4 +5,11 @@ pygame.init() ...@@ -5,4 +5,11 @@ pygame.init()
# 创建一个窗口 # 创建一个窗口
screen.pygame.display .set_mode((800,600)) screen.pygame.display .set_mode((800,600))
bac background=pygame.image('by.png')
\ No newline at end of file right=pygame.image.load('right.png')
food=pygame.image.load('apple。png')
pygame.display.update
screen.blit(background,(0,0))
screen.blit(right,(290,120))
screen.blit(food,(360,300))
\ 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