Connected regions?

TheHighscore

  • Posts: 8
Does anyone here know if it is possible to get two regions within the same scene connected to one another, so that you can go in one region and come out the other, and vice versa?

I tried making my own custom block with two region attributes, but when I went to edit the attributes inside the scene editor, only one region field appeared. Can I get at least one more somehow?

Rob

  • *
  • Posts: 1268
Not exactly what you want. But maybe you can reference my teleport behavior on forge (Forge behavior Newest - search for Teleport).
GOLDEN RULE #1 : SAVE YOUR GAMES FREQUENTLY
IOS/XCODE DEBUGGING
http://www.stencyl.com/help/view/xcode-ios-troubleshoot/
WATCH STENCYLWORKS VIDEO TUTORIAL BY SUNRISEKINGDOM
http://www.youtube.com/watch?v=KDfRfjzr9j4&feature=channel_video_title

TheHighscore

  • Posts: 8
Not exactly what you want. But maybe you can reference my teleport behavior on forge (Forge behavior Newest - search for Teleport).

I tried to use your behavior to get from one place to another in the same scene, and it kind of worked, except after the teleport occurred it gave me an error and killed the player:



I had applied the behavior to a door (actor) with no other behaviors yet attached. It was supposed to go to another door without the teleport behavior on it yet.

I set payers to collide with actors right before this, so maybe that caused a problem?

Rob

  • *
  • Posts: 1268
The best bet is to try to teleport to an area with no actor/tiles around. Perhaps, you are teleporting to an area such that it overlaps another actor and/or tiles.

Anyway, simplest way is to make an actor and a door and attach the teleport behavior to the door and just probe around.
GOLDEN RULE #1 : SAVE YOUR GAMES FREQUENTLY
IOS/XCODE DEBUGGING
http://www.stencyl.com/help/view/xcode-ios-troubleshoot/
WATCH STENCYLWORKS VIDEO TUTORIAL BY SUNRISEKINGDOM
http://www.youtube.com/watch?v=KDfRfjzr9j4&feature=channel_video_title