ChangeWindowResolutionMZ plug-in
Hello, RPG Maker MZ users! The game window size provided by RPG Maker MZ is fixed by default, so adjusting it to the desired resolution requires a lot of work. So I created a plugin that allows you to freely change the game window and canvas resolution! With this plugin, you can easily adjust the window size through GUI commands, and in the NW.js environment, it will adjust to the actual game window size.Main features
Resolution adjustment: You can set the game window and canvas to the desired size. NW.js support: When running based on NW.js, the window size will be automatically adjusted. GUI command provided: Easy to operate through RPG Maker MZ's "plugin command". Script callable: You can change it directly with the changeWindowResolution(width, height); command!
Installation method
1. Download the plugin file below.
2. Put the file in the js/plugins directory of the RPG Maker MZ project folder. 3. Open "Plugin Manager" in RPG Maker MZ editor, add ChangeWindowResolutionMZ plugin and activate it.
4. Select "Plugin Command" → "Change Resolution" in the event and enter the desired resolution!
5. When you run the game, the game window and canvas will be adjusted to the set resolution.
Note
This plugin can only change the game window size in NW.js-based environments.
In non-NW.js environments, only Graphics.resize() is executed and only the canvas size is changed.
Depending on the operating system and NW.js version, window resizing may be limited.
This plugin allows you to create RPG Maker MZ games with more freedom in resolution. Create a great game with a comfortable resolution! (Some codes can be omitted and replaced with download links as needed)
Test environment
RPG Maker MZ version: 1.9.0
OS: Windows 11
Caution to prevent legal issues
Caution and disclaimer
Notice
RPG MAKER MZ íë¬ê·¸ì¸ ì´ì© ìë´
ìëíì¸ì, ë¸ë¡ê·¸ë¥¼ ì°¾ì주ìì¬ë¬ë¶ê» ê°ì¬ ì¸ì¬ë립ëë¤!ì´ê³³ììë ì ê° ì§ìì ìí RPG MAKER MZì© íë¬ê·¸ì¸ë¤ì ê³µì íê³ììµëë¤. ê²ì ì ìì ëìì´ ëì ìë ë¤ìí 기ë¥ì ë´ì¼ë ¤ ë¸ë ¥íì¼ë, ë§ì ê´ì¬ ë¶íë릴ê²ì. ì´ì© ë°©ë²ê° íë¬ê·¸ì¸ ê²ìê¸ìì ë¤ì´ë¡ë ë§í¬ë¥¼ íì¸í´ì£¼ì¸ì. ì¬ì© ì첨ë¶ë ì¤ëªì(ëë íì¤í¸ íì¼)를...
otterscribe.tistory.com
Copyright: This plugin is an original code written by me . It is an extension of the basic code of RPG Maker MZ and can be used freely for commercial/non-commercial projects. However, please indicate the source when redistributing.
Terms of use: This plugin is distributed free of charge and can be modified and distributed secondary. However, if you distribute a modified version, please mention the original author .
Compatibility: This plugin has been confirmed to work properly only in the environment I tested. I cannot guarantee that it will not conflict with other plugins or problems that occur in specific versions.
Disclaimer: I am not responsible for any issues (bugs, data loss, etc.) that may arise from using this plugin. I recommend backing up your project before using it.
Contact: If you have any bugs or suggestions for improvements, please contact me in the comments of this blog.
本贴来自国际rpgmaker官方论坛作者:Otterscribe处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/changewindowresolutionmz-plug-in.176336/
页:
[1]