Hey, how can I use 2 layouts for the same level?
I have created a basic level to test if 2 layouts for one level works.
On layout 1 I Made a door and on layout2 I made a switch, When the player collided with the switch, the door should be destroyed.
After a few failed attempts I made a switch on layout 1 and it worked. I guess the layouts are Independent. Is there a way to link them?
Develop games in your browser. Powerful, performant & highly capable.
Yes it cannot see layout 1 if you are on layout 2. You could maybe use global variables and then when returning to layout 1 check the variable and destroy.
I actually just solved it and was on my way to delete this. rather than using a different layout I just used layers.