Map Edge Transfer

● ARCHIVED · READ-ONLY
Started by Shaz 74 posts Page 2 of 4 View original ↗
  1. Shaz, if no fade has been set, does this work like the old Zelda games (where the screen will scroll to place) is it continuous or do you just teleport to the opposite end of the screen (in the new map)
  2. @Kane, no, it was a bug in the plugin, but your screwed up tag made it incredibly easy to find :)

    @Joronjo, there is no scrolling.  It's a straight transfer.  If you don't set the fade, it defaults to black.  If you don't want it to fade at all, you need to set that parameter to 2.  It will be like doing a Transfer command with the fade set to 'none'.
  3. @Shaz ahh my mistake :) Well woot haha :)
  4. Ok! Is there a way to set a common event/region event to create a scroll to work with this plugin or would it affect the interaction?
  5. I don't really understand what you're trying to do.  You want it to scroll from one map onto another, so they're both visible at the same time?  You would need a completely different plugin for that, as only one map is loaded at a time.
  6. No, i want to make it when you transfer from a section of the map to another instead of doing a fade or just teleporting to the edge of the map, the map scrolls in from the opposite end. If its not possible, its ok though. I know old games did something like that because of hardware limits and this plugin is still extremely useful
  7. The same map, or a different one?

    If you just want to wrap to the other edge of the same map, you just need to go to map properties and set it to scroll horizontally or vertically.  You don't need a plugin for that.

    If you want a different map to scroll in, then as I said, you will need a different plugin, because by default, only one map can be loaded at a time - you cannot have 2 maps appearing on the screen at once without a plugin.
  8. Could you possibly make it so the X & Y coordinates are based on variables? Because I typically use 2 variables to keep track of my X & Y coordinates at all times in case they're needed for something & it would help make the character appear in the same X or Y in the next map.
  9. You can do that yourself.  I said in the OP that x and y can be values or formulae.
  10. @Joronjo

    Have you looked at my Zelda transitions post? Maybe that can help you.It works well with Shaz'z script.
  11. You can make it use the variables, or you can make it use the player's current x and y positions.
  12. This is great!  Just what I needed!  One thing though.  Say I'm transitioning in a city and I have a lightpost or something at the edge of my map, or a wall where I transitioned into.  Doing this using the plugin would have the player stuck inside the lightpost and only being able to get out by moving back down.  Any good ideas on how to make it to where you can't transition from a specific point to imply that there is something blocking you on the other side?  I mean sure, the simple solution would be to just not have a wall or lightpost on the other side but what if that's what you want?
  13. I would just put something in the equivalent spot on the 'from' map so the player can't walk there in the first place. 


    You probably could do something really fancy with the formula to say 'if the row is x then teleport to row x-1, otherwise teleport to row x' but it'd be ugly.
  14. Shaz,


    Thank you for the script, i have a question though, i am not understanding how to set up a map so when i go to the edge of ,  lets say the right side of a map, it will transfer the player in the exact position on the left side on the adjacent map.


    thank you.
  15. Let's say if you go to the right side of map 5, you want to transfer to the left side of map 6.  Maps 5 and 6 must have the same height (# of tiles vertically).  You would enter this into the note box of map 5:


    <tfrright: 6 0 $this.y>


    This will move them to map 6, x tile is 0, y tile is whatever y tile they were on.


    And this would go into the note box of map 6 (we'll assume map 5 is 25 tiles wide - so the rightmost column will be x=24, as the leftmost is 0 rather than 1):


    <tfrleft: 5 24 $this.y>
  16.  Thank You, You are awsome!


     All my maps are the same size.


    Question:


    Could this work :  <tfrright: 6 $this.x $this.y>


                                 <tfrleft: 5 $this.x $this.y>


    so what ever tile i started on would be the same on map 6 or 5 (x,y wise) and back again?


    UPDATE: 


    getting a reference error using this <tfrright: 6 0 $this.y> with my map number:  $this is not defined
  17. No, because leaving the right side of one map would take you to the right side of the other, not the left side.   Unless that's what you want, of course, but it seems a bit weird.


    Also, sorry about the $this - I'd written it initially as $gamePlayer.y and then realized I could just use this.y but must have missed that the $ was still there.


    <tfrright: 6 0 this.y>


    <tfrleft: 5 24 this.y>
  18. WOrks great now, Thanks SHAZ!
  19. I wish that I had found this plugin back when I hadn't yet done fifteen maps full of edge transfer events, haha. I'm glad that I came across it now, though: it definitely makes map transfers a lot easier and more manageable. :)
  20. Honestly,  change it.  Events all along the edge of your map will cause lag. It will be worth the effort to go back through and modify