The RPG Maker Resource Kit

RMRK RPG Maker Creation => Requests => Script Request => Topic started by: Doom_master1122 on March 16, 2008, 03:43:21 AM

Title: Scolling Map script
Post by: Doom_master1122 on March 16, 2008, 03:43:21 AM
Okay. This is quite a thing I'm going to be asking for... For the people who have played Legend of Zelda A link to the past, remember when you walked off the screen and it would scroll to the next map. I was wondering if this is possible to get in VX trhough script.
I'm asking about this script for a friend. Although it would be interesting to have.

If you need clarifying. Ask me.. its kinda hard to explain.
Title: Re: Scolling Map script
Post by: Leventhan on March 16, 2008, 08:25:45 AM
...oh wow.
You see, it is already implemented in RMVX.
It is called loop, and can be adjusted in the map propertie when you make a new map.
Title: Re: Scolling Map script
Post by: ahref on March 16, 2008, 11:37:24 AM
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi25.photobucket.com%2Falbums%2Fc69%2Fiframe%2Fscrolling.png&hash=ecc8008bd8f9e652a313e4601f27305222b2fc7a)
Title: Re: Scolling Map script
Post by: Garge on March 16, 2008, 12:42:13 PM
  I don't think he's asking to just have the map loop over upon itself, but more of a transfer where the map just scrolls to the next map without the usual fade in/fade out.  For example, he's got a world map of 200x200 sectioned off into 50x50 squares.  The map doesn't scroll past those boundaries as he reaches the edge.  Now when he goes from the NW square to the SW square, it pans down and now the SW square is the current focus of the map and doesn't show anything past those boundaries when he gets near the edges.

This is what I believe he's asking a script for, but I could just be making things up. :-\
Title: Re: Scolling Map script
Post by: ahref on March 16, 2008, 01:09:03 PM
could you make some diagrams :D
Title: Re: Scolling Map script
Post by: Leventhan on March 16, 2008, 01:19:09 PM
  I don't think he's asking to just have the map loop over upon itself, but more of a transfer where the map just scrolls to the next map without the usual fade in/fade out.  For example, he's got a world map of 200x200 sectioned off into 50x50 squares.  The map doesn't scroll past those boundaries as he reaches the edge.  Now when he goes from the NW square to the SW square, it pans down and now the SW square is the current focus of the map and doesn't show anything past those boundaries when he gets near the edges.

This is what I believe he's asking a script for, but I could just be making things up. :-\

I thought of that but I personally think the looping in VX is much smoother than that of Zelda.
Maybe when Doom_master1122 sees it he'll like it.
Title: Re: Scolling Map script
Post by: Doom_master1122 on March 16, 2008, 01:51:43 PM
  I don't think he's asking to just have the map loop over upon itself, but more of a transfer where the map just scrolls to the next map without the usual fade in/fade out.  For example, he's got a world map of 200x200 sectioned off into 50x50 squares.  The map doesn't scroll past those boundaries as he reaches the edge.  Now when he goes from the NW square to the SW square, it pans down and now the SW square is the current focus of the map and doesn't show anything past those boundaries when he gets near the edges.

This is what I believe he's asking a script for, but I could just be making things up. :-\

Yes this is correct.
I thought of that but I personally think the looping in VX is much smoother than that of Zelda.
Maybe when Doom_master1122 sees it he'll like it.

I dont know. I saw that option but i haven't used it. I don't know if it'lll do that, ill try though =/
Title: Re: Scolling Map script
Post by: Garge on March 16, 2008, 01:57:41 PM
could you make some diagrams :D

I hope these do.

Here's a map not broken up into neat squares:
Spoiler for:
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fimg181.imageshack.us%2Fimg181%2F4081%2Fpicturenc0.th.png&hash=6bc0e6bc9fb91925ade27c2887e28077f1268284) (http://img181.imageshack.us/my.php?image=picturenc0.png)

Now when the player is in one of the areas, as soon as those trees show up on the map, it will not scroll the map any further, making an artificial edge within the map, thus confining the camera to that area that the black box shows in this picture:
Spoiler for:
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fimg511.imageshack.us%2Fimg511%2F5946%2Fpicture2tn4.th.png&hash=bf512ba47b837f5df876011eaad7b4c09e86f184) (http://img511.imageshack.us/my.php?image=picture2tn4.png)

When the character moves to the next area, say the SW part, the camera pans over to that area, following the player, and will now only look at that area where the black box is shown.
Spoiler for:
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fimg443.imageshack.us%2Fimg443%2F5023%2Fpicture3pg0.th.png&hash=d442f51374642c9e64e1ac9f9590199945747780) (http://img443.imageshack.us/my.php?image=picture3pg0.png)
Title: Re: Scolling Map script
Post by: ahref on March 17, 2008, 04:22:08 PM
could you not split each section into indivual maps.

skanker's game in a week vx features a town with a similar construct to your above diagrams.

http://rmrk.net/index.php/topic,25037.msg317031.html
Title: Re: Scolling Map script
Post by: Irock on March 18, 2008, 02:41:49 AM
could you not split each section into indivual maps.

skanker's game in a week vx features a town with a similar construct to your above diagrams.

http://rmrk.net/index.php/topic,25037.msg317031.html
Ahref, watch part of this (http://www.youtube.com/watch?v=kgbR_GWzWWs). Notice how when he's outside, and enters a new area of the map, it pans? That's basically what he wants. {ignore the part where he walks into the cave)

EDIT: It seems the script should just have a panning transition, and have separate maps, so it doesn't lag.
Title: Re: Scolling Map script
Post by: Doom_master1122 on March 18, 2008, 04:16:30 AM
could you not split each section into indivual maps.

skanker's game in a week vx features a town with a similar construct to your above diagrams.

http://rmrk.net/index.php/topic,25037.msg317031.html
Ahref, watch part of this (http://www.youtube.com/watch?v=kgbR_GWzWWs). Notice how when he's outside, and enters a new area of the map, it pans? That's basically what he wants. {ignore the part where he walks into the cave)

EDIT: It seems the script should just have a panning transition, and have separate maps, so it doesn't lag.
True thats what i want.
However i shold also state that it should beable to use someting along the lines of the call script. That way I can toggle panning.
Basically Toggle the panning off when entering a cave or house. And toggle panning when moving to another part of the map. To avoid glitches from panning from map to house. That just wouldnt work too well. =/
Title: Re: Scolling Map script
Post by: Leventhan on March 18, 2008, 08:27:29 AM
I dont know. I saw that option but i haven't used it. I don't know if it'lll do that, ill try though =/
So, have you?
Title: Re: Scolling Map script
Post by: Irock on March 18, 2008, 08:30:05 AM
I dont know. I saw that option but i haven't used it. I don't know if it'lll do that, ill try though =/
So, have you?
He doesn't want map looping.

Watch part of this (http://www.youtube.com/watch?v=kgbR_GWzWWs). Notice how when he's outside, and enters a new area of the map, it pans? That's basically what he wants. {ignore the part where he walks into the cave)
Title: Re: Scolling Map script
Post by: modern algebra on March 18, 2008, 09:48:09 AM
It's a nice idea for a script.

I'd be interested in seeing the way whoever creates it manages the scrolling and overlap.
Title: Re: Scolling Map script
Post by: MagicNinja on March 24, 2008, 05:01:10 AM
Okay. This is quite a thing I'm going to be asking for... For the people who have played Legend of Zelda A link to the past, remember when you walked off the screen and it would scroll to the next map. I was wondering if this is possible to get in VX trhough script.
I'm asking about this script for a friend. Although it would be interesting to have.

If you need clarifying. Ask me.. its kinda hard to explain.
Well dude, looks like you and me are going to have to just deal with what we got then until someone comes up with a script. I'll talk to you later about the game.
Title: Re: Scolling Map script
Post by: Irock on March 31, 2008, 03:43:36 AM
Ehem.

I wouldn't mind using this script. All it needs to be is a scrolling transition from one map to another, and allow the user to select which maps to use the effect on.