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.

Tags: attack, blobs, bug, journal, screenshot, towers