I can't really be bothered to explain it properly, but you can make movement loops (fastloops) that move the object one pixel left/down/up/right each loop, and if it's overlapping an obstacle you move it one pixel in the opposite direction.
Which is magic.
Sonic engines can be ridiculously complex for the amount of fun they give. I'm not getting near them.
Disclaimer: Any sarcasm in my posts will not be mentioned as that would ruin the purpose. It is assumed that the reader is intelligent enough to tell the difference between what is sarcasm and what is not.
Assault Andy Administrator
I make other people create vaporware
Registered 7/29/2002
Points 5683
23rd June, 2005 at 6:34:14 AM -
Extensions that will help:
Move Safely 1\2 - for "overshooting detectors"
Platform Movement Object - If you need something besides the built in engine (which you do)
Platform AI is about as simple as things get, smack in some alterable values for jumping, use collision masks so they dont fall off, add some random direction changing etc. and that's it.
at the risk of being boring if i could reply to the original post - are you asking someone to make a game for you? if so then i guess the answer will be NO (unless you are prepared to cough up some dosh)
to start press any key ...... where's the ANY KEY??