Towers that Attack, Bug

Posted by
April 19th, 2009 2:58 am

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.

Tags: , , , , ,

Leave a Reply

You must be logged in to post a comment.

[cache: storing page]