How do I reset the persisted object back to initial state?

Get help using Construct 2

Post » Thu May 21, 2015 3:48 pm

I have several objects that persist in the game. Now, the problem is when the player goes for new game the second time, these persisted objects have already been eliminated in the second run.

Is there a way to reset the persisted object back to initial state without having to restarting the app?
I got a game that you multiply, breath fire with two heads and brawl foes to oblivion with your clones: http://www.newgrounds.com/portal/view/660664 (use Chrome on Windows for best performance)

My sites:
http://twinblazar.deviantart.com
http://twinblazar.newgrounds.com
https://twitter.com/twinblazar
http://www.pixiv.net/member.php?id=15072448
B
30
S
11
G
11
Posts: 411
Reputation: 8,469

Post » Thu May 21, 2015 4:50 pm

See the manual.

https://www.scirra.com/manual/125/system-actions:

Reset persisted objects
Across the entire project, reset all objects using the Persist behavior to their initial state (as if the layout has not been visited yet). This is useful when restarting a new game from the beginning again.
B
48
S
16
G
9
Posts: 1,098
Reputation: 11,197


Return to How do I....?

Who is online

Users browsing this forum: Norafaithrainbow and 27 guests