I have written a general combat system into the game, The timing needs tweaking on attack/cooldown but that can come later. You need to kill all of the enemies in a room in order to progress.
![5d0c40e1c7c0f.gif 5d0c40e1c7c0f.gif](https://i.gjcdn.net/public-data/fireside/posts/0/206/25956/media/5d0c40e1c7c0f-cphuneny.gif)
I’m working on AI at the moment, unfortunately collision detection really taxes the gameboy (and i’m just using axis-aligned bounding boxes), causing a visible slowing of the game. I’m going to look at implementing quad-trees (but I can’t get malloc() to work on the gameboy. If worst comes to worst I’ll have to implement my own memory allocation).
0 comments