Werewolf -- medium rare
At least, it's certainly not well done. The team was diminished this time (Daniel on vacation), and while I hacked something together, time was a huge problem, and it shows. The result is missing tons of fairly important features (e.g. passable art, interesting puzzles, a title screen/menu, music, ...). And all this despite having a fairly good idea of what the game was supposed to be before the last day, which is a first!Still, it is playable, barely. :) You're a hungry werewolf, transformed by the full moon, and you need to find something to eat back and then sneak back to your house without being discovered. The villagers apparently never sleep, so stick to the shadows, and watch the shadows shift as the moon circles the sky (wait, that's not how astronomy works? oh well...).
The underlying engine is actually in fairly good shape, so with the right art, models, and level design I think this could've turned out pretty nice. Other things that were planned were patrolling guards (with torches), a level with two moons (will be tricky to stick to the shadows here), being chased by and having to evade guards rather than instantly being caught on discovery, voice acting for the werewolf, a nifty title screen, music (composed, but not recorded, no time; will save it for some other game), etc.
(log in to comment)
Comments
Anyway, if it's turning it into 32-bit RGBA, the fix would be to change that line to something like (untested):
raw_heightmap = pygame.image.tostring(surface, 'RGBA', 1)
raw_heightmap = raw_heightmap[::4]
pygame.image.tostring(surface, 'RGB', 1)[::3] possibly works. The game starts and shadows and collision look right.
It's pretty hard to play because the werewolf is invisible. I wonder what's up with that.
It's pretty hard to play because the werewolf is invisible. I wonder what's up with that.
<Surface(1024x1024x32 SW)>. Any tips for the werewolf sprite? Looks like it may be under the ground. If I remove the ground and switch glClearColor to white, I see a flickering little creature crawling around :). No trace of it when the ground is enabled though.
Thanks! Yes, it's
pygame.display.gl_set_attribute(GL_DEPTH_SIZE, 16) before pygame.display.set_mode in run_game.py, then.
(In theory, we'd make notes of these things, or remember them from previous pyweeks...)
Wow, 8-bit depth buffers. What is this, a graphics card for ants? :) Could also try throwing in a(In theory, we'd make notes of these things, or remember them from previous pyweeks...)
There was going to be voice acting for the werewolf, but I ran out of time. :(
cyhawk on 2013/09/08 23:39:
Great news, I was hoping you would make something! It doesn't work for me though:I'll try to find a fix tomorrow.