Posts Tagged ‘bug’
Sky Upon Us – tiny bugfix
Sadly there was a tiny bug in the final version of my game – the line “state = STATE_LEVEL;” was missing, so no pause screen would be shown between levels (although the code for layout and mechanics of that screen was already in there, as can be seen in the source).
I have fixed this and uploaded a new version to my site as both zip and webstart:
Sorry about that!
Towers that Attack, Bug
Battled with a stupid bug for maybe an hour. Turned out I had written an asymmetrical comparison operator which crashed sort. I’m not so great at debuggin D yet, at first I didn’t get the debug info, and when I finally did and found a debugger, it wasn’t so helpful. Funnily enough, I ended up solving it with traditional writefln debugging instead, which just took a couple of minutes. Hmm..
Anyway, what I had done before the bug was adding attack towers, which charge up blobs of darkness and fire them at the butterflies.
It mostly just looks like chaos, becuse I just randomly place everything.


