设为首页收藏本站同能贴吧 切换语言 繁体中文
开启辅助访问 切换到窄版
搜索附件  
同能RPG制作大师 › 附件中心 › 同能RM技术讨论区 › RPG Maker MV 讨论区 › Kido's Picture Plugin Commands: PictureColorChange.js

Kido's Picture Plugin Commands: PictureColorChange.js

 

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.





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:       


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/
简体中文
繁體中文
English(英语)
日本語(日语)
Deutsch(德语)
Русский язык(俄语)
بالعربية(阿拉伯语)
Türkçe(土耳其语)
Português(葡萄牙语)
ภาษาไทย(泰国语)
한어(朝鲜语/韩语)
Français(法语)
关闭

幸运抽奖

社区每日抽奖来袭,快来试试你是欧皇还是非酋~

立即查看

Loading...

QQ|Archiver|手机版|小黑屋|同能RPG制作大师 ( 沪ICP备12027754号-3 )

GMT+8, 2026-10-24 21:13 , Processed in 0.052476 second(s), 20 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

返回顶部