As soon as I switch layout1 to layout2, and then to layout1, everything is restarted? Is there a way to switch layouts without restarting? Like on layout1 I kill 3 enemies and I go to layout2 and then back to 3, the enemies are back.
thank you in advance
You can add the Persist behavior to the enemies.
Develop games in your browser. Powerful, performant & highly capable.
Thanks for the quick response imhotep22
I did it and it works
Do you know maybe, if I pin a gun on my player, and I'm going to a different layout the gun is gone, is there a way to keep him pinned when I switch from layout?
bad english sorry
Add another event on start of layout, which will pin the gun to the player location.