Hello! I've scoured the forums and have gotten close to what I want, but am still experiencing issues. I am trying to use the Save feature to dictate between multiple spawn points between levels. I have a simple Portal 2 example here: http://www.flowlab.io/game/play/1051433
Desired effect: When Chell exits Level 1 through the RED DOOR, I want her to spawn on the left side of Level 2. If she exits Level 1 through the BLUE DOOR, I want her to spawn on the left side of Level 2.
The spawn point on level 1 is set to the center currently so it can be tested again upon return from level 2. The Save function is on the RED DOOR and the BLUE DOOR arrows on Level 1. The Variable Spawn function is on the DOOR block on Level 2.
I feel like I'm really close, and I'm certain someone out there has figured out how to communicate a variable between levels, but I've hit a wall and need some expertise. This is a core mechanic that I plan to use in a lot of my games and would really appreciate the help. Thanks!
ALSO: Is there a way to duplicate layers?