first and final
the result of my two days week work is here
no sound, no levels...
The goal is guide the clouds to the exit.
Beware the unhappy dark man.
The clouds are attracted to the yellow bearded man and you move him by clicking.
good gaming!
(log in to comment)
Comments
The game runs in my machine, win xp, pyglet 1.1.4
Are you running from an OS console at the wobblyland directory ?
pyglet.resource.path = ['imgs']
pyglet.resource.reindex()
at the top and then remove imgs/ from all the paths using find/replace.
Cosmologicon on 2010/04/10 03:12:
Anyone know why this isn't working for me? The image file seems to be in the right place. I seem to recall someone fixing a similar problem with another pyglet game, but I don't remember which one.Traceback (most recent call last):
File "wobblyland.py", line 168, in <module>
bg = BGLayer (swarm)
File "wobblyland.py", line 35, in __init__
bg = Sprite("imgs/paper_bg1_f.jpg")
File "PyWeek-10-finals/plaft/wobblyland/cocos/sprite.py", line 94, in __init__
image = pyglet.resource.image(image)
File "/usr/lib/pymodules/python2.6/pyglet/resource.py", line 481, in image
identity = self._cached_images[name] = self._alloc_image(name)
File "/usr/lib/pymodules/python2.6/pyglet/resource.py", line 425, in _alloc_image
file = self.file(name)
File "/usr/lib/pymodules/python2.6/pyglet/resource.py", line 383, in file
raise ResourceNotFoundException(name)
pyglet.resource.ResourceNotFoundException: Resource "imgs/paper_bg1_f.jpg" was not found on the path. Ensure that the filename has the correct captialisation.