Introduction
This script applies a default screen tone before the game starts. It is used to allow you to rearrange things on the screen: events you need overlaying on top of one another, pictures you need showing, and so on. Otherwise there would be a split second glimpse of your scene before the screen changes to black, which would be no good!
Settings
You can change the red, green, and blue values to give the screen your own tone (more useful if you want to change it to white (255,255,255)) although most will probably use black anyway (default).
Instructions
Include the script before main but after the rest of the default scripts (right click main -> insert).
Move your events around in your scene with an autorun event, and then use the screen tone event to change the tone to 0,0,0 (or whatever you need) to show everything.
Script
Credits and Notes
As this is such a short script no credit is necessary.
This script applies a default screen tone before the game starts. It is used to allow you to rearrange things on the screen: events you need overlaying on top of one another, pictures you need showing, and so on. Otherwise there would be a split second glimpse of your scene before the screen changes to black, which would be no good!
Settings
You can change the red, green, and blue values to give the screen your own tone (more useful if you want to change it to white (255,255,255)) although most will probably use black anyway (default).
Instructions
Include the script before main but after the rest of the default scripts (right click main -> insert).
Move your events around in your scene with an autorun event, and then use the screen tone event to change the tone to 0,0,0 (or whatever you need) to show everything.
Script
Code:
#==============================================================================
# ** Default screen tone
#------------------------------------------------------------------------------
# Sets a default screen tone so that you can rearrange the set before
# the game starts.
#==============================================================================
class Game_Screen
alias :initialize_amy_tone :initialize
#--------------------------------------------------------------------------
# * Object Initialization, aliased
#--------------------------------------------------------------------------
def initialize
#------------------------------------------------------------------------
# * Script settings: change these values, -255 -255 -255 = black
#------------------------------------------------------------------------
red = -255
green = -255
blue = -255
#------------------------------------------------------------------------
# * Call the default initialize method, aliased
#------------------------------------------------------------------------
initialize_amy_tone
#------------------------------------------------------------------------
# * Sets the tone
#------------------------------------------------------------------------
@tone = Tone.new(red, green, blue)
end
end
Credits and Notes
As this is such a short script no credit is necessary.