Commit 5614d68e by BellCodeEditor

save project

parent e35c6588
Showing with 2 additions and 2 deletions
import pygame import pygame
from pygame import locals from pygame import locals
# 初始化pygame,为使用pygame做准备
pygame.init() pygame.init()
# 初始化pygame,为使用pygame做准备
screen=pygame.display.set_mode((660,480))
background=pygame.image.load("bg.png") background=pygame.image.load("bg.png")
right=pygame.image.load("right.png") right=pygame.image.load("right.png")
body=pygame.image.load("body.png") body=pygame.image.load("body.png")
screen=pygame.display.set_mode((660,480))
apple=pygame.image.load("apple.png") apple=pygame.image.load("apple.png")
while True: while True:
......
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