Alright, so, long story short, I've been working on a NES-style Mega Man game for the past few months. For the most part, everything's been coming along rather nicely. However, now that I've moved onto the addition of enemies, I've hit somewhat of a snag... What I'm trying to do is make an enemy jump and land at Mega Man's exact location, or shoot a projectile in an arc which will always land where Mega Man is standing. Both these attack methods are fairly common in Mega Man games, so I feel it's important I learn how to implement this myself. I've already used Pythagoras Theorem to calculate the distance between Mega Man and the enemy at all times, but how would I go about using this information in an event? (or events...) I must say, this has me completely stumped... Any help at all would be greatly appreciated.
It would be great if I could view the example projectile.gam file in that topic, but I need KCamath.cox, the Advanced Math Object Multimedia Fusion. I've been searching for it for a while now, and all I can find are dead links. Do you know of any place I'd be able to download it?