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.
Based on the hue-ring around 360 degrees, as shown below.
For white/ black and monochrome images- changing that color won't be effected.
Plugin Command
Code:
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[3] \V[4]
Another feature
You can change the picture tint.
Plugin Command
Code:
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[3] \V[4]
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[3] \V[4] \V[5] \V[6]
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:
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:
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/