私と友人のチームがこのゲームを作成し、現在 Linux で実行しようとしています。
Aptanaスタジオを使用してWindowsでpython 2.7とPygameを使用して開発しましたが、コードはそこで実行すると完全に機能します。
Linuxにダウンロードすると、ファイルが見つからないと言ってロードされませんでした。次に、WindowsでCMDを介して実行しようとしましたが、同じエラーが発生しました。
これまでのエラーは
Traceback (most recent call last):
File "/home/user/Desktop/Raspberroids/mainmenu.py", line 144, in <module>
showMenu()
File "/home/user/Desktop/Raspberroids/mainmenu.py", line 107, in showMenu
menu.init(['Start','About','Quit'], surface)
File "/home/user/Desktop/Raspberroids/mainmenu.py", line 52, in init
self.create_strukture()
File "/home/user/Desktop/Raspberroids/mainmenu.py", line 73, in create_strukture
self.font = pygame.font.Font(self.font_path, self.fontsize)
IOError: unable to read font filename
ソースは https://github.com/ryanteck/RasPiThon/tree/master/Raspberroids/Source%20Codeにあります。
2.7 と 2.6 の両方で発生します。
誰でも助けることができますか?