Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
3,219
Reaction score
728
First Language
English
Primarily Uses
RMVXA
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

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
 

booooop

Villager
Member
Joined
Jun 15, 2019
Messages
10
Reaction score
2
First Language
English
Primarily Uses
RMMV
this works, good job, if i make a good enough game with this ill be sure to credit you :)
 

Latest Threads

Latest Posts

Latest Profile Posts

Changed my avatar, goodbye Alan Sugar, hello George Carlin (one of my favorite human beings ever)
If you still don't subscribe our Polish channel please consider it :)
1.png
Who wants to see my review of the worst star wars movie? This movie has all the excitement of being on Jury Duty of the most boring case ever about trade negotiations.
A lot to learn to make a game. Can I handle it?
I've been working on status effects since last thursday, and today I finished the core mechanic of Zombie, Teleport, Curse and Recall. Zombie and Curse are lacking a few things to make them complete atm. Teleport though is the "HAHA" spell for some of my mobs, but can "NOPE" at them with Recall.

Forum statistics

Threads
115,169
Messages
1,087,780
Members
149,712
Latest member
Darksynergy
Top