I want to make a game where you have multiple levels that you can go between? I tried having multiple layouts but that causes some problems when you want some items to be found in each world and not just one world.
there are a few ways of doing that.
Layers, layouts with hidden areas, multiple layouts with create object on start of layout and set variables.
using persist if you have items that need to remember status even when off screen.
Develop games in your browser. Powerful, performant & highly capable.
what is a persist and how do you use them?
persist is a behavior and is added to objects just like adding movement (pathfinding, bullet, platform) it is in the first row under the behaviors list.
I had to use it with this demo.
https://www.scirra.com/arcade/game-mana ... me?ID=5070
To have the doors remember if they where opened or closed when I player was last on the layout.
OMG I LOVE U! jk but I completely forgot about that behavior. You just made things so much easier for me
Thank you again.