Single Splash Screen V1.0
By: Roninator2
Introduction
This script lets you show a splash screen.
Specify in the script what image you will use for the splash screen.
Features
One splash screen is shown.
Pretty simple.
Details
Image must be in Graphics/System folder.
Script
By: Roninator2
Introduction
This script lets you show a splash screen.
Specify in the script what image you will use for the splash screen.
Features
One splash screen is shown.
Pretty simple.
Details
Image must be in Graphics/System folder.
Script
Code:
#===============================================================================
# Roninator2 : Single Splash Screen
#===============================================================================
# Coded by : Roninator2
#===============================================================================
#========================DESCRIPTION & TERMS OF USE============================#
# This script adds a simple splash image before the title screen
#===============================================================================
# Free for Commercial & Non-Commercial use. As long as I'm credited.
#===============================================================================
module R2_Splash
Splash = "Splash" # The Image that'll serve as a splash image
end
class Scene_Title < Scene_Base
def start
super
create_splash
end
def startup
load_database # Load database
create_game_objects # Create game objects
check_continue # Determine if continue is enabled
create_title_graphic # Create title graphic
create_command_window # Create command window
play_title_music # Play title screen music
end
def create_splash
@splash = Sprite.new
@splash.bitmap = Cache.system(R2_Splash::Splash)
perform_transition
Graphics.fadein(30)
hold
end
def hold
Graphics.wait(120)
Graphics.fadeout(60)
dispose_splash
end
def dispose_splash
@splash.bitmap.dispose
@splash.dispose
startup
perform_transition
Graphics.fadein(30)
end
end