Masked 

Assistant
Regular
Joined
Oct 28, 2015
Messages
114
Reaction score
310
First Language
Portuguese
Primarily Uses
RMMZ




m6BRKBq.png

MBS - Map Zoom
by Masked





Introduction
This plugin allows you to change the map zoom with some simple Plugin Commands, I made this based on this post.


Features
- The map scroll and mouse/touch movement are adapted to work with zoom;
- You can choose if the zoom is reseted when the map changes or not;
- You can choose how many time the zoom operation will take;
- You can choose the script to center on a specific coordinate or an event while zomming;
- You can make some images scale along with the map (just add [Zoom] to their names).


How to use
Save the plugin in a .js file on your game's js/plugins folder, there's no need to write the exact script name thanks to this workaround.
Further information on plugin help.


Script
GitHub: https://github.com/MaskedRpg/JS/blob/master/mv/MBS_MapZoom.js
MV Plugins: http://mvplugins.com/plugin/Masked/MBS%20-%20Map%20Zoom
 

Credits
- Masked, for creating.
 
Last edited by a moderator:

Karberus

The other Victor
Regular
Joined
Jun 2, 2012
Messages
67
Reaction score
68
First Language
Spanish
Hey, I tried this and it works but for some reason neither the boat, ship, or airship appear while this plugin is ON. 

It's weird, for a second there I was like "I'm sure I set the starting position of the boat here o.o" lol
 

Fernyfer775

Regular
Regular
Joined
Oct 6, 2013
Messages
1,319
Reaction score
831
First Language
English
I really like this, just one small request. Can you add a "change to zoom in X frames" option to it? As it is now, if we use this in a cut-scene, it's a bit jarring to have it instantly zoom in, instead of smoothly zooming in. 

EDIT: If you have a map zoomed in and then you enter a battle, the game will crash upon returning to the map after battle.
 
Last edited by a moderator:

nightwalker

Villager
Member
Joined
Aug 11, 2014
Messages
22
Reaction score
4
First Language
Portuguese
Primarily Uses
I really like this, just one small request. Can you add a "change to zoom in X frames" option to it? As it is now, if we use this in a cut-scene, it's a bit jarring to have it instantly zoom in, instead of smoothly zooming in. 
Since XP I want to do that on my games. It would be an awesome feature.
 

203x

Warper
Member
Joined
May 22, 2012
Messages
2
Reaction score
0
First Language
chinese
Great!

But does not support a mouse click.
 

Vandeliar

Regular
Regular
Joined
Oct 31, 2013
Messages
68
Reaction score
6
First Language
German
Primarily Uses
How to use your script ??

I put it in the Event with a Plugin command:

MapZoom set 2

But, it isn't working.

Maybe i missed something ??
 

MakoTorii

Regular
Regular
Joined
May 9, 2013
Messages
66
Reaction score
12
First Language
English
Primarily Uses
Opening the menu and exiting while you are zooming resets the zoom back to normal. Also, the mouse control isn't working correctly after the zoom.
 

 Masked 

Assistant
Regular
Joined
Oct 28, 2015
Messages
114
Reaction score
310
First Language
Portuguese
Primarily Uses
RMMZ
Updated the script:

- Fixed the vehicle bug;

- Added zoom duration parameter on the plugin command;

- Fixed mouse movement on zoom;

- Fixed zoom reset when menu scene was called;

- Fixed crash after battle. Couldn't test it very well, though...

How to use your script ??

I put it in the Event with a Plugin command:

MapZoom set 2

But, it isn't working.

Maybe i missed something ??
That's weird, I tried the same command here and everything worked o.o

Try using the new version, maybe it were something related to the changes I did...
 

Vandeliar

Regular
Regular
Joined
Oct 31, 2013
Messages
68
Reaction score
6
First Language
German
Primarily Uses
After you updated it, it works perfect now.

Just a little bug, if you have a battle and go back to the map and you want to move instant, the character got 2 times stucked (looks like lag) and then

he move normal again.

I mention it after a Fight, and had still zoomed in.

But with just a waitcommand of 60 frames, this lag is gone after the battle.

but anyways, you made my day. I have big plans with your Script :D

Edit: Found the bug with the Menu also, if you enter the Main Menu and go back to the Map, you get stucked also 2 stimes.
 
Last edited by a moderator:

hmind

Regular
Regular
Joined
Sep 30, 2015
Messages
74
Reaction score
35
First Language
German
hey it is working so far, but when i have zoomed in and walk, every entered tile the screen jumps 48 pixels, so it's not smooth at all.

edit: sry i solved this, making the event an autorun and then erase it instead of using parallel process. thx its a nice plugin.

edit: mh with this method now after battle i am stuck and the tiles are black.. probably better to call it via notetag?
 
Last edited by a moderator:

Fernyfer775

Regular
Regular
Joined
Oct 6, 2013
Messages
1,319
Reaction score
831
First Language
English
Thanks for the fixes. Another thing has come up though.

If you access your party menu, and then exit the menu, the character/map spazes out for a few steps, and then it goes back to normal.
 
Last edited by a moderator:

tati light

Regular
Regular
Joined
Aug 15, 2015
Messages
160
Reaction score
110
First Language
English
Primarily Uses
This plugin is just what I was looking for!

However, there is a heavy bug where the entire screen stutters for a short duration when you change map or go in/out menu.

I hope this plugin gets fixed, it's really a good plugin to have.

Thanks very much for creating this plugin!
 
Last edited by a moderator:

figuremaster

Regular
Regular
Joined
Nov 7, 2014
Messages
60
Reaction score
10
First Language
English
Very useful plug in !  

ONLY IT HAS A FATAL BUG ..

somehow SAVING / LOADING GAME is blocked with this plug in.

It disables user from saving any game. I couldn't save any game since I installed this plug in. (is it just me?)

I made a new project and install only this plug in to test this and still couldn't save and load any game.

this will be a great plugin if this gets fixed. please look into this. thank you very much!

Thanks for fixing. it works fine ! :)
 
Last edited by a moderator:

 Masked 

Assistant
Regular
Joined
Oct 28, 2015
Messages
114
Reaction score
310
First Language
Portuguese
Primarily Uses
RMMZ
Script updated:


- Fixed map flicker after scene changes;


- Fixed save crash when using the script;


- Fixed the zoom speed, it was not working as expected (the speed decreased after each frame).


Hope you enjoy o/
 
Last edited by a moderator:

wizaerd

Regular
Regular
Joined
Mar 13, 2012
Messages
219
Reaction score
28
First Language
English
Primarily Uses
>> Automatically center screen on character when zoom changes;

Can this be optional?  Or better yet, let me specify either an event, or an X,Y postion to zoom in on?
 

 Masked 

Assistant
Regular
Joined
Oct 28, 2015
Messages
114
Reaction score
310
First Language
Portuguese
Primarily Uses
RMMZ
>> Automatically center screen on character when zoom changes;


Can this be optional?  Or better yet, let me specify either an event, or an X,Y postion to zoom in on?
Updated the plugin, now you can do that, just use this plugin command:

Code:
MapZoom center x y
Or, if you want to center on an event:
Code:
MapZoom center event id
And to reset it:
Code:
MapZoom center reset
 
Last edited by a moderator:

wizaerd

Regular
Regular
Joined
Mar 13, 2012
Messages
219
Reaction score
28
First Language
English
Primarily Uses
Thanx... really great for cutscenes...
 

Firgof

Artist / Designer
Regular
Joined
Jul 29, 2012
Messages
236
Reaction score
215
First Language
English
Primarily Uses
The script doesn't seem to be playing nice with TDDP_BindPictureToMap.  Will there be compatibility for this at some point?

Also the default zooming behavior doesn't appear to center on the player character and the boxes drawn for showing the destination point are not offset relative to the amount we have zoomed in.
 

hermesisdead

Villager
Member
Joined
Oct 26, 2015
Messages
13
Reaction score
1
First Language
English
For some reason I cannot get the plugin to work. So I put in "MapZoom set 2.0 1.5 duration 20" without the quotes,  into a plugin command event, just to be trigger if a player walks up and touches it. I put on a screen flash to make sure i knew it worked and the screen flashes as it's supposed to, but for some reason there is no zoom?

I'm not sure if maybe I am missing something or not :x
 

 Masked 

Assistant
Regular
Joined
Oct 28, 2015
Messages
114
Reaction score
310
First Language
Portuguese
Primarily Uses
RMMZ
The script doesn't seem to be playing nice with TDDP_BindPictureToMap.  Will there be compatibility for this at some point?


Also the default zooming behavior doesn't appear to center on the player character and the boxes drawn for showing the destination point are not offset relative to the amount we have zoomed in.
I'll work on it and oops, my fault, I forgot to test centering the player when zooming xD


Updated it.


I didn't get what's wrong with the destination sprite, it looks normal here, try getting the updated version, maybe it had something to do with the scroll or the screen centering.

For some reason I cannot get the plugin to work. So I put in "MapZoom set 2.0 1.5 duration 20" without the quotes,  into a plugin command event, just to be trigger if a player walks up and touches it. I put on a screen flash to make sure i knew it worked and the screen flashes as it's supposed to, but for some reason there is no zoom?


I'm not sure if maybe I am missing something or not :x
Lol, worked perfectly here, are you sure you enabled it in the Plugin Manager?


Are you using any other plugin that change something with the Game_Map or Spriteset_Map?
 
Last edited by a moderator:

Latest Threads

Latest Posts

Latest Profile Posts

I want to go play piano now. This is gonna be my stopping point today (yes, I’m very slow at drafting). Might have a few too many curly Qs? Obviously gotta finish the limbs and clean up. There are a few more outfit details I need to add. Probably going to do a background so that the pose makes sense, LOL.

IMG_0515.jpeg
Do you believe me now?

BTW not my insta, not my post. Different John.
It's been long time since last I'm tinkering with RPG Maker ~
Turns out. I wasn't in my head accounting for when the Actor doesn't have a weapon equipped but DOES still have a Grimoire equipped... 40+ SV Spritesheets!!! D'x

Forum statistics

Threads
135,047
Messages
1,253,293
Members
178,023
Latest member
nemesiszero
Top