Commit e33ce1bb by BellCodeEditor

save project

parent 7742f2f7
Showing with 1 additions and 1 deletions
...@@ -5,7 +5,7 @@ from pygame import locals ...@@ -5,7 +5,7 @@ from pygame import locals
pygame.init() pygame.init()
x,y=240,150 x,y=240,150
# 创建一个窗口 # 创建一个窗口
screen = pygame.display.set_mode((710, 540)) screen = pygame.display.set_mode((1200, 600))
b=[(300,150),(270,150),(x,y)] b=[(300,150),(270,150),(x,y)]
# 背景 # 背景
background = pygame.image.load('bg.png') background = pygame.image.load('bg.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