Problems Moving Player Between Layouts

0 favourites
  • 6 posts
From the Asset Store
Basic Rounded Vector Geometry Player Design with Glow for 3 player games
  • I'm new to Construct 2, and I have some questions about moving your player between layouts.

    In Layout 1, when my player walks through the yellow door, he goes to Layout 2.

    When he walks through the door again, he doesn't appear back in Layout 1 in front of the door. (He's on the screen in Layout 1 again because I used "On start of layout" to set his position initially.) How do I fix this?

    If you then immediately try to walk through the door again, this time he doesn't appear in Layout 2. What's causing that?

    Thank you so much for your help! <img src="smileys/smiley1.gif" border="0" align="middle" />

    dropbox.com/s/qnz8vm8jc65d12l/LayoutMovementTest.capx

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I updated it for you : here

    Please note if you set the location so that it's touching the door it will cause a loop with the collision. You will need to set teleport locations as I have done so they don't touch the doors OR another possible solution is to have a key press for going through doors.

  • Thank you, Plinkie, but I was not able to open your file. When I tried to open it, a message window says the project was saved in release 142 or newer, and I have 139.

  • You can download the beta from here or just wait until the next stable release.

  • Thank you again, Plinkie. I was able to download the beta and run your file successfully. I was then able to use your example in my game, and it works great. Thank you so much! <img src="smileys/smiley4.gif" border="0" align="middle" />

  • I have another question. How would I modify the Capx file if there is more than one location to enter/exit from? Thank you.

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