Deleting a sprite without completely removing it?

For questions about using Classic.

Post » Wed Mar 04, 2009 11:35 am

If you are really concerned about keeping a layout as clean as possible, I'd take the advice above and make a layer which is hidden to put it all on, or place it as far offscreen as you can.
B
3
S
2
G
5
Posts: 1,777
Reputation: 5,529

Post » Wed Mar 04, 2009 1:19 pm

This is what I do. I take all my objects and put it on one layer. Then in the event layout, I have an event that destroys them if they are outside the layout. It's better to do that anyway. if you have all objects out the layout, you can delete things without worrying about deleting something important.
B
11
S
3
G
8
Posts: 473
Reputation: 4,569

Post » Wed Mar 04, 2009 1:28 pm

You shouldn't have to use events, just use the attribute, it'll avoid clutter with lots of these objects (such as in a level editor).
B
3
S
2
G
5
Posts: 1,777
Reputation: 5,529

Post » Wed Mar 04, 2009 3:19 pm

You can also move it off screen, set its opacity to 0 and then lock it so you can't click on it. At that point, it will seem like it's not there. But then you would need to set its opacity manually every time you create one or it would be invisible when you create them.
Moderator
B
87
S
32
G
33
Posts: 3,005
Reputation: 27,397

Previous

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 4 guests