Seamless map transfer. Rendering two maps at the same frame[Jobs left: 0]

chyj4747

Veteran
Veteran
Joined
Mar 14, 2020
Messages
50
Reaction score
39
First Language
chinese
Primarily Uses
RMMV
Released: Here

I searched and asked online for days but no one had a solution that can really make seamless maps. Merging maps into one or creating common parts for each map are solutions but not good enough. Therefore I am working on my own plugin for this feature.
RMMV双地图渲染.gif
You can see there are four different maps. And I use three different tilesets to draw them. The rightside map uses the same tileset as the main map.

Also maps can be connected at any position.
With this plugin, you can make a real "large map" in MV by connecting many small maps.
The connected map will be dynamically loaded and rendered when it needs to show.

The plugin is not finished yet, so DO NOT use in your project. But you can experience it and tell me how you think. I will try to improve if your idea is good.

Please notice that I am game maker not a plugin maker. This plugin is for my game, once I finishing it and starting to make my game, I may not update this plugin any more. Unless it has a big bug or some serious problems.

Since I am chinese, comments and notes of this plugin are all chinese. I will write an English version below.
Sorry for explaining any complex thing unclearly cuz my English is not good enough.
Two JS files, C47_SeamlessMap.js and pixi-tilemap2.js
C47_SeamlessMap.js is depending on pixi-tilemap2.js so put pixi-tilemap2.js on the top of C47_SeamlessMap.js

Parameters of C47_SeamlessMap:
Do clear old tileset: used to clear old tilemap when rendering, usually not needed, but MV keeps clearing and rendering, so I make this option in case you need it
Min check distance: the distance to check whether the second map is needed to show. Its value is the number of TILEs. The default value 0.5 means check if map2 is needed when there only has "half tile" width left to the border of current map, which means if the actor keeps on moving half tile, you will see the border of map in the screen. No need to change.

Note format of map:
<cmap: DIR1 MAP_ID X Y DIR2 MAP_ID X Y DIR3...>
DIR: direction, l d r u for left down right up, means where to connect next map
MAP_ID: id of the next map to be connected in the given direction
X and Y: the coordinate to be connected to the next map. See example below if don't understand.

Simply draw two default maps, then write notes as below.
<cmap:u 2 7 0> for map1
<cmap:d 1 6 12> for map2

Then map2 will be on the top of map1 and (7,0) of map1 will be connected to (6,12) of map2

By the way, only the closest map to the actor will be showed. If both maps have same distance, it will be showed in the order left down right up.
Another notice, the very first time to render the second map may cause a little lag. And that's it, seems not lag any more when rendering any new maps after that.
Also counted in the title

  1. 【X】actor cannot move to map2
  2. 【X】events on map2 cannot be showed
  3. 【X】check if it's passable when the actor moving from map1 to map2
  4. 【X】ESC closing menu will crash
  5. 【X】transfer to new map and show its connected map will crash
  6. 【X】should switch maps when actor moving into map2
  7. 【Give up】haven't considered any conflicts with other map plugins
RMMV双地图行走.gif
RMMV双地图事件和障碍.gif
Use mouse to move, so that you can see the actor not goes through impassable tiles

Upload time: 2020/03/19 14:21 20:40 03/20 10:54
Released: Here
 
Last edited:

pasunna

Veteran
Veteran
Joined
Feb 3, 2019
Messages
531
Reaction score
278
First Language
thai
Primarily Uses
RMMV
actually I see there are plugin script descriptions languages specific
like /*ja: is show for japneses editor version
aybe /*ch is for chinese
i’m not sure about that
and this connected map had japanese one
I try his demo but it all japanese so I give up haha…
 

chyj4747

Veteran
Veteran
Joined
Mar 14, 2020
Messages
50
Reaction score
39
First Language
chinese
Primarily Uses
RMMV
actually I see there are plugin script descriptions languages specific
like /*ja: is show for japneses editor version
aybe /*ch is for chinese
I know but I'm lazy :p
Okay, I may consider to add English help into plugin in the future, but not now.

and this connected map had japanese one
I try his demo but it all japanese so I give up haha…
It may be merging multi maps to one map. Like what I said at the very beginning, it's not useful because it requires you to use only one tileset for all maps.
 

Morganis

Ce'wyndia
Veteran
Joined
May 26, 2015
Messages
98
Reaction score
14
First Language
english
Primarily Uses
RMMV
I really would love to have this plugin working well. This is something I have been hoping for. Thank you kindly and please keep working on this :) You are appreciated.
 

pasunna

Veteran
Veteran
Joined
Feb 3, 2019
Messages
531
Reaction score
278
First Language
thai
Primarily Uses
RMMV
I know but I'm lazy :p
Okay, I may consider to add English help into plugin in the future, but not now.


It may be merging multi maps to one map. Like what I said at the very beginning, it's not useful because it requires you to use only one tileset for all maps.
well check it out by yourself
it a already complete one
 

chyj4747

Veteran
Veteran
Joined
Mar 14, 2020
Messages
50
Reaction score
39
First Language
chinese
Primarily Uses
RMMV
well check it out by yourself
it a already complete one
That's it. Merging maps to one map. Useless in my case.
Almost everyone I asked give me this link haha
 

chyj4747

Veteran
Veteran
Joined
Mar 14, 2020
Messages
50
Reaction score
39
First Language
chinese
Primarily Uses
RMMV
Updated. And add another gif
 

pasunna

Veteran
Veteran
Joined
Feb 3, 2019
Messages
531
Reaction score
278
First Language
thai
Primarily Uses
RMMV
That's it. Merging maps to one map. Useless in my case.
Almost everyone I asked give me this link haha
yes... I confuse as the img look like the same thing
good luck with your plugin developing
 

ShadowDragon

Veteran
Veteran
Joined
Oct 8, 2018
Messages
3,193
Reaction score
1,189
First Language
Dutch
Primarily Uses
RMMV
that looks smooths, can be usefull. when you see events as well (peoples, chests, etc)
keep it up the nice work.
 

chyj4747

Veteran
Veteran
Joined
Mar 14, 2020
Messages
50
Reaction score
39
First Language
chinese
Primarily Uses
RMMV
Updated and added one more gif.
Now it can display events in map2 and will not go through impassible tiles.
 

Cormorant42

Veteran
Veteran
Joined
Sep 17, 2019
Messages
113
Reaction score
54
First Language
English
Primarily Uses
RMMV
Looks good so far. I'm eagerly awaiting a finished product...IMO this kind of plugin should've been made back when RMMV released. Himeworks had one, but it was for VXA...maybe use that to help? Idk, looks good. Keep it up!
 

chyj4747

Veteran
Veteran
Joined
Mar 14, 2020
Messages
50
Reaction score
39
First Language
chinese
Primarily Uses
RMMV
v1.0.0 is released, check it Here
 

Latest Threads

Latest Profile Posts

Are we now stuck with WYSIWYG ? I cannot revert back my posts to good old raw text ?
I'm wondering if I may be putting too many things into one map. A story, within a story, within a story . . . it's fun, but I can't shake the feeling that it may be better to scrap some of it, and use it for another map. I'm not sure what to do.

And the beginning of a nearly complete grid system dawns.

I want to add a thin pixel border around the entire region. Like across all blue highlights that connect and red attack highlights that connect.
Ami
--- Remake ---

Hero: Hey,look! Some Artist will Remake us to 3D!
M.Knight: Really? Then i hope they make me so Cool & Handsome
Heroine: I hope they make me Cute & Sexy,too
(6 Months Later,The 3D Model Are Revealed With Unexpected Yet Horrible Model)
Hero: (Spit The Water)
M.Knight: What the Hell?!
Heroine: I'm Dissapointed...

Forum statistics

Threads
107,784
Messages
1,032,182
Members
139,938
Latest member
rpgvoices
Top