Journal #5 (i think?)
02:44
Have a menu, and more importantly a working “game state” thingy to switch cleanly from menu to game and back, and possibly a help screen or prefs. Not always obvious since Löve don’t let you control the game loop (you overload functions like draw(), update(), mousepressed(), etc, and they are called by the engine). Also, it’s late and I should sleep a bit. Game mechanics are almost complete.
02:51
Yeah, going to bed. I’m affraid I’m now useless.
09:40
Allright, it’s a nice morning to make a winning entry. *Back to work, lazy ass!*
10:38
Now with a goal, a winning condition, and two game modes.
12:16
Added the critters. They just walk around and wait to be blasted away. Oh yeah
14:05
Face sorting is working. Took three different algorithms… And I’m pretty sure this one doesn’t cover every case either. But it seems to be quite OK anyway.
16:26
Just lost two hours researching and implementing an ear-clipping algorithm. Cause: opengl (and thus Löve) can’t draw non convex polygons. And I really need to draw one. I must admit I had fun coding that. But still, two hours…

Tags: journal, screenshot