- Joined
- Jul 15, 2017
- Messages
- 59
- Reaction score
- 26
- First Language
- English
- Primarily Uses
- RMMV
I have been using a script to zoom-in (bring the camera closer) and it has worked great... Up until trying to change the scale! Here is the script I'm using by creating an event and typing this into the script line:
$gameScreen.setZoom(Graphics.width / 2, Graphics.height / 2, 2)
It works perfectly until I try to change the scale. I don't think I wrote down what the variables are (where the '"2's" are), so when I change the numbers to, say, 1.5, although the game zooms appropriately, everything is off-center.
Can anyone figure out what those values mean? I don't want to use a plugin for this if I can help it, since most plugins interfere with the Yanfly Core Engine I'm using. Any help would be appreciated!
$gameScreen.setZoom(Graphics.width / 2, Graphics.height / 2, 2)
It works perfectly until I try to change the scale. I don't think I wrote down what the variables are (where the '"2's" are), so when I change the numbers to, say, 1.5, although the game zooms appropriately, everything is off-center.
Can anyone figure out what those values mean? I don't want to use a plugin for this if I can help it, since most plugins interfere with the Yanfly Core Engine I'm using. Any help would be appreciated!

