Splash Screen
Single Splash Screen V1.0By: 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
Spoiler: Single Splash Screen 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_SplashSplash = "Splash" # The Image that'll serve as a splash imageendclass Scene_Title < Scene_Basedef start super create_splashend 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 musicenddef create_splash @splash = Sprite.new @splash.bitmap = Cache.system(R2_Splash::Splash) perform_transition Graphics.fadein(30) holdenddef hold Graphics.wait(120) Graphics.fadeout(60) dispose_splashenddef dispose_splash @splash.bitmap.dispose @splash.dispose startup perform_transition Graphics.fadein(30)endend
本贴来自国际rpgmaker官方论坛作者:Roninator2处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/splash-screen.110992/
页:
[1]