//============================================================================= // ResizeWindow.js //============================================================================= /*: * @plugindesc Resize window size & content size to 1280*720. * @author LazyKnight * * @help This plugin does not provide plugin commands. * * - Set "{RMMV_ROOT_DIRECTORY}\nwjs-win\package.json" width & height to 1296 & 758 for fit new window size. * - Didn't test on Android & iOS yet. */ void function() { SceneManager._screenWidth = 1280; SceneManager._screenHeight = 720; SceneManager._boxWidth = 1280; SceneManager._boxHeight = 720; window.resizeTo(1296, 758); // ignore this if manual changed "package.json" width & height. }();
image_20160313_141407.jpg (70.39 KB, 下载次数: 42)
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |