wisty

Solo entry. My goal is to finish, this time.

Awards

Give this entry an award

Scores

Ratings (show detail)

Overall: 2.6
Fun: 2.1
Production: 2.6
Innovation: 3.1

28% respondents marked the game as not working.
Respondents: 15

Files

File Uploader Date
Antageddon.zipfinal
Antageddon.
wisty 2011/09/18 00:23

Diary Entries

Pyglet resources not loading

pyglet.resource.ResourceNotFoundException: Resource "data/queen.png" was not found on the path.  Ensure that the filename has the correct captialisation

Cosmo and Rectifier pointed out a bug:

pyglet.resource has a cache. This cache gets invalidated by the previous games you played (but didn't happen on my machine, as I played my game first).

Cosmo fixed it by adding (at the top of run_game.py) :

    pyglet.resource.path = ['data']
    pyglet.resource.reindex()

    and removing "data/" from all the resouce loads.

It might be possible to just do:

    pyglet.resource.path = ['.']
    pyglet.resource.reindex()


 

4 comments