じ☆ve冰风 发表于 2026-7-28 08:19:36

Kido's Picture Plugin Commands

PictureColorChange - 2018/08/16

To change a picture with hue and tint.

Feature
You can change the hue of picture with a different color as shown in the preview.


https://i.imgur.com/W0IAf2A.gif


Based on the hue-ring around 360 degrees, as shown below.
For white/ black and monochrome images- changing that color won't be effected.


https://i.imgur.com/2rTOqfS.png


Plugin Command

                Code:       
RotateHue arg0 arg1



arg0 = picture number, arg1 = angle of rotation (in degrees)

Example: RotateHue 1 180

Argument can be a control character as a variable.

Example: RotateHue \V \V

Another feature
You can change the picture tint.


https://i.imgur.com/7DnCpBy.gif


Plugin Command

                Code:       
SetTint arg0 arg1



arg0 = picture number, arg1 = color value. Examples are same

Example: SetTint 1 0xFF0000
Example: SetTint 1 16711680

Argument can be a control character as a variable.

Example: SetTint \V \V

If you specify a value for each RGB-

                Code:       
SetTint arg0 arg1 arg2 arg3



arg0 = picture number | arg1, arg2, arg3 are values of rgb

Example: SetTint 1 255 0 0

Argument can be a control character as a variable.

Example: SetTint \V \V \V \V

Dropbox link: https://www.dropbox.com/s/33ijcnewmzpnjrz/PictureColorChange.js?dl=1

-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_

PictureChange - 2018/10/19

To change the file name by picture number with plugin command.

Plugin command

                Code:       
change arg0 arg1



arg0 = picture number
arg1 = name of the file

Example: change 13 button2

Dropbox link: https://www.dropbox.com/s/obw58ohu95ldaz6/PictureChange.js?dl=1

-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_

PictureCopy - 2019/03/15

To change the picture number.

Plugin command

                Code:       
copy arg0 arg1 arg2



arg0 = picture number source
arg1 = copy destination picture number (if blank, removes)
arg2 = Leave blank or set to true. (if true, both remains)

Example: copy 13 14
Example: copy 14

Note- Kido managed to avoid flicker issue by copying the picture before changing hue/ tint. If set to true for arg2, you may want to show picture for arg 1.

Picture plugin does require the use Show Picture event.
Plugin Commands helps with event organization.
Also to cut down process if you're not using Position, Scale, and Blend.

Dropbox link: https://www.dropbox.com/s/g0e2ouf0jkybsz6/PictureCopy.js?dl=1

Credit and Thanks: kido0617

Terms of Use- Free for commercial and non-commercial use.

License- MIT License: http://opensource.org/licenses/mit-license.php

Source
https://github.com/kido0617/rpgmakerMV-plugin


本贴来自国际rpgmaker官方论坛作者:ovate处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/kidos-picture-plugin-commands.130563/
页: [1]
查看完整版本: Kido's Picture Plugin Commands