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
S
1
Posts: 18
Reputation: 388

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
47
S
18
G
84
Posts: 2,273
Reputation: 49,800

Post » Sun Sep 04, 2016 7:31 pm

Ok thanks i will try this
B
4
S
1
Posts: 18
Reputation: 388

Post » Wed Sep 07, 2016 5:27 pm

Persist behavior
B
9
S
3
Posts: 113
Reputation: 1,009


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 26 guests