Tell me how I can save my progress when switching from one layout to another.
More information: Layout No. 1 starts from point A and when it collides with point B, the symbol is transferred to layout No. 2. When returning to layout No. 1, the character starts the location from point A again and should be where it left off, at point B. How do I make layout #1 start from point B after the transition?
Example: A hero enters a tavern. He gets out of it near the door to the tavern. In my case, he starts the game at the very beginning of the location. platformer.
Thanks!!!