How do I save a layer position ?

Get help using Construct 2

Post » Sat Sep 03, 2016 7:30 pm

Hi everybody !

I have a scroll menu on my menu layer and I was wondering if there was a method to save the position of this layer when moving from one layout to another because my layer menu always returns to its initial position when I go to a layout to another.

Thank you for your help !
B
4
Posts: 18
Reputation: 238

Post » Sun Sep 04, 2016 12:34 am

At the end of a layout, store the X,Y position as global variables. When you load a layout set the menu position to the global variables.
B
46
S
16
G
79
Posts: 2,170
Reputation: 46,857

Post » Sun Sep 04, 2016 7:31 pm

Ok thanks i will try this
B
4
Posts: 18
Reputation: 238

Post » Wed Sep 07, 2016 5:27 pm

Persist behavior
B
9
S
3
Posts: 102
Reputation: 987


Return to How do I....?

Who is online

Users browsing this forum: mikehive, TRMG and 38 guests