Object persistent between layouts

For questions about using Classic.

Post » Sun Aug 30, 2009 6:30 pm

If you have an object physically placed on a layout and then destroy with an event. When you leave the layout and then return the object reappears. Is this expected behavior or a bug?

The easy workaround for this is to not place any objects manually that you wish to destroy, but instead place them with events.
B
8
S
3
G
7
Posts: 835
Reputation: 5,313

Post » Sun Aug 30, 2009 10:11 pm

It's expected behavior: every time you visit a layout, it is created in its original state in the layout editor. This is so that if you blow up some walls or something then restart the game, you don't have the same "ruined" layout.

Having said that, though, perhaps a "persist state" option for layouts would be good for Construct 2: if you enable it it saves the layout state so you can return to a layout as you left it, or use an action to explicitly reset the state to the initial state.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,478

Post » Sun Aug 30, 2009 10:55 pm

A "persist state" would be awesome for Construct 2!! If more people get into action/RPG games it will make their lives easier. :-)
B
8
S
3
G
7
Posts: 835
Reputation: 5,313


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 0 guests