[code=python]
pygame 1.9.6
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
File "D:\jj\超级玛丽\超级玛丽\超级玛丽实.py", line 2, in <module>
from player import *#导入所有本模块的内容
File "D:\jj\超级玛丽\超级玛丽\player.py", line 3, in <module>
class Player(object):
File "D:\jj\超级玛丽\超级玛丽\player.py", line 7, in Player
walk_left.append(pygame.image.load("素材/人物/marioL/" + str(pic_num) + ".png
"))
pygame.error: File is not a Windows BMP file
[/code]
pygame 1.9.6
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
File "D:\jj\超级玛丽\超级玛丽\超级玛丽实.py", line 2, in <module>
from player import *#导入所有本模块的内容
File "D:\jj\超级玛丽\超级玛丽\player.py", line 3, in <module>
class Player(object):
File "D:\jj\超级玛丽\超级玛丽\player.py", line 7, in Player
walk_left.append(pygame.image.load("素材/人物/marioL/" + str(pic_num) + ".png
"))
pygame.error: File is not a Windows BMP file
怎么办