
Lv.1
签名:期末考试来了,暂时不更新。
在 【Python作品分享】飞机大战 中回复
???运行不了
控制台
pygame 2.4.0 (SDL 2.26.4, Python 3.6.5)
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
File "C:\Users\052\AppData\Local\Temp\codemao-leDkR9/temp.py", line 26, in <module>
e1.append(pygame.image.load("images/enemy1.png"))
FileNotFoundError: No file 'images/enemy1.png' found in working directory 'C:\'.
程序运行结束
2023-05-24T13:37:27 点赞:0
在 飞机大战代码 中回复
要准备本地图片!!!不然会这样
控制台
pygame 2.4.0 (SDL 2.26.4, Python 3.6.5)
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
File "C:\Users\052\Desktop\新建 文本文档.py", line 16, in <module>
background = pygame.image.load("images/background.png").convert()
FileNotFoundError: No file 'images/background.png' found in working directory 'C:\Users\052\Desktop'.
程序运行结束
2023-05-27T11:54:23 点赞:0