RPG Maker Forums

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

Latest Threads

Latest Posts

Latest Profile Posts

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.
Can someone recommend some fun story-heavy RPGs to me? Coming up with good gameplay is a nightmare! I was thinking of making some gameplay platforming-based, but that doesn't work well in RPG form*. I also was thinking of removing battles, but that would be too much like OneShot. I don't even know how to make good puzzles!
one bad plugin combo later and one of my followers is moonwalking off the screen on his own... I didn't even more yet on the new map lol.

Forum statistics

Threads
106,035
Messages
1,018,455
Members
137,821
Latest member
Capterson
Top