Commit 78e933af by BellCodeEditor

save project

parent 63360b82
1.gif

201 KB

2.jpg

1.26 KB

3.jpg

71.4 KB

......@@ -3,10 +3,21 @@ from pygame import locals
# 初始化pygame,为使用pygame做准备
pygame.init()
a1=pygame.image.load("3.jpg")
a2=pygame.image.load("杰哥.jpg")
a3=pygame.image.load("2.jpg")
a4=pygame.image.load("杰哥.jpg")
# 创建一个窗口
a=pygame.display.set_mode((1366,768))
a=pygame.display.set_mode((800,600))
while True:
for event in pygame.event.get():
if event.type == locals.QUIT:
exec()
exit()
a.blit(a1,(0,0))
a.blit(a2,(120,150))
a.blit(a3,(180,210))
a.blit(a4,(90,150))
a.blit(a4,(60,150))
a.blit(a4,(60,180))
pygame.display.update()
杰哥.jpg

1.21 KB

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