https://github.com/caiofov/screentint-rpgmaker-plugin
A RPG Maker plugin for easily save and change screen tone
https://github.com/caiofov/screentint-rpgmaker-plugin
engine game game-development plugin rpg-maker rpg-maker-plugins rpgmakermv
Last synced: 8 months ago
JSON representation
A RPG Maker plugin for easily save and change screen tone
- Host: GitHub
- URL: https://github.com/caiofov/screentint-rpgmaker-plugin
- Owner: caiofov
- Created: 2023-04-17T01:15:14.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-18T21:34:11.000Z (almost 3 years ago)
- Last Synced: 2025-04-06T22:20:44.438Z (about 1 year ago)
- Topics: engine, game, game-development, plugin, rpg-maker, rpg-maker-plugins, rpgmakermv
- Language: JavaScript
- Homepage:
- Size: 328 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Screen Tint: A RPG Maker plugin
> Clique [aqui](https://github.com/caiofov/ScreenTint-RPGMaker-Plugin/blob/main/docs/README_pt.md) para ler em português
This is an alternative way of changing screen tone.
- [Installation](#installation)
- [How to use](#how-to-use)
- [Command `tone`](#change-screen-tone-directly-via-command)
- [Command `load`](#load-saved-tone)
> Version 1.0.0
## Installation
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.
## How to use
You can use variables (following RPG Maker's syntax - `\v[]`) in all command arguments.
### Change screen tone directly via command:
```
tint tone
```
- `red` (integer - between -255 and 255): red value
- `green` (integer - between -255 and 255): green value
- `blue` (integer - between -255 and 255): blue value
- `gray` (integer - between 0 and 255): gray value
- `frames` (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
```

### Load saved tone:
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` (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
```