SOLVED: Manual AdjustSpeedWithScaling

Started by Eastwing, Thu 19/06/2014 13:28:01

Previous topic - Next topic

Eastwing

Is there way to make somehow analog of AdjustSpeedWithScaling property? Or may be change WalkSpeed while character moving?

Standart adjusting works fine almost all time. But when character is "very far" he starts moving falteringly (is it right word?)
So I'd prefer turn this property off or change speed manual every time (when character walks on region for example), and do not set walk speed on "1" when character is so far.

I can imagine two ways:
- Manualy stop character when it walks on new region, change WalkSpeed and then continue his moving from last frame. But it's ugly and stupid way for me.
- Place regions which will be turn on/off AdjustSpeedWithScaling property when character goes too far or coming back. But in my game regions plays it's own roles and there is chance that I'll not have free regions.

Is there another ways? May be more right and easy? :)

Joe

I would use your 2nd option but in stead of using regions I would check character x y in the rep_ex function. So you can use regions for any other purposes.
Copinstar © Oficial Site

Eastwing

Quote from: Joe on Fri 20/06/2014 12:43:02
I would use your 2nd option but in stead of using regions I would check character x y in the rep_ex function. So you can use regions for any other purposes.

Oh my, of course, it's obvious! 8-0

Thank you!

SMF spam blocked by CleanTalk