How do I move from a smaller layout to a bigger layout?

  • I could use some help with something that seems like just a dumb error on my part...

    I am making a point and click adventure game with multiple layouts, however I am coming across an issue where when I move from one layout to another larger one, the player will not travel beyond the constraints of the previous layout. Let me clarify: It's not that the character won't show up on the second layout, it's that he won't travel beyond the size of Area 1 (the first layout). The first layout is 2560, 1450 and the second is 10000, 5000. When the second layout starts, my character will not travel beyond the 2560, 1450 grid into the rest of the layout. I am using the pathfinding behavior to move the character and he is bound to the layout, is there something I'm missing? Thanks for any help <img src="{SMILIES_PATH}/icon_razz.gif" alt=":P" title="Razz">

    Capx download of problem is below. Start from Area 1, walk into the far right corner and transition into Area 2. Then, try to walk to the right end of Area 2 and the issue should be apparent.

    https://drive.google.com/file/d/0B67iHi ... tkekE/edit

  • When you move into new layout, try "regenerate obstacle map", because I think the borders of the first layout is taken as obstacles, so when you move into second layout, the object still remembers the old map.

  • Wow, that was a quick fix. Thanks a lot!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Welcome you are young padawan

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)