Monday Screenshot 4/27: Under the Hood
So, the collision system I developed for Solomon Dark turned out to be poorly suited for Keep. Dark worked as large open areas, whereas Keep is a collection of small rooms and narrow halls. Severe problems started showing up when a lot of skeletons would squash together to chase through a narrow hallway, so this week I was forced to adopt a new collision system.
After a lot of coding and research, I eventually decided to use the Box2D library, with physics turned off. Not only is it faster than the stuff I had written previous, but it'll allow me to throw in more interesting stuff, like pushable secret walls.
So this is just a screenshot of what Solomon's Keep looks like "under the hood." The green circle is the player, the various other circles are the enemies. I'm able to get quite a few things colliding at the same time with Box2D, all in all a very pleasing result.