Commit 27757a4d by BellCodeEditor

save project

parent 07eb3297
Showing with 11 additions and 2 deletions
...@@ -4,4 +4,13 @@ import pygame ...@@ -4,4 +4,13 @@ import pygame
pygame.init() pygame.init()
# 创建一个窗口 # 创建一个窗口
screen=pygame.display.set_mode((660,480)) screen=pygame.display.set_mode((660,480))
\ No newline at end of file a=pygame.image.load("apple.png")
b=pygame.image.load("bg.png")
c=pygame.image.load("body.png")
d=pygame.image.load("left.png")
e=pygame.image.load("right.png")
f=pygame.image.load("up.png")
screen.blit(a,(60,60))
screen.blit(e,(240,240))
screen.blit(b,(0,0))
\ 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