Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
42,495
Reaction score
14,823
First Language
English
Primarily Uses
RMMV
Save Screen Tint
2018.01.28
by Shaz

Introduction
This simple little plugin lets you save the current screen tint and restore it at a later time. Useful when you want to temporarily change the screen tint, but don't know what to change it back to (for example, calling a 'sleep' common event that darkens the screen, from events on maps that might be inside, outside, in a dungeon, which all have different screen tints).

How to use
Add plugin to your js/plugins folder - name should be Shaz_SaveScreenTint.js - and enable in plugin manager.

Plugin Commands
SaveScreenTint - saves the current screen tint (this gets saved to your save game, so the player can save & load before restoring).

RestoreScreenTint - restores the last-saved screen tint, with no delay.

RestoreScreenTint 5 - restores the last-saved screen tint, with a 5 second duration.

RestoreScreenTint 5 true - restores the last-saved screen tint, with a 5 second duration, pausing until the restore is complete.

The duration can be a formula to be evaluated - make sure there are no spaces.

Plugin
Download from pastebin
make sure to save it as Shaz_SaveScreenTint.js

Credit
- Shaz

Terms
- free for use in commercial games
- do not post elsewhere - link back to this page
 

Canini

Veteran
Veteran
Joined
Mar 29, 2016
Messages
1,025
Reaction score
694
First Language
Swedish
Primarily Uses
RMVXA
This saves a lot of work. Thanks!
 

Latest Threads

Latest Profile Posts

Ohh man, Weapon animations plugin feels so mandatory. Seeing that same image regardless of the icon of the weapon....ugh :p
Ok so......Maaaaybe I've taken a ''little'' bit of inspiration from FF9 when it comes to battle hud xD

ff9.PNG

Just maybe....
New version of my wife's art for Tundra's opening map. No new version of Katrina yet, but I think this looks awesome.1624062754755.png
Devil May Cry-Style Action Shooter in RPG Maker 2000! | RPG Maker News #75

Forum statistics

Threads
112,354
Messages
1,067,698
Members
146,002
Latest member
Raytoly
Top