PyWeek - Playable (Kinda)
In the beginning, I had this great idea. Approximately 5% of this great idea has made it into the final game. I really really need to plan things out a bit better, because there are only so many hacks that can fit into one program before everything starts breaking.What I have now is a playable game. It is missing some graphics, but it going to be close to what I submit. Am I happy about it? I am happy about everything that I have learned from making this game. I am, however, a bit ashamed at how the game has turned out. I'll just have to take my lessons and do better next time.
— dummey on 2010/08/28 02:50 of THWGSIGWAS
Comments: (log in to comment)

By dlotts on 2010/08/30 05:21:
im having this weird problem with a existing mp3 file. It says its missing but it exists:###
$ ls -l data/easy_run.mp3
-rwxrwxrwx 1 root root 74624 2010-08-27 12:13 data/easy_run.mp3
$ python run_game.py
...
pyglet.resource.ResourceNotFoundException: Resource "data/easy_run.mp3" was not found on the path. Ensure that the filename has the correct captialisation.
###
I can even play this file.
What could it be?
dlotts
By cyhawk on 2010/08/30 17:03:
I haven't tried the game yet, but pyglet.resource looks in specific directories and here's the page describing how to properly set those: http://www.pyglet.org/doc/programming_guide/specifying_the_resource_path.html(It's easy to forget to call pyglet.resource.reindex() for example.)
By cyhawk on 2010/08/30 17:04:
Same link but clickable: http://www.pyglet.org/doc/programming_guide/specifying_the_resource_path.htmlBy Cosmologicon on 2010/09/04 03:08:
I'm getting the same error. I tried putting the following two lines before the line that causes the error, and no luck:pyglet.resource.path.append(".")
pyglet.resource.reindex()
Any other ideas?