Any script call to change the screen res of the whole game? (In an event, not in the system settings)
Res Change
RPG Maker MV Supportwhy by event?
this might do the trick in theory, so run it in event, and change the top 2 values.
not sure why on event and not through options as there are plugins to do that.
JavaScript:
let width = 816;
let height = 624
SceneManager._screenWidth = width;
SceneManager._screenHeight = height;
SceneManager._boxWidth = width;
SceneManager._boxHeight = height;
this might do the trick in theory, so run it in event, and change the top 2 values.
not sure why on event and not through options as there are plugins to do that.
Cuz I want it to happen mid game! Thanks for the script 🙂
Doesn't quite work...It just doesn't do anything, not an error, not anything else
Doesn't quite work...It just doesn't do anything, not an error, not anything else
I can make a simple plugin, so you can use scriptcall to change the
resolution in a simple way. but I don't think there is a specific scriptcall
in general without a plugin.
Edit:
looking quickly, you might be able using the following probably:
as you want to use both to center the window nicely.
but you got to test it out.
resolution in a simple way. but I don't think there is a specific scriptcall
in general without a plugin.
Edit:
looking quickly, you might be able using the following probably:
JavaScript:
window.resizeBy(adjustX, adjustY)
window.moveBy(x, y);
as you want to use both to center the window nicely.
but you got to test it out.
Original thread: https://forums.rpgmakerweb.com/threads/res-change.175879/