本帖最后由 治晗于 于 2025-1-24 14:20 编辑
修改游戏文件夹js目录下的rmmz_scenes.js文件,第357行的代码:
Scene_Boot.prototype.adjustBoxSize = function() { const uiAreaWidth = $dataSystem.advanced.uiAreaWidth; const uiAreaHeight = $dataSystem.advanced.uiAreaHeight; const boxMargin = 4; //原代码,菜单、对话的窗口大小会自动适应游戏分辨率 Graphics.boxWidth = uiAreaWidth - boxMargin * 2; Graphics.boxHeight = uiAreaHeight - boxMargin * 2; //将上面两行代码替换成下面的,把窗口大小修改为你想要的固定值 Graphics.boxWidth = 816 - boxMargin * 2; Graphics.boxHeight = 624 - boxMargin * 2; };
Scene_Boot.prototype.adjustBoxSize = function() {
const uiAreaWidth = $dataSystem.advanced.uiAreaWidth;
const uiAreaHeight = $dataSystem.advanced.uiAreaHeight;
const boxMargin = 4;
//原代码,菜单、对话的窗口大小会自动适应游戏分辨率
Graphics.boxWidth = uiAreaWidth - boxMargin * 2;
Graphics.boxHeight = uiAreaHeight - boxMargin * 2;
//将上面两行代码替换成下面的,把窗口大小修改为你想要的固定值
Graphics.boxWidth = 816 - boxMargin * 2;
Graphics.boxHeight = 624 - boxMargin * 2;
};
这样就解决了。 |