Description: Allows to use a graphic buttons instead of the choice window.
Features:
Use images instead of a choice window.
Use glow to highlight the current selection*.
Use transparency for inactive images.
* – installation of the third-party pixi-filters library is required.
Compatibility:
RPG Maker MV: 1.5+
RPG Maker MZ: 1.0+
Instruction:
spoiler
Attention! To use a graphical choice
it is necessary that all choices be written through a pattern!
Use the following pattern instead of choice text:
/pic[filename|text|x|y]
filename - Image filename.
text - Choice text.
x, y - X and Y coordinates. Calculated with Javascript.
Example:
/pic[button1|Text1|100|100]
Example (coordinates from variables):
/pic[button2|Text2|$gameVariables.value(ID1)|$gameVariables.value(ID2)]
Example (no text):
/pic[button3||100|100]
If you need the filename or text to be calculated using Javascript,
then use the following template:
/pic[eval(filename)|eval(text)|x|y]
Example:
/pic[eval($gameVariables.value(ID1))|Text1|100|100]
Example:
/pic[button2|eval($gameVariables.value(ID1))|100|100]
Preview (with black glow effect):
GIF
Changelog:
spoiler
Version 1.3.0:
Added the ability to use the eval function to calculate the name of an image and/or text.
Help updated.
Version 1.2.0:
Added a plugin command to set the horizontal arrangement of selection commands (needed to toggle the selection left/right from the keyboard).
Added some optimizations.
Fixed mouse select bug on RPG Maker MV (thanks to Jitsu).
Version 1.1.0:
Added selection effect setting (no effect or glow effect*).
Added deselection effect setting (no effect or transparency).
Fixed a bug with no sounds.
Fixed bug with mouse selection.
Fixed freeze in subsequent elections.
* – installation of the third-party pixi-filters library is required.
You must be logged in to post a comment.