rpgmakermv吧 关注:21,831贴子:68,619
  • 2回复贴,共1

大佬们,这种情况怎么回事啊

只看楼主收藏回复

测试游戏时发现的,这个怎么办?


IP属地:陕西来自Android客户端1楼2023-08-19 06:21回复
    首先要把电脑关机重启,试一下是不是还是一样。
    然后,你是不是改了插件或者是本来的js文件?
    你打开rpg_scenes.js文件。
    通过检索The scene class of the title screen.找到
    地图屏幕的场景类。(每个场景类都被两个横的长虚线给分隔开了)
    在这个场景类中,重点关注以下的代码,看一下有什么不一样的。
    Scene_Title.prototype.createCommandWindow = function() {
    this._commandWindow = new Window_TitleCommand();
    this._commandWindow.setHandler('newGame', this.commandNewGame.bind(this)); this._commandWindow.setHandler('continue', this.commandContinue.bind(this)); this._commandWindow.setHandler('options', this.commandOptions.bind(this)); this.addWindow(this._commandWindow);
    };
    Scene_Title.prototype.commandNewGame = function() {
    DataManager.setupNewGame();
    this._commandWindow.close();
    this.fadeOutAll();
    SceneManager.goto(Scene_Map);
    };
    Scene_Title.prototype.commandContinue = function() {
    this._commandWindow.close();
    SceneManager.push(Scene_Load);
    };
    Scene_Title.prototype.commandOptions = function() {
    this._commandWindow.close();
    SceneManager.push(Scene_Options);
    };
    Scene_Title.prototype.playTitleMusic = function() {
    AudioManager.playBgm($dataSystem.titleBgm);
    AudioManager.stopBgs();
    AudioManager.stopMe();
    };
    如果你找不出问题的话,你就试着把这一整个关于地图屏幕的场景类。
    分两到三次复制给文心一言,(文心一言好像每次最多输入2000字)
    让文心一言翻译给你看,以及让它试着找一下代码有没有问题。
    如果还解决不了的话,就到rpg_scenes.js文件去检索Scene_Title,
    把每一个被检索出来的代码都复制粘贴到文心一言那里去翻译,让它给你解答。


    IP属地:广东2楼2023-08-19 09:01
    收起回复