Logo
クラス | 公開型 | 静的公開メンバ関数 | 全メンバ一覧
Yukar.Engine.MapCharacterMoveMacro クラス

MapCharacterを指定に従って自動的に動かすためのクラス [詳解]

Yukar.Engine.MapCharacterMoveMacro.SimpleXZTweener, Yukar.Engine.MapCharacterMoveMacro.XZTweener, Yukar.Engine.MapCharacterMoveMacro.YTweenerに継承されています。

クラス

class SimpleXZTweener
高さを合わせない(物理を当てにしない)タイプのXZ移動Tweener
class XZTweener
座標を補間しながら目的のXZ座標までキャラクターを移動させるクラス
class YTweener
補間しながらキャラクターの高さを移動させるクラス

公開型

enum UsingEasingFunction { Linear = 0 , EaseIn = 1 , EaseOut = 2 }
使用するイージング関数の種類 [詳解]

静的公開メンバ関数

static ushort GetMixedMask (MapCharacter chr)
障害物チェック用のマスクを生成する [詳解]
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)
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)

詳解

MapCharacterを指定に従って自動的に動かすためのクラス

列挙型メンバ詳解

UsingEasingFunction

使用するイージング関数の種類

列挙値
Linear

等速

EaseIn

加速

EaseOut

減速

メソッド詳解

GetMixedMask()

static ushort Yukar.Engine.MapCharacterMoveMacro.GetMixedMask ( MapCharacter chr )
static

障害物チェック用のマスクを生成する

引数
chr
戻り値

このクラス詳解は次のファイルから抽出されました: