Commit b5961cd7 by BellCodeEditor

save project

parent 6f802f56
Showing with 6 additions and 0 deletions
...@@ -2,3 +2,8 @@ import pygame ...@@ -2,3 +2,8 @@ import pygame
from pygame import locals from pygame import locals
# 初始化pygame,为使用pygame做准备 # 初始化pygame,为使用pygame做准备
pygame.init() pygame.init()
a1=pygame.image.load('bg.png')
a2=pygame.image.load("right.png")
a3=pygame.image.load('apple.png')
# 创建一个窗口
screen = pygame.display.set_mode((660,400))
\ 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