tale

Volunteer
Veteran
Joined
Dec 16, 2016
Messages
809
Reaction score
1,360
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.



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



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: 3
  • PictureChange.js
    971 bytes · Views: 1
  • PictureCopy.js
    1.3 KB · Views: 1

Latest Threads

Latest Posts

Latest Profile Posts

Today I drove through my city of 100,000+ people during rush hour and the streets were nearly empty. Just so I could go get my favorite burger. There a dental assistant (she said that's her other job, even though I didn't ask) took my order and handed me a burger. I know it's bad out there... But wow, she's either atrocious with her money, or "it really be like that".
Chilling out while toodling around someone's painstaking Minecraft recreation of Disneyland. It is mind-boggling and probably as close as I'll ever be to going.
>Testing with fonts change.
>Tries installing a plugin. Doesn't work.
>Tries changing the plugin commands. Doesn't work.
>Tries installing another plugin. Doesn't work.
>Changes a few more plugin commands. Doesn't work.
>Goes directly to the gamefont file and changes the src. Works.

YYEEEAAAAHHHAAAA

Perseverance is key, bois and girls.
What Reviews say on RPG Maker MZ?
Looking back at some sketches, and game design documents on my PC dated summer of 2015. I started development with the release of MZ, but in 2015, I felt a strong desire to make a game out of the blue. I remember feeling sad for no apparent reason, and all these ideas rushed into my head. Now that I think about it, since that day, everything has become easier to do on my PC . . . it’s very creepy.

Forum statistics

Threads
107,808
Messages
1,032,363
Members
139,954
Latest member
Ocren
Top