Commit 338b3347 by BellCodeEditor

auto save

parent d5739bd2
Showing with 2 additions and 2 deletions
...@@ -5,9 +5,9 @@ from pygame import locals ...@@ -5,9 +5,9 @@ from pygame import locals
pygame.init() pygame.init()
# 创建一个窗口 # 创建一个窗口
screen = pygame.display.set_mode((660, 480))
FPSCLOCK = pygame.time.Clock() # pygame时钟,控制游戏速度(帧数)
FPSCLOCK = pygame.time.Clock() # 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') # 头 朝右
......
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