Is there a script call or plugin command that can set zoom on maps? I would like the camera to be closer to the player on world maps.
MV How to set zoom on maps?
JS Plugin RequestsCheck out SRD’s plugins. He has a camera zoom one.
these are the default zoom scriptcalls:
( i also added a link to srd in the spoiler )
info Video from SRD about Zoom
( i also added a link to srd in the spoiler )
JavaScript:
$gameScreen.startZoom($gamePlayer.screenX(), $gamePlayer.screenY(), 2.0, 30);
// this Zoom-in ,on Cursor to a Scale of "2.0" with a duration of 30 Frames => "Zoom"
$gameScreen.startZoom($gamePlayer.screenX(), $gamePlayer.screenY(), 1.0, 30);
// this Zoom-in ,on Cursor to a Scale of "1.0" with a duration of 30 Frames => "Zoom back"
var xPos = $gamePlayer.screenX();
var yPos = $gamePlayer.screenY();
$gameScreen.setZoom(xPos,yPos,2);
// This prevents the Zoom-Reset, which happens by default on battleActions.
// Loop this ScriptCall to keep the Zoom-Active on Cursor,with a Scale of 2.0 => "Zoom-Active"
$gameScreen.clearZoom();
// this resets the Zoom to default (its INSTANT ,without any duration) => "Zoom-Reset"
JavaScript:
$gameScreen.startZoom(x, y, scale, duration);
$gameScreen.setZoom(x, y, scale);
$gameScreen.clearZoom();
// these are the default ScriptCalls
That's actually pretty cool, I would have figured something like that would have been possible without a plugin though.
Just a quick question, I just watched the video for the Camera Core from SRD and he gives a duration variable when setting zoom... is it possible to have no duration without changing the default zoom in the plugin parameters?
Edit: Oh wait, nevermind. Just read down a little on the page, it seems the duration is just to set the zoom speed. Thanks again!
Gah, it says it doesn't work with parallax mapping. =/
Just a quick question, I just watched the video for the Camera Core from SRD and he gives a duration variable when setting zoom... is it possible to have no duration without changing the default zoom in the plugin parameters?
Edit: Oh wait, nevermind. Just read down a little on the page, it seems the duration is just to set the zoom speed. Thanks again!
Gah, it says it doesn't work with parallax mapping. =/
Moved to: Plugin Requests
Original thread: https://forums.rpgmakerweb.com/threads/how-to-set-zoom-on-maps.134326/