Class: Window_Message
new Window_Message ()
[文章の表示]をするウィンドウ。
表示する文は Window_Message ではなく $gameMessage を経由して設定するため、単に文を表示するだけならばこのクラスを操作する必要はない。
また、Window_Message は選択肢関連のサブウィンドウの起動も行う。
新規に文字を表示するウィンドウが必要ならば、WIndow_Help を使うか、Window_Base を継承して新たにクラスを作る方が良い。
関連クラス: Scene_Map, Scene_Battle, Game_Message
Properties:
Inherited From
- (static) mixin (source)
- _recursivePostUpdateTransform ()
- displayObjectUpdateTransform ()
- getBounds (skipUpdate, rect)
- getGlobalPosition (point, skipUpdate)
- setParent (container)
- setTransform (x, y, scaleX, scaleY, rotation, skewX, skewY, pivotX, pivotY)
- toGlobal (position, point, skipUpdate)
- toLocal (position, from, point, skipUpdate)
- activate ()
- actorName (actorIndex)
- calcTextHeight (textState, all)
- canvasToLocalX (x)
- canvasToLocalY (y)
- changePaintOpacity (enabled)
- changeTextColor (color)
- close ()
- contentsHeight ()
- contentsWidth ()
- convertEscapeCharacters (text)
- createContents ()
- crisisColor ()
- deactivate ()
- deathColor ()
- dimColor1 ()
- dimColor2 ()
- drawActorCharacter (actor, x, y)
- drawActorClass (actor, x, y, width)
- drawActorFace (actor, x, y, width, height)
- drawActorHp (actor, x, y, width)
- drawActorIcons (actor, x, y, width)
- drawActorLevel (actor, x, y)
- drawActorMp (actor, x, y, width)
- drawActorName (actor, x, y, width)
- drawActorNickname (actor, x, y, width)
- drawActorSimpleStatus (actor, x, y, width)
- drawActorTp (actor, x, y, width)
- drawCharacter (characterName, characterIndex, x, y)
- drawCurrencyValue (value, unit, x, y, width)
- drawCurrentAndMax (current, max, x, y, width, color1, color2)
- drawFace (faceName, faceIndex, x, y, width opt, height opt)
- drawGauge (x, y, width, rate, color1, color2)
- drawIcon (iconIndex, x, y)
- drawItemName (item, x, y, width)
- drawText (text, x, y, maxWidth, align)
- drawTextEx (text, x, y)
- fittingHeight (numLines)
- gaugeBackColor ()
- hide ()
- hideBackgroundDimmer ()
- hpColor (actor)
- hpGaugeColor1 ()
- hpGaugeColor2 ()
- isClosing ()
- isOpening ()
- lineHeight ()
- loadWindowskin ()
- makeFontBigger ()
- makeFontSmaller ()
- mpColor (actor)
- mpCostColor ()
- mpGaugeColor1 ()
- mpGaugeColor2 ()
- normalColor ()
- obtainEscapeCode (textState)
- obtainEscapeParam (textState)
- open ()
- paramchangeTextColor (change)
- partyMemberName (partyMemberIndex)
- pendingColor ()
- powerDownColor ()
- powerUpColor ()
- processCharacter (textState)
- processDrawIcon (iconIndex, textState)
- processEscapeCharacter (code, textState)
- processNormalCharacter (textState)
- refreshDimmerBitmap ()
- reserveFaceImages ()
- resetFontSettings ()
- resetTextColor ()
- setBackgroundType (type)
- show ()
- showBackgroundDimmer ()
- standardBackOpacity ()
- standardFontFace ()
- standardFontSize ()
- standardPadding ()
- systemColor ()
- textColor (n)
- textPadding ()
- textWidth (text)
- tpColor (actor)
- tpCostColor ()
- tpGaugeColor1 ()
- tpGaugeColor2 ()
- translucentOpacity ()
- updateBackgroundDimmer ()
- updateBackOpacity ()
- updateClose ()
- updateOpen ()
- updatePadding ()
- updateTone ()
Methods
areSettingsChanged () → {Boolean}
ウィンドウの設定が変更されたか。
canStart () → {Boolean}
開始可能か。
checkToNotClose ()
閉じないようにチェック。
clearFlags ()
フラグを消去。
createSubWindows ()
サブウィンドウを生成。
doesContinue () → {Boolean}
まだテキストがあり、かつ設定が変更されていないか。
initialize ()
Overrides: Window_Base
initMembers ()
メンバ変数を初期化。
isAnySubWindowActive () → {Boolean}
サブウィンドウがアクティブか。
isEndOfText (textState) → {Boolean}
指定したテキストの情報が最後にあるか。
Parameters:
isTriggered () → {Boolean}
決定・キャンセルなどのトリガが起動されたか。
loadMessageFace ()
[顔]画像を読み込む。
needsNewPage (textState) → {Boolean}
指定テキストの情報に次のページがあるか。
Parameters:
newLineX () → {Number}
[顔]表示の有無に応じて、新たな行の表示開始位置を返す。
newPage (textState)
指定したテキストの情報に従って新しいページを用意。
Parameters:
numVisibleRows () → {Number}
表示される行数を返す。
onEndOfText ()
メッセージを全て表示した時に呼ばれるハンドラ。
processNewLine (textState)
Overrides: Window_Base
processNewPage (textState)
Overrides: Window_Base
入力ウィンドウの開始。
Game_Message の isChoice()、isNumberInput()、isItemChoice() をチェックし、それぞれに対応したウィンドウを開く。
startMessage ()
メッセージ表示の開始。
startPause ()
入力待ちの停止状態の開始。
startWait (count)
指定カウント分の待ち状態の開始。
Parameters:
Name |
Type |
Description |
count |
Number |
待ち時間(フレーム) |
サブウィンドウの配列を返す。
terminateMessage ()
メッセージを停止してウィンドウを閉じる。
update ()
Overrides: Window_Base
updateBackground ()
背景のアップデート。
入力のアップデート。
updateLoading ()
読み込みのアップデート。
updateMessage () → {Boolean}
メッセージのアップデート。
updatePlacement ()
ウィンドウの配置のアップデート。
updateShowFast ()
メッセージ速度のアップデート。
updateWait () → {Boolean}
待機状態のアップデート。
windowHeight () → {Number}
ウィンドウの高さを返す。
windowWidth () → {Number}
ウィンドウの幅を返す。
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クラスツリー