I seem to have encountered a bug where the Map ID used in the notetag, does not line up with the Map ID the player is actually transferred to.
It is very fascinating actually. You see your plugin works for me perfectly. Until we get to 2 digits.
Mad ID 010 transfers the player to Map ID 008.
15 becomes 13
16 becomes 14
18 becomes 15
if the numbers just got shuffled up, maybe I could work around it.
But since Map ID 008 is both 008 and 010 it is eating up a different Map ID.
The game crashes if I try to transfer to a map ID that is not in use.
For example Map ID 18 didnt exist, but I created it just to test and once created the player gets tranferred to map 15.
I am trying to wrap my head around it, because normal map Transfer from event still works without issues.
EDIT: I was using leading 0's which i just noticed you mentioned in a previous post. This was what caused it. I am kinda perplexed that leading 0's on single digit map ID's didn't mess anything. But a leading 0 on a double digit change the map Id. Heck I am even more confused it didn't just straight up crash when I was telling it to use an ID, but with a non-exact spelling for the ID I was supposed to write. Eh doesn't matter.
TLDR - Whatever you do, don't use leading 0's
Map Edge Transfer
● ARCHIVED · READ-ONLY
-
-
Mad ID 010 transfers the player to Map ID 008.
010 is interpreted as 8 in octal notation, which is what happens when you use leading zeros. -
This is probably the most interesting plugin, because so far I've just been faking it with warps and copying the map over and making dummy events.
-
This is free to use for commercial use but what about competitions? I would like to use it for my entry for the IGMC Game Jam on Itch
-
@Moon-Girl you can use it.
-
I've been using common events with Show / Move Pictures to create a simple screen transition animations for up/down/left/right. Is there any way to call those common events with this plugin, or to easily do so alongside this plugin?
-
hello!
i put the code in the map note <tfrdown 7 this.x 61>
but the plugin didn't work, it keeps stopping at the edge of the map as if there was no teleport, what did I do wrong? :rswt:rswt:rswt
Note: I already checked if the plugin is turned on!
(edit): I also checked if there was any plugin conflict, however, I believe that is not the case, since I don't use any plugin related to map teleport. -
@blinker It looks to me like there's a discrepancy (typo) in Shaz's original post. The syntax in her listed notetag and her example are different.
I think there ought to be a colon after thetfrdown -
Hello!@blinker It looks to me like there's a discrepancy (typo) in Shaz's original post. The syntax in her listed notetag and her example are different.
I think there ought to be a colon after thetfrdown
Thank you so much that was exactly it!:rswt
Now it's working properly, thank you very much!:biggrin:
When I finish my game I will put your name in the credits as a thank you for your help!:biggrin::biggrin: -
Fixed it. Thank you.It looks to me like there's a discrepancy (typo) in Shaz's original post. The syntax in her listed notetag and her example are different
-
hello!Fixed it. Thank you.
thank you very much for fixing the example, my mistake was because I followed exactly as in the example (stupid on my part for not paying attention to the code).:rswt:rswt:rswt
Anyway, thanks so much for sharing an amazing plugin!:LZScheeze::LZScheeze::LZScheeze: -
What a brilliant plugin! Just tested it in MZ though (even with Fossil) - any chance to maybe get it to work for MZ as well?
-
I've just tested this plugin and fully utilized it in MZ too, and I can confirm it works perfectly. The issue noted a few posts above where a Map ID was being interpreted in octal notation if preceded by a 0 was throwing me off, but after I came here to see that, I simply removed the 0, and the plugin transferred me to the map I had intended (Map ID 54 instead of 054).
I also just want to leave a comment for anyone else wondering about additional functionality that this plugin doesn't cover, such as calling common events or other things like that. I needed to fade out and change background music and tint the screen back to normal, so what I did was have this plugin transfer the player to a very small and empty "Transfer Location" map. That map has a single autorun event which first changes transparency to on, fades out the music, plays a couple of sound effects, and then uses a normal transfer player function to transfer the player where they should end up, after which the music is switched and the transparency is turned back to off.
I hope this idea helps someone else who's wondering how to add functionality to the use of this plugin, and many thanks to Shaz for writing it in the first place. -
Hi @Shaz. I'm wondering if there's a simple way to use this plugin but have the transfer event trigger when you're, say, 7 tiles from the edge of the map, rather than on the very edge of the map.
(The reason being I don't like seeing the repeated parallax image visible at the edges of the map.)
Any thoughts? Or should I go about this a different way?
Appreciate any insights you may have on this!