プレイヤーは写真のコレクションから選択することができるプラグイン – SRD_PictureChoices.js

タイトル
Allows players to have the ability to select from a collection of pictures.
作者名
ヘルプ

Picture Choices
Version 1.00
SumRndmDde


This is a plugin that allows players to have the ability to select from
a collection of pictures.


==========================================================================
Where to Store the Pictures
==========================================================================

All of the image files need to be stored in:

/img/SumRndmDde/choices/


==========================================================================
How to Set up Picture Choices
==========================================================================

Within one of the slots for a Choice in a "Show Choices" event, use:

\picture[image-name]

For example, if you had an image called "Happy.png", then you could do:

\picture[Happy]


Using this, you can assign pictures to each choice.
Keep in mind if even one choice is set up like this, the entire choice
window will use the Picture Choices format.
I would HIGHLY recommend making every choice have an picture assigned to it.


==========================================================================
Picture Choices Grid
==========================================================================

By default, the grid used for the Picture Choices is based on the amount
of choices that are used.

For example:

2 Choices - 2 Columns | 1 Rows
3 Choices - 3 Columns | 1 Rows
4 Choices - 2 Columns | 2 Rows
5 Choices - 5 Columns | 1 Rows
6 Choices - 3 Columns | 2 Rows


However, say for example, you wish to set up a custom grid (like you may
wish to have 3 Rows for 3 Choices), you can use the Plugin Command:

SetPictureChoicesGrid [cols] [rows]

For example:

SetPictureChoicesGrid 1 3


If you wish to set it back to automatic mode, use the Plugin Command:

SetPictureChoicesGrid auto


==========================================================================
End of Help File
==========================================================================

Welcome to the bottom of the Help file.


Thanks for reading!
If you have questions, or if you enjoyed this Plugin, please check
out my YouTube channel!

https://www.youtube.com/c/SumRndmDde


Until next time,
~ SumRndmDde
パラメータ
param Min Scale
desc The scale of the picture when it is not selected.
default 1

param Max Scale
desc The scale of the picture when it is selected.
default 1.5

param Scaling Speed
desc The speed in which the pictures zoom when selecting them.
default 0.04

param Confirm Speed
desc The speed of the animation of a picture when it is chosen.
default 0.2

param Close Speed
desc The speed of the animation of a picture when it closes.
default 0.4

ライセンス表記

紹介ページ https://github.com/SumRndmDde/RPG-Maker-MV-Plugins/blob/master/SRD_PictureChoices.js