Why didn’t you just use Box2D for this!? I had to rewrite it!
-Kittems from the Future
One of the major features I wanted to add to Skymagi is the ability for your castle to dock onto the ground or a floating island and allow your mages to leave.
A library like Box2D can handle collision between objects, but I’ll still need to ensure a mage doesn’t walk into an invalid tile. Rather than using box2d for these tiles, I chose to write my own collision handling for tiles.
Behold!
And between areas, so you can disembark your castle:
Next up, pathfinding.