How do I keep player's values when entering another level ?

Get help using Construct 2

Post » Sun Oct 26, 2014 3:25 am

Is there another/better way to save player's (sprite object) values (size, variables ... etc) other then global variables or WebStorage when the player enters another level ?
B
49
S
15
G
6
Posts: 535
Reputation: 7,197

Post » Sun Oct 26, 2014 3:29 am

Store them in an array?
Check out my completed games on the Arcade! Capt. Doe Save the Universe! & Clicker Wizard!
B
71
S
19
G
8
Posts: 640
Reputation: 9,701

Post » Sun Oct 26, 2014 3:34 pm

@chrisinfinger
Or an Array, thanks ... But I was wondering if there was an setting or event that can do that (to move an object from a layout to another one exactly how it is).
B
49
S
15
G
6
Posts: 535
Reputation: 7,197

Post » Sun Oct 26, 2014 4:09 pm

@TGeorgeMihai , If you make the Sprite global (under the object type properties set the "Global" to yes), all of it's properties will be transferred to other layouts. Including instance variables.
composer - multimedia artist
www.eli0s.com/en/
B
69
S
27
G
6
Posts: 1,146
Reputation: 10,379


Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 42 guests