Yo!
Still trying to come up with a nice collision detection system for the little baddies that are running after my character, in a top view Link to the past style game.
I'm wondering if an 8-direction behavior could be overridden with events that would enter "fake" inputs. The collision detection works so nicely with that behavior.
Is there a way to replicate that quality of coll detection on another object like a potential enemy?
In my .cap I tried to recalculate the position of the enemy at every tick when colliding with a box but I have no idea how to get the actual angle of the surface my baddie is colliding with, so that the baddie would "rebounce" in the right angle.
You can see that my system works well with a vertical wall, but not at all with a horizontal wall.
http://dl.dropbox.com/u/38319441/CollisionTest.cap
Thanks a bunch!