How do I Move an object to another Layout?

0 favourites
  • 3 posts
From the Asset Store
Hand-painted tiles, objects, animated objects, and background to build a colorful Mayan civilization environment.
  • So, i have been having a problem figuring out how to move an object to another layout, a function which i need for a small App i am making (Yeah, i know Construct2 isn't really intended for App making)

    In essence, try to think of it as an RPG, where two adjacent rooms are each on a different Layout (Screens). what i want is to have an Non Playable Character walk around the room the player is in, and if he is being told to, or do so on his own, be able to cross to the other room and remain there at a specific location (Based on the NPC stats) until the player enters the other room and see it.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi,

    Maybe you can use a function to store character data into a global array when a character leaves the layout. And when you go to that layout, re spawn a character with the data you stored, to reproduce the previous one, and make it go where you want or spawn at a specified location.

  • Thanks. your solution was solid.

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