Keep object positions between Layouts

Get help using Construct 2

Post » Mon Aug 06, 2012 8:38 pm

I have several instances of an sprite with the bullet behavior and I need to have they retain the same position+direction on the next layout.
How can I use an array to store the objects positions between layout changes?
Ive tried, with no success.

Thanks
B
39
S
8
G
3
Posts: 440
Reputation: 6,903

Post » Mon Aug 06, 2012 9:00 pm

Make the objects global in your first layout and that should do it.
B
94
S
33
G
123
Posts: 5,450
Reputation: 78,463

Post » Mon Aug 06, 2012 9:02 pm

[QUOTE=R0J0hound] Make the objects global in your first layout and that should do it.[/QUOTE]
Awesome, thanks again for your help R0J0! ;D
Im happy that theres a simple solution for this, Ive never noticed the global boolean ;]

B
39
S
8
G
3
Posts: 440
Reputation: 6,903


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 36 guests