I have a character where he has his head as a seperate active object. But, when the feet stop, the head keeps going for a few pixels. It lags in certain ways. Is there a way to speed up the always condition?
No, sorry, I did some reasarch on this. The Always thing as fast as MMF will go. 'Tis more of Every 0.02 seconds, just that it uses less memory and would perform faster than the Every 0.02 seconds condition.
You can try to use to use the fast loop option, though I'm not sure that'll work. Another classic way was to make an exact copy of the event so it would supposedly work twice as fast. Or easier still, put all your Always events at the top of the list in the Event editor. It'll make sure that that condition is viewed before anything else every time MMF does another loop.
But still, you must have pretty fast eyesight to notice the difference in it in just 0.02 seconds. Maybe you've just coded it a bit clunky.
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.
LOL, Andy, unneccessary headache. Instead of using that -, try putting : instead. It makes a big difference when you're using a math formula.
It's still a good, flawless piece of code, though you'll then have to do a custom engine. For simplicity, go with Shen's idea or just try my idea and see if you can do it without really bothering to write new code.
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.