Skip to content

Commit 68e8d78

Browse files
committed
change 1.1.jpg, convert -resize 1280x800! 1.jpg 1.1.jpg
1 parent a493024 commit 68e8d78

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

python_game/1.hello_world/1.1.jpg

112 KB
Loading

python_game/1.hello_world/hello_world.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
'''
55
#!/usr/bin/env python
66

7-
background_image_filename = '1.jpg'
7+
background_image_filename = '1.1.jpg'
88
mouse_image_filename = '2.jpg'
99
#制定图像文件名称
1010

@@ -16,7 +16,7 @@
1616
pygame.init()
1717
#初始化pygame、
1818

19-
screen = pygame.display.set_mode((640,480),0,32)
19+
screen = pygame.display.set_mode((1280,800),RESIZABLE,32)
2020
#创建一个窗口,并且制定大小。
2121

2222
pygame.display.set_caption("hello, world! ly first game!")

0 commit comments

Comments
 (0)