All done but for the polishing...
We have a game; it has enough levels, it has enough challenge. It has pretty colours and interesting sound effects as planned.Tomorrow is polishing day. A day for experimental git branches, bug fixes and final testing on whatever windows machines we can find.
(log in to comment)
Traceback (most recent call last):
File "C:\Users\donal\Desktop\hextrap-day6\run_game.py", line 23, in <module>
pyglet.font.add_directory(os.path.join(here,"data/fonts"))
File "build/bdist.linux-i686/egg/pyglet/font/__init__.py", line 691, in add_directory
WindowsError: [Error 3] The system cannot find the path specified: 'C:\\Python26\\Lib\\idlelib\\data/fonts/*.*'
Windows 7, Python 2.6, Pyglet 1.1.4
I'm guessing that the "build/bdist.linux-i686/..." might have something to do with it.
Now I'm paranoid that my install is screwy...
Traceback (most recent call last):
File "C:\Users\Dummey\Downloads\hextrap-day6\hextrap-day6\run_game.py", line 23, in <module>
pyglet.font.add_directory(os.path.join(here,"data/fonts"))
File "C:\Python26\lib\site-packages\pyglet\font\__init__.py", line 691, in add_directory
for file in os.listdir(dir):
WindowsError: [Error 3] The system cannot find the path specified: 'C:\\Python26\\Lib\\idlelib\\data/fonts/*.*'
Win 7 64bit, 2.6, pyglet 1.14
scav:
I think if you calculate "here" this way it will work for everybody:
here = os.path.split(os.path.abspath(__file__))[0]