Zelda Style Map Transitions

Jeremy Cannady

Coldfire
Veteran
Joined
Oct 25, 2015
Messages
449
Reaction score
262
First Language
English
Requested here: http://forums.rpgmak...ap-transitions/

MapScroll v2.0
Jeremy Cannady

Introduction
This script will scroll the map when you get to the edge instead of the normal auto center.
Need people who want to use this to test this and tell me the bugs as I  can't test all scenarios.

Features

Scales with Yanfly Width/Height changes.

Grid Snap: Calculates what grid you should be in when you change maps so your screen displays the right grid and is not centered.

For example if you have grid snap disabled then when you enter a new map your camera will be centered on you instead of the grid.

Example of grid snap:

Plugin commands:

 Map_Scroll_Disable ---> Disables Scrolling, revert to normal game scrolling.

 Map_Scroll_Enable  ---> Enables scrolling. (default)
 Grid_Snap_Disable  ---> Disables grid auto snap.

 Grid_Snap_Enable   ---> Enables grid auto snap (default)

Note Tags:

<ScrollDisable> ---->If you want a special map to automatically disable scrolling then put this in. 

This will allow you to run around like normal for a special map.

How to Use
Put the file in your plugins folder.

Video:







Script:

http://pastebin.com/3LuUR0uf

Anyone can use this for whatever purpose.
 
Last edited by a moderator:

Bernkastel

Veteran
Veteran
Joined
Dec 13, 2012
Messages
75
Reaction score
15
First Language
English
Primarily Uses
so this is all one map right? I'll mess with it. this might... MIGHT make games more playable on smart phones as the camera moving less = less confusing.

Edit: First issue. the boundaries don't increase with resolution so the screen shifts when you reach a small square instead of the edge of the window. you need an option in the parameters to be able to manually type what the resolution is that we type in the resolution changer
 
Last edited by a moderator:

Bernkastel

Veteran
Veteran
Joined
Dec 13, 2012
Messages
75
Reaction score
15
First Language
English
Primarily Uses
Is there any chance this is possible well I know it's possible but easy to get this to work with Shaz Plugin:

http://forums.rpgmakerweb.com/index.php?/topic/47775-map-edge-transfer/
I can't speak for Jeremy but that might be impossible with the current script. this is more of a camera control then a transfer script. this locks the camera in place and when you reach the edge of the screen, NOT the edge of the map, it pans the camera. 

Pretty much, Jeremy's script is all on one map, not multiple maps.
 

Rito

Veteran
Veteran
Joined
Jun 29, 2015
Messages
107
Reaction score
50
First Language
French
Yeaaa, it's great !

It's possible to enable/disable with a switch ?
 
Last edited by a moderator:

Jeremy Cannady

Coldfire
Veteran
Joined
Oct 25, 2015
Messages
449
Reaction score
262
First Language
English
Yeah I can update it to where it is active/unactive with just a switch. Kinda weird to make it that way but extra options are good.

I have downloaded the map transfer script. I will tinker around and see what I can come up with.

Edit2: I just tried it with Shaz script and they both work flawlessly, first time no edits.
 
Last edited by a moderator:

HeroofTime123

Veteran
Veteran
Joined
Aug 14, 2014
Messages
42
Reaction score
3
First Language
English
Primarily Uses
Alright, I'm sure I'm going to sound really dumb, but do I need to do anything other than add the script to my game through the plugin manager? I mean, do I need to activate it with an event or something? It's not working for me.
 

Bernkastel

Veteran
Veteran
Joined
Dec 13, 2012
Messages
75
Reaction score
15
First Language
English
Primarily Uses
while using YEP_CoreEngine to change the resolution the screen doesn't pan in the right locations anymore. it still pans based on the small area of the original resolution
 

Rito

Veteran
Veteran
Joined
Jun 29, 2015
Messages
107
Reaction score
50
First Language
French
Thank you !!!
 

Jeremy Cannady

Coldfire
Veteran
Joined
Oct 25, 2015
Messages
449
Reaction score
262
First Language
English
Updated to have a auto grid snap function.

When you enter a new map the screen will center the camera on you. 

With grid snap it will center the camera on the correct grid.
 

Pia Carrot

Veteran
Veteran
Joined
Sep 28, 2013
Messages
31
Reaction score
10
First Language
English
Primarily Uses
RMXP
Updated to have a auto grid snap function.

When you enter a new map the screen will center the camera on you. 

With grid snap it will center the camera on the correct grid.
So this is pretty much the solution to the event problem, which is great! Kudos to you, sir, your dedication to the community is really appreciated.
 

originalduffman

Villager
Member
Joined
Oct 27, 2015
Messages
24
Reaction score
8
First Language
English
I can't wait to try this out. I don't think I realized how awkward the standard map transfers were until now. Thank you!
 

Fox536

Veteran
Veteran
Joined
Nov 5, 2015
Messages
173
Reaction score
60
Primarily Uses
Hey Jeremy Cannady when you have Scroll Disabled for a map with gridsnap on it shows alot of black space if the map isn't the correct dimensions. You might change line 77 to

if(Game_Player.prototype.gridSnap === false || $dataMap.meta.ScrollDisable === true){It seems to fix the issue
 

KadoDragon

Veteran
Veteran
Joined
Sep 10, 2013
Messages
155
Reaction score
9
First Language
English
Primarily Uses
Let me make sure I have something straight. If I turn off grid snapping, does camera move with you between the maps like in Pokemon?

EDIT: Oh. Nevermind. I thought this stitched maps together. It's still only one map. Kinda dumb really. But okay.
 
Last edited by a moderator:

Jeremy Cannady

Coldfire
Veteran
Joined
Oct 25, 2015
Messages
449
Reaction score
262
First Language
English
There are a few scripts that can stitch the maps together so no need to redo something. This script just stops the camera from moving until you are the edge of the screen. You can combine this with a map stitching script to make a zelda type world. After that someone just needs to come up with a real time battle system.
 

KadoDragon

Veteran
Veteran
Joined
Sep 10, 2013
Messages
155
Reaction score
9
First Language
English
Primarily Uses
There are a few scripts that can stitch the maps together so no need to redo something. This script just stops the camera from moving until you are the edge of the screen. You can combine this with a map stitching script to make a zelda type world. After that someone just needs to come up with a real time battle system.
I realize that my post came out a little rude. Just makes little sense to make map transfers on one map to me. What's the point?
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

suspended on twitter for calling an ahole an ahole & appealing the tweet; furious at myself for being even slightly upset with my suspension: oh no, you've been temporarily banned from hell. GET OVER IT, me.
how can you download the tiles from a forum post here? HELP
That moment when you post the wrong download link to your game and wonder why it got so few downloads... :mad:
Trying to make it so my map is cleared of "random" events after the player leaves the map... to little success >.< I think I might need to ask help for this.
Had my first interaction with a legit homophobe concerning one of my games today. Tempting to engage, but pointless.

Forum statistics

Threads
94,245
Messages
919,368
Members
123,959
Latest member
CecilGP
Top