Project1

标题: 【MZ 就这?】跳过标题画面 [打印本页]

作者: taroxd    时间: 2020-8-21 08:23
标题: 【MZ 就这?】跳过标题画面
本帖最后由 taroxd 于 2020-8-21 08:50 编辑

看了看自己写过的玩意儿,好像基本上只有这个明显要改……那就改一下吧

https://taroxd.github.io/mvmz-plugins/SkipTitleMZ.html

[pre lang="javascript"]//=============================================================================
// SkipTitle.js
//=============================================================================

/*:
* @target MZ
* @plugindesc Skip Title.
* @author taroxd
*
* @param Test Only
* @desc Whether to skip title only in playtest. true/false
* @type boolean
* @default true
*
* @help This plugin does not provide plugin commands.
*/

;(() => {
    const parameters = PluginManager.parameters('SkipTitle')
    const testOnly = parameters['Test Only'] !== 'false'
    const enable = !testOnly || Utils.isOptionValid("test")

    if (enable) {
        Scene_Boot.prototype.startNormalGame = function() {
            this.checkPlayerLocation()
            DataManager.setupNewGame()
            SceneManager.goto(Scene_Map)
        }
    }
})()
[/pre]
作者: walf_man    时间: 2020-8-21 23:46
这就跳过标题了?真棒呀
作者: 我是李蜀黍    时间: 2020-10-29 16:29
厉害啊{:4_95:}
作者: qq7145    时间: 2020-11-13 00:40
谢谢楼主分享,楼主辛苦了
作者: mmmmttt    时间: 2020-12-30 17:57
厉害!
作者: 745686368    时间: 2021-1-28 21:18
支持楼主,谢谢
作者: mgq910346357    时间: 2021-2-12 16:06
问下楼主为什么我用了这个在测试里是可以正常跳过的,把游戏导出来之后就不能跳过了呀
作者: GOODGUY0719    时间: 2021-5-23 23:18
這是真的很實用的插件,真心感謝您的無私分享
作者: mmmmttt    时间: 2021-5-24 08:20
非常实用,感谢大神!
作者: roudanlunde    时间: 2022-2-10 13:40
本帖最后由 roudanlunde 于 2022-2-11 10:21 编辑

但是部署后还是会有标题界面,只是测试时生效是为什么呢
作者: roudanlunde    时间: 2022-2-10 15:47
但是部署出来后还是到标题界面?
作者: 13176593952    时间: 2022-3-1 14:53
void function() {
        Scene_Title.prototype.start = function() {
            Stage.prototype.initialize.call(this);
            DataManager.setupNewGame();
            SceneManager.clearStack();
            $gamePlayer.requestMapReload();
            SceneManager.goto(Scene_Map);
    }
}();
作者: yxd5108    时间: 2022-6-9 21:00
有效果,不错,在使用中试用中
作者: Xeon    时间: 2022-12-18 10:41
有没有办法能让从菜单返回标题画面时也跳过标题画面呢?




欢迎光临 Project1 (https://rpg.blue/) Powered by Discuz! X5.0