じ☆ve冰风 发表于 2026-7-27 15:33:52

Skip Title Screen

Skip Title Screen v1.11
Author: Squirting Elephant



Introduction
Skips the title screen so you can debug & playtest your game faster.

Features
Spoiler: Features- Skips the title screen without even loading it.
- Optionally skips the title screen when called through other code and/or through the menu. This can also be replaced by another scene of your choice through the plugin parameter.
- Optionally does not skip the title screen if at least one save file is present.
- You can configure the starting scene.
How to Use
Plug & play.

Script
Download v1.11
Download Master Demo

Spoiler: Old versionsVersion 1.02
                Code:       
//=============================================================================
// SilvSkipTitle.js
// Version: 1.02
// License: Public Domain or CC0
//=============================================================================
/*:
* @plugindesc v1.00 Skips Title Screen
   <SilverSkipTitle>
* @author Silver
*
* @param Skip Title Screen Entirely
* @desc Set to false to load the titlescreen briefly. true/false
* @default true
*
* @param Skip If Savefile Present
* @desc Skip the titlescreen if one or more savefiles are present? true/false
* @default true
*
* @param FadeOut Title
* @desc Only applies when SkipTitleScreenEntirely is set to false. true/false
* @default false
*
* @help No credits required, modify as you see fit.
*/

(function()
{
// Get Plugin Parameters
var Silv = Silv || {};
Silv.Parameters = $plugins.filter(function(p) { return p.description.contains('<SilverSkipTitle>'); }).parameters;
Silv.SkipTitle = Silv.SkipTitle || {};
Silv.SkipTitle.SkipTitleScreenEntirely = Silv.Parameters['Skip Title Screen Entirely'].toLowerCase() == 'true';
Silv.SkipTitle.SkipIfSavefilePresent   = Silv.Parameters['Skip If Savefile Present'].toLowerCase() == 'true';
Silv.SkipTitle.FadeOutTitle            = Silv.Parameters['FadeOut Title'].toLowerCase() == 'true';

function ShowTitleScreen() { return DataManager.isAnySavefileExists() && !Silv.SkipTitle.SkipIfSavefilePresent; }

// Skipping the title screen entirely
var alias_methodSceneBootStart = Scene_Boot.prototype.start;
Scene_Boot.prototype.start = function()
{
    if (Silv.SkipTitle.SkipTitleScreenEntirely && !ShowTitleScreen())
    {
      Scene_Base.prototype.start.call(this);
      SoundManager.preloadImportantSounds();
      if (DataManager.isBattleTest()) {
            DataManager.setupBattleTest();
            SceneManager.goto(Scene_Battle);
      } else if (DataManager.isEventTest()) {
            DataManager.setupEventTest();
            SceneManager.goto(Scene_Map);
      } else {
            this.checkPlayerLocation();
            DataManager.setupNewGame();
            SceneManager.goto(Scene_Map);
      }
      this.updateDocumentTitle();
    }
    else
    {
      alias_methodSceneBootStart.apply(this, arguments);
    }
};

// Fading closing and optionally fading the titlescreen entirely.
var alias_method_SceneTitleStart = Scene_Title.prototype.start;
Scene_Title.prototype.start = function()
{
    if(ShowTitleScreen)
    {
      alias_method_SceneTitleStart.apply(this, arguments);
    }
    else // Skip title screen
    {
      DataManager.setupNewGame();
      this._commandWindow.close();

      if (Silv.SkipTitle.FadeOutTitle) { this.fadeOutAll(); }

      SceneManager.goto(Scene_Map);
    }
};
})();


License:
Public Domain or CC0.
Do whatever you want. No credits required.


本贴来自国际rpgmaker官方论坛作者:SilverDash处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/skip-title-screen.48510/
页: [1]
查看完整版本: Skip Title Screen