Im working on a MetroidVania type game. I want to separate the sections of the map into different layouts to keep performance decent. Naturally this means my character needs to move from one layout to another quite often. The layouts all have their own layer names.
When using the "Go to layout" action how does construct determine what layer in the new layout is for the player if your layouts have different layer names? Sorry if this question is confusing in any way. Ill give you an example of whats happening with my project.
My character starts on a layout A with multiple layers. When transitioning to layout B using the Move to layout action it seems to just randomly choose a layer to place the player sprite. This causes a few issues for me.
This is the code that triggers the transition to the new layout.