Class for automatically moving MapCharacter according to specification
More...
Inherited by Yukar.Engine.MapCharacterMoveMacro.SimpleXZTweener, Yukar.Engine.MapCharacterMoveMacro.XZTweener, and Yukar.Engine.MapCharacterMoveMacro.YTweener.
|
class | SimpleXZTweener |
| XZ movement Tweener of the type that does not match the height (does not rely on physics)
|
|
class | XZTweener |
| A class that moves the character to the desired XZ coordinates while interpolating the coordinates
|
|
class | YTweener |
| A class that moves the height of the character while interpolating
|
|
|
static MapCharacterMoveMacro | addYTweener (MapCharacter character, float time, float startY, float targetY, UsingEasingFunction easingMethod, bool toGround, bool checkCollision) |
|
static MapCharacterMoveMacro | addSimpleXZTweener (MapCharacter chr, int dir, float speed, Action finishHandler=null) |
|
static MapCharacterMoveMacro | addXZTweener (MapCharacter chr, int dir, bool shouldKeepMotion, bool fixDir, MapData drawer) |
|
static MapCharacterMoveMacro | addXZTweener (MapCharacter chr, float x, float y, MapData drawer, Action finishHandler=null) |
|
static MapCharacterMoveMacro | addXZTweener (MapCharacter self, MapCharacter chr, int dir, bool fixDir, bool abortOnFail, bool through, bool ignoreHeight, bool shouldKeepMotion, float targetDirRad, float totalWalk, bool interpolate, float startDirRad, bool fourDir) |
|
Class for automatically moving MapCharacter according to specification
◆ UsingEasingFunction
the type of easing function to use
Enumerator |
---|
Linear | Constant velocity
|
EaseIn | acceleration
|
EaseOut | deceleration
|
◆ addSimpleXZTweener()
◆ addXZTweener() [1/3]
◆ addXZTweener() [2/3]
◆ addXZTweener() [3/3]
static MapCharacterMoveMacro Yukar.Engine.MapCharacterMoveMacro.addXZTweener |
( |
MapCharacter |
self, |
|
|
MapCharacter |
chr, |
|
|
int |
dir, |
|
|
bool |
fixDir, |
|
|
bool |
abortOnFail, |
|
|
bool |
through, |
|
|
bool |
ignoreHeight, |
|
|
bool |
shouldKeepMotion, |
|
|
float |
targetDirRad, |
|
|
float |
totalWalk, |
|
|
bool |
interpolate, |
|
|
float |
startDirRad, |
|
|
bool |
fourDir |
|
) |
| |
|
static |
◆ addYTweener()