Class: Game_Character
new Game_Character ()
マップに表示されるキャラ用のクラス。
関連クラス: Game_Interpreter, Game_Actor
Sub Classes
Properties:
ROUTE_ から始まる定数は、[移動ルートの設定]の[移動コマンド]に対応している。
Name |
Type |
Description |
ROUTE_END |
Number |
[static] 終了 |
ROUTE_MOVE_DOWN |
Number |
[static] [下に移動] |
ROUTE_MOVE_LEFT |
Number |
[static] [左に移動] |
ROUTE_MOVE_RIGHT |
Number |
[static] [右に移動] |
ROUTE_MOVE_UP |
Number |
[static] [上に移動] |
ROUTE_MOVE_LOWER_L |
Number |
[static] [左下に移動] |
ROUTE_MOVE_LOWER_R |
Number |
[static] [右下に移動] |
ROUTE_MOVE_UPPER_L |
Number |
[static] [左上に移動] |
ROUTE_MOVE_UPPER_R |
Number |
[static] [右上に移動] |
ROUTE_MOVE_RANDOM |
Number |
[static] [ランダムに移動] |
ROUTE_MOVE_TOWARD |
Number |
[static] [プレイヤーに近く] |
ROUTE_MOVE_AWAY |
Number |
[static] [プレイヤーから遠ざかる] |
ROUTE_MOVE_FORWARD |
Number |
[static] [一歩前進] |
ROUTE_MOVE_BACKWARD |
Number |
[static] [一歩後退] |
ROUTE_JUMP |
Number |
[static] [ジャンプ] |
ROUTE_WAIT |
Number |
[static] [ウェイト] |
ROUTE_TURN_DOWN |
Number |
[static] [下を向く] |
ROUTE_TURN_LEFT |
Number |
[static] [左を向く] |
ROUTE_TURN_RIGHT |
Number |
[static] [右を向く] |
ROUTE_TURN_UP |
Number |
[static] [上を向く] |
ROUTE_TURN_90D_R |
Number |
[static] [右に 90 度回転] |
ROUTE_TURN_90D_L |
Number |
[static] [左に 90 度回転] |
ROUTE_TURN_180D |
Number |
[static] [180 度回転] |
ROUTE_TURN_90D_R_L |
Number |
[static] [右か左に 90 度回転] |
ROUTE_TURN_RANDOM |
Number |
[static] [ランダムに方向転換] |
ROUTE_TURN_TOWARD |
Number |
[static] [プレイヤーの方を向く] |
ROUTE_TURN_AWAY |
Number |
[static] [プレイヤーの逆を向く] |
ROUTE_SWITCH_ON |
Number |
[static] [スイッチ ON] |
ROUTE_SWITCH_OFF |
Number |
[static] [スイッチ OFF] |
ROUTE_CHANGE_SPEED |
Number |
[static] [移動速度の変更] |
ROUTE_CHANGE_FREQ |
Number |
[static] [移動頻度の変更] |
ROUTE_WALK_ANIME_ON |
Number |
[static] [歩行アニメ ON] |
ROUTE_WALK_ANIME_OFF |
Number |
[static] [歩行アニメ OFF] |
ROUTE_STEP_ANIME_ON |
Number |
[static] [足踏みアニメ ON] |
ROUTE_STEP_ANIME_OFF |
Number |
[static] [足踏みアニメ OFF] |
ROUTE_DIR_FIX_ON |
Number |
[static] [向き固定 ON] |
ROUTE_DIR_FIX_OFF |
Number |
[static] [向き固定 OFF] |
ROUTE_THROUGH_ON |
Number |
[static] [すり抜け ON] |
ROUTE_THROUGH_OFF |
Number |
[static] [すり抜け OFF] |
ROUTE_TRANSPARENT_ON |
Number |
[static] [透明化 ON] |
ROUTE_TRANSPARENT_OFF |
Number |
[static] [透明化 OFF] |
ROUTE_CHANGE_IMAGE |
Number |
[static] [画像の変更] |
ROUTE_CHANGE_OPACITY |
Number |
[static] [不透明度の変更] |
ROUTE_CHANGE_BLEND_MODE |
Number |
[static] [合成方法の変更] |
ROUTE_PLAY_SE |
Number |
[static] [SE の演奏] |
ROUTE_SCRIPT |
Number |
[static] [スクリプト] |
_moveRouteForcing |
Boolean |
[移動ルート]を強制しているか |
_moveRoute |
RPG.MoveRoute |
[移動ルート] |
_moveRouteIndex |
Number |
[移動ルート]の番号 |
_originalMoveRoute |
RPG.MoveRoute |
オリジナルの[移動ルート] |
_originalMoveRouteIndex |
Number |
オリジナルの[移動ルート]の番号 |
_waitCount |
Number |
ウェイト |
Inherited From
- animationId ()
- animationWait ()
- balloonId ()
- blendMode ()
- bushDepth ()
- canPass (x, y, d)
- canPassDiagonally (x, y, horz, vert)
- characterIndex ()
- characterName ()
- checkEventTriggerTouch (x, y)
- checkEventTriggerTouchFront (d)
- checkStop (threshold)
- copyPosition (character)
- direction ()
- distancePerFrame ()
- endAnimation ()
- endBalloon ()
- hasStepAnime ()
- hasWalkAnime ()
- increaseSteps ()
- isAnimationPlaying ()
- isBalloonPlaying ()
- isCollidedWithCharacters (x, y)
- isCollidedWithEvents (x, y)
- isCollidedWithVehicles (x, y)
- isDashing ()
- isDebugThrough ()
- isDirectionFixed ()
- isJumping ()
- isMapPassable (x, y, d)
- isMovementSucceeded (x opt, y opt)
- isMoving ()
- isNearTheScreen ()
- isNormalPriority ()
- isObjectCharacter ()
- isOnBush ()
- isOnLadder ()
- isOriginalPattern ()
- isStopping ()
- isThrough ()
- isTile ()
- isTransparent ()
- jump (xPlus, yPlus)
- jumpHeight ()
- locate (x, y)
- maxPattern ()
- moveDiagonally (horz, vert)
- moveFrequency ()
- moveSpeed ()
- moveStraight (d)
- opacity ()
- pattern ()
- pos (x, y)
- posNt (x, y)
- realMoveSpeed ()
- refreshBushDepth ()
- regionId ()
- requestAnimation (animationId)
- requestBalloon (balloonId)
- resetPattern ()
- resetStopCount ()
- reverseDir (d)
- screenX ()
- screenY ()
- screenZ ()
- scrolledX ()
- scrolledY ()
- setBlendMode (blendMode)
- setDirection (d)
- setDirectionFix (directionFix)
- setImage (characterName, characterIndex)
- setMoveFrequency (moveFrequency)
- setMovementSuccess (success)
- setMoveSpeed (moveSpeed)
- setOpacity (opacity)
- setPattern (pattern)
- setPosition (x, y)
- setPriorityType (priorityType)
- setStepAnime (stepAnime)
- setThrough (through)
- setTileImage (tileId)
- setTransparent (transparent)
- setWalkAnime (walkAnime)
- shiftY ()
- startAnimation ()
- startBalloon ()
- straighten ()
- terrainTag ()
- tileId ()
- update ()
- updateAnimation ()
- updateAnimationCount ()
- updateJump ()
- updateMove ()
- updatePattern ()
Methods
advanceMoveRouteIndex ()
[移動ルート]の実行位置を進める。
deltaXFrom (x) → {Number}
指定した x 座標と自身の x 座標の差分(タイル数)を返す。
Parameters:
Name |
Type |
Description |
x |
Number |
x 座標(タイル数) |
deltaYFrom (y) → {Number}
指定した y 座標と自身の y 座標の差分(タイル数)を返す。
Parameters:
Name |
Type |
Description |
y |
Number |
y 座標(タイル数) |
findDirectionTo (goalX, goalY) → {Number}
指定座標へたどり着くための向き(テンキー対応)を返す。
Parameters:
Name |
Type |
Description |
goalX |
Number |
x 座標(タイル数) |
goalY |
Number |
y 座標(タイル数) |
forceMoveRoute (moveRoute)
[移動ルート]を強制。
Parameters:
initialize ()
Overrides: Game_CharacterBase
initMembers ()
Overrides: Game_CharacterBase
isMoveRouteForcing () → {Boolean}
[移動ルート]が強制されているか。
memorizeMoveRoute ()
[移動ルート]を記録。
moveAwayFromCharacter (character)
指定キャラクタから遠ざかる。
Parameters:
moveAwayFromPlayer ()
[プレイヤーから遠ざかる]。
moveBackward ()
[一歩後退]。
moveForward ()
[一歩前進]。
moveRandom ()
[ランダムに移動] [タイプ:ランダム]。
moveTowardCharacter (character)
指定キャラクタに近づく。[タイプ:近づく]。
Parameters:
moveTowardPlayer ()
[プレイヤーに近づく]。
processMoveCommand (command)
[移動コマンド]を実行。
Parameters:
processRouteEnd ()
[移動ルート]の終了。
restoreMoveRoute ()
記録した[移動ルート]に戻す。
searchLimit () → {Number}
ルート検索の上限数を返す。
setMoveRoute (moveRoute)
[移動ルート]の設定。
Parameters:
swap (character)
指定したキャラクタと場所を入れ替わる。
Parameters:
turn180 ()
[180 度回転]。
turnAwayFromCharacter (character)
指定キャラクタの逆を向く。
Parameters:
turnAwayFromPlayer ()
[プレイヤーの逆を向く]。
turnLeft90 ()
[左に 90 度回転]。
turnRandom ()
[ランダムに方向転換]。
turnRight90 ()
[右に 90 度回転]。
turnRightOrLeft90 ()
[右か左に 90 度回転]。
turnTowardCharacter (character)
指定キャラクタの方を向く。
Parameters:
turnTowardPlayer ()
[プレイヤーの方を向く]。
updateRoutineMove ()
[移動ルート]をアップデート。
updateStop ()
Overrides: Game_CharacterBase
Menu
RPG ツクール MV JavaScript 非公式リファレンスClass: ArrayClass: AudioManagerClass: BattleManagerClass: BitmapClass: CacheEntryClass: CacheMapClass: ConfigManagerClass: DataManagerClass: DecrypterClass: Game_ActionClass: Game_ActionResultClass: Game_ActorClass: Game_ActorsClass: Game_BattlerClass: Game_BattlerBaseClass: Game_CharacterClass: Game_CharacterBaseClass: Game_CommonEventClass: Game_EnemyClass: Game_EventClass: Game_FollowerClass: Game_FollowersClass: Game_InterpreterClass: Game_ItemClass: Game_MapClass: Game_MessageClass: Game_PartyClass: Game_PictureClass: Game_PlayerClass: Game_ScreenClass: Game_SelfSwitchesClass: Game_SwitchesClass: Game_SystemClass: Game_TempClass: Game_TimerClass: Game_TroopClass: Game_UnitClass: Game_VariablesClass: Game_VehicleClass: GraphicsClass: Html5AudioClass: ImageCacheClass: ImageManagerClass: InputClass: JsonExClass: MV.AudioParametersClass: MV.BattleLogMethodClass: MV.BattleRewardsClass: MV.BattlerAnimationClass: MV.ColorClass: MV.CommandItemClass: MV.ConfigDataClass: MV.CssColorClass: MV.DatabaseFileClass: MV.MatrixClass: MV.MotionClass: MV.PluginSettingsClass: MV.SaveContentsClass: MV.SaveFileInfoClass: MV.TextStateClass: MV.ToneClass: MV.TouchInputEventsNamespace: MVClass: MathClass: NumberClass: PIXI.ContainerClass: PIXI.DisplayObjectClass: PIXI.GraphicsClass: PIXI.RendererClass: PIXI.SpriteClass: PluginManagerClass: PointClass: RPG.ActorClass: RPG.Animation.TimingClass: RPG.AnimationClass: RPG.ArmorClass: RPG.AudioFileClass: RPG.BaseItemClass: RPG.BattleEventPage.ConditionsClass: RPG.BattleEventPageClass: RPG.Class.LearningClass: RPG.ClassClass: RPG.CommonEventClass: RPG.DamageClass: RPG.EffectClass: RPG.Enemy.ActionClass: RPG.Enemy.DropItemClass: RPG.EnemyClass: RPG.EquipItemClass: RPG.EventClass: RPG.EventCommandClass: RPG.EventPage.ConditionsClass: RPG.EventPage.ImageClass: RPG.EventPageClass: RPG.ItemClass: RPG.Map.EncounterClass: RPG.MapClass: RPG.MapInfoClass: RPG.MetaDataClass: RPG.MoveCommandClass: RPG.MoveRouteClass: RPG.SkillClass: RPG.StateClass: RPG.System.AttackMotionClass: RPG.System.TermsClass: RPG.System.TestBattlerClass: RPG.System.VehicleClass: RPG.SystemClass: RPG.TilesetClass: RPG.TraitClass: RPG.Troop.MemberClass: RPG.TroopClass: RPG.UsableItemClass: RPG.WeaponNamespace: RPGClass: RectangleClass: RequestQueueClass: ResourceHandlerClass: SceneManagerClass: Scene_BaseClass: Scene_BattleClass: Scene_BootClass: Scene_DebugClass: Scene_EquipClass: Scene_FileClass: Scene_GameEndClass: Scene_GameoverClass: Scene_ItemClass: Scene_ItemBaseClass: Scene_LoadClass: Scene_MapClass: Scene_MenuClass: Scene_MenuBaseClass: Scene_NameClass: Scene_OptionsClass: Scene_SaveClass: Scene_ShopClass: Scene_SkillClass: Scene_StatusClass: Scene_TitleClass: ScreenSpriteClass: ShaderTilemapClass: SoundManagerClass: SpriteClass: Sprite_ActorClass: Sprite_AnimationClass: Sprite_BalloonClass: Sprite_BaseClass: Sprite_BattlerClass: Sprite_ButtonClass: Sprite_CharacterClass: Sprite_DamageClass: Sprite_DestinationClass: Sprite_EnemyClass: Sprite_PictureClass: Sprite_StateIconClass: Sprite_StateOverlayClass: Sprite_TimerClass: Sprite_WeaponClass: Spriteset_BaseClass: Spriteset_BattleClass: Spriteset_MapClass: StageClass: StorageManagerClass: StringClass: TextManagerClass: TilemapClass: TilingSpriteClass: ToneFilterClass: ToneSpriteClass: TouchInputClass: UtilsClass: WeatherClass: WebAudioClass: WindowClass: WindowLayerClass: Window_ActorCommandClass: Window_BaseClass: Window_BattleActorClass: Window_BattleEnemyClass: Window_BattleItemClass: Window_BattleLogClass: Window_BattleSkillClass: Window_BattleStatusClass: Window_ChoiceListClass: Window_CommandClass: Window_DebugEditClass: Window_DebugRangeClass: Window_EquipCommandClass: Window_EquipItemClass: Window_EquipSlotClass: Window_EquipStatusClass: Window_EventItemClass: Window_GameEndClass: Window_GoldClass: Window_HelpClass: Window_HorzCommandClass: Window_ItemCategoryClass: Window_ItemListClass: Window_MapNameClass: Window_MenuActorClass: Window_MenuCommandClass: Window_MenuStatusClass: Window_MessageClass: Window_NameEditClass: Window_NameInputClass: Window_NumberInputClass: Window_OptionsClass: Window_PartyCommandClass: Window_SavefileListClass: Window_ScrollTextClass: Window_SelectableClass: Window_ShopBuyClass: Window_ShopCommandClass: Window_ShopNumberClass: Window_ShopSellClass: Window_ShopStatusClass: Window_SkillListClass: Window_SkillStatusClass: Window_SkillTypeClass: Window_StatusClass: Window_TitleCommandGlobalクラスツリー