MBS - Map Zoom

● ARCHIVED · READ-ONLY
Started by  Masked  196 posts Page 1 of 10 View original ↗




  1. 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.
  2. 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
  3. 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.
  4. Fernyfer775 said:
    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.
  5. Great!

    But does not support a mouse click.
  6. 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 ??
  7. 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.
  8. 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...

    Vandeliar said:
    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...
  9. 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.
  10. 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?
  11. 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.
  12. 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!
  13. 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 ! :)
  14. 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/
  15. >> 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?
  16. wizaerd said:
    >> 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
  17. Thanx... really great for cutscenes...
  18. 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.
  19. 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
  20. Firgof said:
    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.

    hermesisdead said:
    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?