このページをGitHubで編集する

Class: Sprite_Actor

Extends: Sprite_Battler

new Sprite_Actor (actor opt)

データベース JSON データ オブジェクト
[敵キャラ] RPG.Actor Game_Actor

サイドビューのアクター表示用のスプライト。

関連クラス: Spriteset_Battle

Parameters:

Name Type Attributes Description
actor Game_Actor <optional> アクターオブジェクト

Properties:

Name Type Description
MOTIONS Object [static] MOTIONSに詳細
_battlerName String SV の画像ファイル名(拡張子を含まない)
_motion MV.Motion 現在のモーション
_motionCount Number モーションのカウンタ
_pattern Number モーションのパターン
_mainSprite Sprite_Base 本体のスプライト
_shadowSprite Sprite 影のスプライト
_weaponSprite Sprite_Weapon 武器のスプライト
_stateSprite Sprite_StateOverlay ステートのスプライト
_actor Game_Actor 生成元のアクター
MOTIONS

サイドビュー時のモーション指定用の定数。
例えば Sprite_Actor.MOTIONS.walk といった形で使用する。

Name Type Description
walk MV.Motion 歩く
wait MV.Motion 待機
chant MV.Motion 詠唱
guard MV.Motion 防御
damage MV.Motion ダメージ
evade MV.Motion 回避
thrust MV.Motion 突き
swing MV.Motion 振り
missile MV.Motion 飛び道具
skill MV.Motion スキル
spell MV.Motion 魔法
item MV.Motion アイテム
escape MV.Motion 逃走
victory MV.Motion 勝利
dying MV.Motion 瀕死
abnormal MV.Motion 状態異常
sleep MV.Motion 睡眠
dead MV.Motion 死亡

Inherited From

PIXI.DisplayObject

PIXI.Container

PIXI.Sprite

Sprite

Sprite_Base

Sprite_Battler

Methods

createMainSprite ()

本体のスプライトを生成。

createShadowSprite ()

影のスプライトを生成。

createStateSprite ()

ステートのスプライトを生成。

createWeaponSprite ()

武器のスプライトを生成。

damageOffsetX () → {Number}

Overrides:Sprite_Battler

damageOffsetY () → {Number}

Overrides:Sprite_Battler</a>

initialize (battler opt)

Overrides:Sprite_Battler

Parameters:
Name Type Attributes Description
battler Game_Actor <optional> バトラー

initMembers ()

Overrides:Sprite_Battler

motionSpeed () → {Number}

モーションの速度を返す。

moveToStartPosition ()

開始点に移動。

onMoveEnd ()

Overrides:Sprite_Battler

refreshMotion ()

モーションを再設定。

retreat ()

モーションの再開。

setActorHome (index)

指定隊列番号から基点を設定。

Parameters:
Name Type Description
index Number 隊列番号

setBattler (battler)

Overrides:Sprite_Battler

setupMotion ()

モーションの準備。

setupWeaponAnimation ()

武器アニメの準備。

startEntryMotion ()

入場モーションの準備。

startMotion (motionType)

指定モーションを開始。

Parameters:
Name Type Description
motionType String モーションタイプ(MOTIONSの Name を文字列指定)

stepBack ()

後退しているか。

stepForward ()

前進しているか。

update ()

Overrides:Sprite_Battler

updateBitmap ()

Overrides:Sprite_Battler

updateFrame ()

Overrides:Sprite_Battler

updateMain ()

Overrides:Sprite_Battler

updateMotion ()

モーションのアップデート。

updateMotionCount ()

モーションカウントのアップデート。

updateMove ()

Overrides:Sprite_Battler

updateShadow ()

影のアップデート。

updateTargetPosition ()

目標位置のアップデート。

Menu

  • RPG ツクール MV JavaScript 非公式リファレンス
  • Class: Array
  • Class: AudioManager
  • Class: BattleManager
  • Class: Bitmap
  • Class: CacheEntry
  • Class: CacheMap
  • Class: ConfigManager
  • Class: DataManager
  • Class: Decrypter
  • Class: Game_Action
  • Class: Game_ActionResult
  • Class: Game_Actor
  • Class: Game_Actors
  • Class: Game_Battler
  • Class: Game_BattlerBase
  • Class: Game_Character
  • Class: Game_CharacterBase
  • Class: Game_CommonEvent
  • Class: Game_Enemy
  • Class: Game_Event
  • Class: Game_Follower
  • Class: Game_Followers
  • Class: Game_Interpreter
  • Class: Game_Item
  • Class: Game_Map
  • Class: Game_Message
  • Class: Game_Party
  • Class: Game_Picture
  • Class: Game_Player
  • Class: Game_Screen
  • Class: Game_SelfSwitches
  • Class: Game_Switches
  • Class: Game_System
  • Class: Game_Temp
  • Class: Game_Timer
  • Class: Game_Troop
  • Class: Game_Unit
  • Class: Game_Variables
  • Class: Game_Vehicle
  • Class: Graphics
  • Class: Html5Audio
  • Class: ImageCache
  • Class: ImageManager
  • Class: Input
  • Class: JsonEx
  • Class: MV.AudioParameters
  • Class: MV.BattleLogMethod
  • Class: MV.BattleRewards
  • Class: MV.BattlerAnimation
  • Class: MV.Color
  • Class: MV.CommandItem
  • Class: MV.ConfigData
  • Class: MV.CssColor
  • Class: MV.DatabaseFile
  • Class: MV.Matrix
  • Class: MV.Motion
  • Class: MV.PluginSettings
  • Class: MV.SaveContents
  • Class: MV.SaveFileInfo
  • Class: MV.TextState
  • Class: MV.Tone
  • Class: MV.TouchInputEvents
  • Namespace: MV
  • Class: Math
  • Class: Number
  • Class: PIXI.Container
  • Class: PIXI.DisplayObject
  • Class: PIXI.Graphics
  • Class: PIXI.Renderer
  • Class: PIXI.Sprite
  • Class: PluginManager
  • Class: Point
  • Class: RPG.Actor
  • Class: RPG.Animation.Timing
  • Class: RPG.Animation
  • Class: RPG.Armor
  • Class: RPG.AudioFile
  • Class: RPG.BaseItem
  • Class: RPG.BattleEventPage.Conditions
  • Class: RPG.BattleEventPage
  • Class: RPG.Class.Learning
  • Class: RPG.Class
  • Class: RPG.CommonEvent
  • Class: RPG.Damage
  • Class: RPG.Effect
  • Class: RPG.Enemy.Action
  • Class: RPG.Enemy.DropItem
  • Class: RPG.Enemy
  • Class: RPG.EquipItem
  • Class: RPG.Event
  • Class: RPG.EventCommand
  • Class: RPG.EventPage.Conditions
  • Class: RPG.EventPage.Image
  • Class: RPG.EventPage
  • Class: RPG.Item
  • Class: RPG.Map.Encounter
  • Class: RPG.Map
  • Class: RPG.MapInfo
  • Class: RPG.MetaData
  • Class: RPG.MoveCommand
  • Class: RPG.MoveRoute
  • Class: RPG.Skill
  • Class: RPG.State
  • Class: RPG.System.AttackMotion
  • Class: RPG.System.Terms
  • Class: RPG.System.TestBattler
  • Class: RPG.System.Vehicle
  • Class: RPG.System
  • Class: RPG.Tileset
  • Class: RPG.Trait
  • Class: RPG.Troop.Member
  • Class: RPG.Troop
  • Class: RPG.UsableItem
  • Class: RPG.Weapon
  • Namespace: RPG
  • Class: Rectangle
  • Class: RequestQueue
  • Class: ResourceHandler
  • Class: SceneManager
  • Class: Scene_Base
  • Class: Scene_Battle
  • Class: Scene_Boot
  • Class: Scene_Debug
  • Class: Scene_Equip
  • Class: Scene_File
  • Class: Scene_GameEnd
  • Class: Scene_Gameover
  • Class: Scene_Item
  • Class: Scene_ItemBase
  • Class: Scene_Load
  • Class: Scene_Map
  • Class: Scene_Menu
  • Class: Scene_MenuBase
  • Class: Scene_Name
  • Class: Scene_Options
  • Class: Scene_Save
  • Class: Scene_Shop
  • Class: Scene_Skill
  • Class: Scene_Status
  • Class: Scene_Title
  • Class: ScreenSprite
  • Class: ShaderTilemap
  • Class: SoundManager
  • Class: Sprite
  • Class: Sprite_Actor
  • Class: Sprite_Animation
  • Class: Sprite_Balloon
  • Class: Sprite_Base
  • Class: Sprite_Battler
  • Class: Sprite_Button
  • Class: Sprite_Character
  • Class: Sprite_Damage
  • Class: Sprite_Destination
  • Class: Sprite_Enemy
  • Class: Sprite_Picture
  • Class: Sprite_StateIcon
  • Class: Sprite_StateOverlay
  • Class: Sprite_Timer
  • Class: Sprite_Weapon
  • Class: Spriteset_Base
  • Class: Spriteset_Battle
  • Class: Spriteset_Map
  • Class: Stage
  • Class: StorageManager
  • Class: String
  • Class: TextManager
  • Class: Tilemap
  • Class: TilingSprite
  • Class: ToneFilter
  • Class: ToneSprite
  • Class: TouchInput
  • Class: Utils
  • Class: Weather
  • Class: WebAudio
  • Class: Window
  • Class: WindowLayer
  • Class: Window_ActorCommand
  • Class: Window_Base
  • Class: Window_BattleActor
  • Class: Window_BattleEnemy
  • Class: Window_BattleItem
  • Class: Window_BattleLog
  • Class: Window_BattleSkill
  • Class: Window_BattleStatus
  • Class: Window_ChoiceList
  • Class: Window_Command
  • Class: Window_DebugEdit
  • Class: Window_DebugRange
  • Class: Window_EquipCommand
  • Class: Window_EquipItem
  • Class: Window_EquipSlot
  • Class: Window_EquipStatus
  • Class: Window_EventItem
  • Class: Window_GameEnd
  • Class: Window_Gold
  • Class: Window_Help
  • Class: Window_HorzCommand
  • Class: Window_ItemCategory
  • Class: Window_ItemList
  • Class: Window_MapName
  • Class: Window_MenuActor
  • Class: Window_MenuCommand
  • Class: Window_MenuStatus
  • Class: Window_Message
  • Class: Window_NameEdit
  • Class: Window_NameInput
  • Class: Window_NumberInput
  • Class: Window_Options
  • Class: Window_PartyCommand
  • Class: Window_SavefileList
  • Class: Window_ScrollText
  • Class: Window_Selectable
  • Class: Window_ShopBuy
  • Class: Window_ShopCommand
  • Class: Window_ShopNumber
  • Class: Window_ShopSell
  • Class: Window_ShopStatus
  • Class: Window_SkillList
  • Class: Window_SkillStatus
  • Class: Window_SkillType
  • Class: Window_Status
  • Class: Window_TitleCommand
  • Global
  • クラスツリー