I'm working on moving my sprite between layouts, based on this simple but brilliant .capx file:
https://www.dropbox.com/s/5vatkqilropb9ui/LayoutChangePosition.capx?dl=0
I have copied the logic into my project, but I have a few problems (Note: I am not a programmer; unless the solution is spelled out for me, I have no idea how to fix it).
1) The simple .capx file above moves the sprite between 2 layouts, A <--> B.
Right now, I have 3 layouts (and will have more). I need to know how to move the sprite A <--> B <--> C.
I tried tinkering with the logic based on the simple .capx file, but it didn't work.
2) My sprite is spawning all over the place. It's supposed to spawn at the position of the portals.
On the first layout, it spawns where I have placed the sprite manually.
On the second layout, it spawns in the margins somewhere.
On the third layout, it is nowhere to be found.
3) And lastly, I have defined a custom cursor, but it doesn't "appear" until the second layout.
Can anyone explain, step by step, what I should do to fix these problems?
Here is my file: https://www.dropbox.com/s/9eprtnqn26l0aku/LayoutChangeError.capx?dl=0
Thank you for reading this!