![]() |
|
Class for automatically moving MapCharacter according to specification More...
Public Types | |
| enum | UsingEasingFunction { Linear = 0 , EaseIn = 1 , EaseOut = 2 } |
| the type of easing function to use More... | |
Static Public Member Functions | |
| static MapCharacterMoveMacro | addYTweener (MapCharacter character, float time, float startY, float targetY, UsingEasingFunction easingMethod, bool toGround, bool checkCollision) |
| Start moving the character height while interpolating More... | |
| static MapCharacterMoveMacro | addScaleTweener (MapCharacter character, float time, float scale) |
| Start scaling characters while interpolating More... | |
| static MapCharacterMoveMacro | addSimpleXZTweener (MapCharacter chr, int dir, float speed, Action finishHandler=null) |
| Start moving the character's XZ coordinates while interpolating More... | |
| static MapCharacterMoveMacro | addXZTweener (MapCharacter chr, int dir, bool shouldKeepMotion, bool fixDir, MapData drawer) |
| Add a task to move in the XZ direction (1 step in the specified direction) More... | |
| static MapCharacterMoveMacro | addXZTweener (MapCharacter chr, float x, float y, MapData drawer, Action finishHandler=null) |
| Add a task to move in XZ direction (type that specifies the distance to move separately for XZ) More... | |
| 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) |
| Add a task to move in the XZ direction (type that specifies orientation and number of steps) More... | |
Class for automatically moving MapCharacter according to specification
|
static |
Start scaling characters while interpolating
|
static |
Start moving the character's XZ coordinates while interpolating
| chr | |
| dir | |
| speed | |
| finishHandler |
|
static |
Add a task to move in XZ direction (type that specifies the distance to move separately for XZ)
| chr | Characters to move |
| x | Movement amount in the X direction |
| y | Movement amount in the Y direction |
| drawer | Map data |
| finishHandler | Complete Handler |
|
static |
Add a task to move in the XZ direction (1 step in the specified direction)
| chr | Characters to move |
| dir | Digital or special direction specification (Compatible with Script.MoveType) |
| shouldKeepMotion | Whether to maintain motion |
| fixDir | Whether to fix the orientation |
| drawer | Map data |
|
static |
Add a task to move in the XZ direction (type that specifies orientation and number of steps)
| self | Task execution source (used when dir is Command.MoveType.FOLLOW or ESCAPE) |
| chr | Characters to move |
| dir | Digital or special direction specification (Compatible with Script.MoveType) |
| fixDir | Whether to fix the orientation |
| abortOnFail | Whether to interrupt if the move fails |
| through | Whether to slip through obstacles |
| ignoreHeight | whether to ignore height |
| shouldKeepMotion | Whether to maintain orientation |
| targetDirRad | Specification of the radian angle of the direction of movement (used when dir is Command.MoveType.ANY_RAD) |
| totalWalk | Number of steps traveled |
| interpolate | Whether to walk with interpolation from the current orientation |
| startDirRad | Current orientation radian angle specified |
| fourDir | Whether to round the angle to 90 degrees (used when dir is Command.MoveType.FOLLOW or ESCAPE) |
|
static |
Start moving the character height while interpolating
| character | |
| time | |
| startY | |
| targetY | |
| easingMethod | |
| toGround | |
| checkCollision |