(Evolution of my solutions)
*Add behavior "Destroy outside layout" and place it outside layout - not good for all the cases.
*Add all the objects you want to destroy in a family (I call that family "Destroyable"), and easily drag into that family all the sprites you want to destroy, and on start of the layout destroy only that family - cons: you have to create a family for each type of plugins: Sprites, Particles, Texts....
*Instead creating objects in the main layout and destroying them - create objects in another layout and never use that layout
i agree with you, the work around's for this feature are plenty, but why do that? instead of just ticking a box?
doesn't it feel more natural?
i dont deny the family placing object that u can destroy is smart, and most of the mentions you did i already knew or thinked by now at them, but the new people wont or if they will they will probably take the same course of learning as we did, however not all objects in C2 can be placed in 1 family, tiled-backgrounds and texts for example and buttons are different entities, while sprites and sprite-maps are another thing, also sprite-fonts.
having this feature, as we already have with the "make global" is much easier, and since Construct Classic already proves it can be done, i dont see why it didn't stayed in C2?
going back to the work around, the family one since plenty objects in C2 cant be placed in same family, you will still horde a bunch of families, also having the sprites all in a separate layout, will kill your app performance even if that layout is only used for object archive. the image memory/ download size is considerable increasing when you have sprites/objects in a layout no matter if its used or not.
if the checkbox is to much maybe? even if i doubt that, can be a behavior made that can be added?
but i think the destroy on start of layout, was planned to be implemented long time ago, it might be was just forgotten in favor of other better things, which where more important, at the time of transition.
what do you guys think?
lets put it to a small civil vote just for results to show up then if scirra team wants to implement it they will decide, im just curious how many of you will want to choose option A or B.
option A :
>
*Add behavior "Destroy outside layout" and place it outside layout - not good for all the cases.
*Add all the objects you want to destroy in a family (I call that family "Destroyable"), and easily drag into that family all the sprites you want to destroy, and on start of the layout destroy only that family - cons: you have to create a family for each type of plugins: Sprites, Particles, Texts....
*Instead creating objects in the main layout and destroying them - create objects in another layout and never use that layout
option B:
- 1 checkbox that you set on each object to destroy on start of layout.
if we count the work arounds this 1 checkbox feature has, youl find is like 1 implementation to remove about 5-10 workarounds.
1 action to eliminate 10 others.
just say +1 A or +1 B.
im dying to see the results.
Edited: even if this issue was addressed early on C2 transition from CC, its a feature that should be taken in consideration, even if its not a fire-burning implementation. its one of those things that as i mentioned above multiple times, wold make things feel more natural. i know C2 development is not anymore that important, and the new C3 transition comes above all, i totally get it, but as Newt said bellow, if this was asked early that was probably in 2012-2013 ... its 4 years later now i think is scirra's responsibility to have the feeling of improving the software, and support this type of implementation officially, and not only to mantain isn't it? cause we all can say use a third party/custom behavior when comes to more work on table. but the 3rd parties/behaviors/plugins, wont be always updated with the latest version of C2, as more then maybe 80% of C2 plugins that are made by people around community is outdated, and brake when a new C2 releases.
and i know C2 for now is still going to be developed, until the C3 or R300 which will become C2 last update presumably, and the C3 release will happen, but till then we still have another year or 2 to go, and C2 will still remain the one product that will count as sales.