PyWeek - Post-compo release
I've just uploaded a new release with a few tweaks:- In-game instructions screen
- Fixes to collision detection
- "Normal" game difficulty which lies between easy and hard.
— richard on 2006/09/24 00:12 of Bouncy the Hungry Rabbit
Comments: (log in to comment)

By warlord on 2006/09/24 14:33:
The previous version worked fine for me, but now I just get this trackback when I run the game:Traceback (most recent call last): File "game.py", line 18, in ? from map import * File "/data/david/Software/Games/PyWeek 3/bouncy-post-r1/map.py", line 7, in ? import euclid, collide, objects, pyglyph, fonts, shaders File "/data/david/Software/Games/PyWeek 3/bouncy-post-r1/objects.py", line 2, in ? import euclid, objloader, collide, shaders File "/data/david/Software/Games/PyWeek 3/bouncy-post-r1/shaders.py", line 26, in ? glCreateShaderObjectARB = gl.glCreateShaderObjectARB File "/usr/lib/python2.4/site-packages/ctypes/__init__.py", line 233, in __getattr__ func = self._CdeclFuncPtr(name, self) AttributeError: /usr/lib/python2.4/site-packages/_ctypes.so: undefined symbol: glCreateShaderObjectARBIt's strange because there doesn't appear to be any problem with this symbol in the previous version, and I'm running both versions with the same Python setup. Do you have any ideas about which change might have caused this?By richard on 2006/09/25 00:02:
Ah, whoops. I've put up a fixed version that doesn't try to use shaders if you don't have 'em :)By pdallago on 2006/09/25 00:08:
richard: You forgot to add that this version has an additional dependency: the ctypes module. I had to install it before I could run the game.By richard on 2006/09/25 00:45:
Aargh. It shouldn't. Thanks for pointing that out. Fixed r3 uploaded.By pdallago on 2006/09/25 00:52:
I tried to enable the toon rendering, but it didn't work in my machine. However, it doesn't print anything because you forgot to include the sys module. You may also want to correct the reference in the README, since the toon initialization seems to be now in objects.py.By richard on 2006/09/25 00:58:
Thanks for being so patient with testing it. If you include the sys module, what's the error you get?I've also added a note about the requirements for the shaders in the README.
By pdallago on 2006/09/26 23:25:
Richard: These are the messages I get when I run the game with the toon code enabled.
First, I got this:
Seems you added the ctypes dependency again in bouncy-r4. Once I installed the ctypes module I get this other message:
By richard on 2006/09/27 01:24:
Yes, the shaders do need ctypes - commenting out that little block should remove any dependency on ctypes.Hurm, that error seems to imply that the shader compilation is failing but we can't view the error because of a bug ('GL_INFO_LOG_LENGTH' is not defined).
By warlord on 2006/09/27 21:51:
Thanks for the update, Richard. It works really well now (without shaders)!