Change Fade Time
Version: 1.0
Author: Pacman
Release Date: 31/01/2012
Introduction
This script will alter the number of frames it takes to fade the screen in and out (with the default commands). This is done with a simple script call. You can also set an individual fadein or fadeout to have a different number of frames.
Features
You can change the amount of time it takes for the screen to fade in and out.
You can also call a fadein or fadeout with a specific number of frames.
Script
Get it at Pastebin.
Customization
Set INITIAL_FRAMES to the number of frames it takes to fade in and out from the beginning of the game at line 22.
Use these script calls to do the functions described next to them:
change_fade_time(n) - Change the number of frames it takes to fade in and out to n.
fadein(n) - Fade the screen in with n frames.
fadeout(n) - Fade the screen out with n frames.
Keeping in mind that 60 frames = 1 second.
Compatibility
I overwrote command_221 and command_222 of Game_Interpreter. If any other scripts refer to or overwrite these methods, there could be an incompatibility. Please report an incompatibility if you find one.
Screenshot
N/A
DEMO
N/A
Installation
Paste above main, follow instructions in script header.
FAQ
None as of yet.
Terms and Conditions
Credits
- Pacman