じ☆ve冰风 发表于 2026-7-26 08:44:26

NonFadeBGMforTitle

YME_NonFadeBGMforTitle - Feb 8, 2016

Creator name: Yumineko

Overview
When New Game is selected from the Title Screen it proceeds to the Map Scene without fading out the title music.

Features
- Title screen music goes uninterrupted when it goes to the map scene.
- There's no plugin command.
- Short code length.

License - Public Domain, credit is not necessary
                Code:       
//=============================================================================
// YME_NonFadeBGMforTitle.js
//=============================================================================

/*:
* @plugindesc When New Game is selected from the Title Screen it proceeds to the Map Scene without fading out the title music.
* @author Yumineko
*
* @help There's no plugin command in particualr.
*
* License:
* This plugin is licensed under public domain.
* Free feel to use this without any restrictions, Yumineko isn't responsible for your actions.
*/

(function() {
    Scene_Title.prototype.commandNewGame = function() {
      DataManager.setupNewGame();
      this._commandWindow.close();
      //this.fadeOutAll();
      var time = this.slowFadeSpeed() / 60;
      this.startFadeOut(this.slowFadeSpeed());
      SceneManager.goto(Scene_Map);
    };
})();


You can download the js file from the thread attachment or Dropbox link: https://www.dropbox.com/s/hhegx6n4h5czikj/NonFadeBGMforTitle.js?dl=1


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