Gabウィンドウは、メッセージウィンドウを必要としないrandomjibber jabber用のウィンドウとして機能するプラグイン – YEP_GabWindow.js

タイトル
The Gab Window functions as a window for randomjibber jabber that does not require a message window.
作者名
ヘルプ
============================================================================
Introduction
============================================================================

Sometimes there's random jibber jabber that does not warrant a message box.
The Gab Window fulfills that jibber jabber by placing such text outside of
the message window box and at the corner of the screen. The gab text will
appear briefly and then disappear, not showing up again until the gab text
is updated with something else.

New to the MV version is the ability to play sounds for your Gab Window in
addition to queueing multiple gabs together to have them form a conversation
of sorts. When queued up, the currently playing gab will continue showing
until it fades out before loading up the next gab.

============================================================================
Instructions
============================================================================

Using the Gab Window is quite simple. By default, it can be used in either
the map scene or the battle scene. To call upon it, you will to use a few
Plugin Commands to set up what you wish for the Gab Window to display.

Plugin Commands:

--- Setup Commands ---

GabText text
This will set the gab window to type out the above text. Text codes can be
used for the Gab Window.

GabFaceName filename
If you wish to display a face graphic, use this plugin command to have it
display a face from the filename.

GabFaceIndex x
Used in combination with the above plugin command to define which index the
face will use.

GabSpriteName filename
If you wish to display a particular character sprite, use this plugin
command to have it display a sprite from the filename.

GabSpriteIndex x
Used in combination with the above plugin command to define which index the
sprite will use.

GabActor x
GabActorFace x
This will display actor x's face graphic where x is the actor's ID.

GabActorSprite x
This will display actor x's sprite graphic where x is the actor's ID.

GabParty x
GabPartyFace x
This will display party member x's face graphic where x is the position.

GabPartySprite x
This will display party member x's sprite graphic where x is the position.

GabSound filename
This will play a sound from the SE folder under that particular filename.

GabSwitch x
This will enable switch x when this gab finishes playing.

WaitForGab
Causes the game to wait until all gabs are finished playing.

--- Display Commands ---

ShowGab
Once the above settings are complete, use this Plugin Command to launch the
Gab Window and display the above data. This will put the gab data into a
queue which means if there's another gab playing, this will be next in line.

Note If multiple ShowGabs are used, they will be queued up. The current
playing gab will finish playing before moving onto the next. If it so
happens that the inputted Gab would have the same exact settings as a
previously loaded gab within the same queue, it will not be inserted to
prevent any redundancy amongst the conversation.

ForceGab
Once the above settings are complete, use this Plugin Command to clear all
the other gabs in the Gab Window and display the above data.

ClearGab
This clears out the Gab Window of the current gab and any gabs queued.

============================================================================
Changelog
============================================================================

Version 1.05:
- Added 'WaitForGab' plugin command. This plugin command causes the game to
wait until all gabs are finished playing.

Version 1.04:
- Fixed an issue with ForceGab that didn't make it work properly with text
coded Gabs.

Version 1.03a:
- Fixed a bug with GabSound that didn't load the proper sound filenames.
- Fixed the time count for Gabs to not include text codes.

Version 1.02a:
- Added functionality for battle gabs to be saved when going into other
scenes and returning to battle.
- Added GabSwitch x to enable switch x when the gab finishes playing.

Version 1.01:
- Added 'GabParty x' and 'GabPartySprite x' plugin commands to help with
those without dynamic party setups.

Version 1.00:
- Finished Plugin!
パラメータ
param ---General---
default
param Gab Font Name
desc The font name used for the text of the Gab Window.
Default: GameFont
default GameFont

param Gab Font Size
desc The font size used for the text of the Gab Window.
Default: 28
default 28

param Character X Pos
desc X position of the character.
Default: 36
default 36

param Character Y Pos
desc Y position of the character.
Default: 60
default 60

param Base Wait Time
desc Minimum frames the Gab Window stays visible.
Default: 90
default 90

param Time Per Character
desc Frames added per Text Character.
Default: 4
default 4

param Fade Rate
desc Is is how fast the gab window fades away.
Default: 16
default 16

param Anti-Repeat
desc Stops gabs of the same settings from being queued.
NO - false YES - true
default true

param ---Map---
default
param Map Y Location
desc This is the Y location of the Gab Window.
Default: 72
default 72

param Map Dim Color 1
desc This is the dim color 1 used for maps.
Default: rgba(0, 0, 0, 0.6)
default rgba(0, 0, 0, 0.6)

param Map Dim Color 2
desc This is the dim color 2 used for maps.
Default: rgba(0, 0, 0, 0)
default rgba(0, 0, 0, 0.3)

param ---Battle---
default
param Battle Y Location
desc This is the Y location of the Gab Window.
Default: 108
default 108

param Battle Dim Color 1
desc This is the dim color 1 used for battles.
Default: rgba(0, 0, 0, 0.6)
default rgba(0, 0, 0, 0.6)

param Battle Dim Color 2
desc This is the dim color 2 used for battles.
Default: rgba(0, 0, 0, 0)
default rgba(0, 0, 0, 0)

ライセンス表記

紹介ページ https://github.com/suppayami/yami-engine-delta/blob/master/demo/js/plugins/YEP_GabWindow.js