Clique aqui para ler em português
This is an alternative way of changing screen tone.
Version 1.0.0
You must download the file ScreenTint.js
and move it to your project's plugin folder. After that, add and enable it on RPG Maker.
You can use variables (following RPG Maker's syntax - \v[<variable_id>]
) in all command arguments.
tint tone <red> <green> <blue> <gray> <frames>
red
(integer - between -255 and 255): red valuegreen
(integer - between -255 and 255): green valueblue
(integer - between -255 and 255): blue valuegray
(integer - between 0 and 255): gray valueframes
(integer): transition's duration (60 frames = 1 second)
Example
Turning into red (255,0,0,0) in 60 frames
tint tone 255 0 0 0 60
- With variable: Assigning the first value (255) to variable #1, it is possible to use its id instead of the color value
tint tone \v[1] 0 0 0 60
You can also save tones in the 'Saved Tones' field on plugin's parameters. To load them, you must use the following command:
tint load <saved tone identifier>
saved tone identifier
(string): saved tone's name
Warning: It is case sensitive
Example
Loading the following tone, which must be specified in plugin's parameters
tint load normal