tale

Volunteer
Veteran
Joined
Dec 16, 2016
Messages
817
Reaction score
1,422
First Language
English
Primarily Uses
N/A
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.

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.

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[3] \V[4]

Another feature
You can change the picture tint.

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[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:
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
 

Attachments

  • PictureColorChange.js
    6.1 KB · Views: 6
  • PictureChange.js
    971 bytes · Views: 2
  • PictureCopy.js
    1.3 KB · Views: 2

Latest Threads

Latest Posts

Latest Profile Posts

Yay! the original character contest 3 pack is here!
Both MV and MZ looks very good, congratulation for both RMW and Tkool participant!
I definitely can add these characters to use for my game project.

Steam link
The worst part of game development has to be marketing. Ugh...
May be starting a new job in a month or so. The thought is both exciting and terrifying.
Not like a rollercoaster though. Rollercoasters are just terrifying.
"Merchants don't sell you a product. They sell you something RIGHT NOW. That's all they're selling, the product of having what you want RIGHT NOW and not having to wait for it."
I hope everyone at home doing well and be healthy

Forum statistics

Threads
112,475
Messages
1,068,541
Members
146,140
Latest member
Host_py3
Top