How do I know if a sprite is in use in any of my layouts?

Get help using Construct 2

Post » Mon Apr 18, 2016 9:12 am

I have very basic question, but I didn't find the answer in FAQ, so I ask here:

I know how to check if a sprite is placed in specific layout. Can I see if a sprite is in use in any of layouts, or I have to check one by one?
B
10
S
2
Posts: 71
Reputation: 696

Post » Mon Apr 18, 2016 11:53 am

Only one layout exists at a time. You can't do anything to 'another' layout.
ImageImageImage
B
71
S
21
G
221
Posts: 3,649
Reputation: 124,227

Post » Mon Apr 18, 2016 12:27 pm

But it would be nice to know if a sprite is used in any layout or not. If not you can delete it to save space.
B
53
S
16
G
6
Posts: 718
Reputation: 9,150

Post » Mon Apr 18, 2016 1:23 pm

Sorry, thought you meant in-game. In the C2 GUI, no, there doesn't seem to be any indicator.
ImageImageImage
B
71
S
21
G
221
Posts: 3,649
Reputation: 124,227

Post » Tue Apr 19, 2016 9:45 am

I have prompt when I delete the last instance of a sprite, so Construct has the info, just there's no UI to get it.
B
10
S
2
Posts: 71
Reputation: 696

Post » Tue Apr 19, 2016 11:40 am

In the layout editor, if you use standard layout, on the right you have a window. In that window you can show Layers, Projects but also Objects. Choose it to display the project. Find your object, drag it to the layout.

If you want to completely delete 'the last object', then you do that also in that window under the rightclick on that object.

Also, when you have objects showing, you can rightclick that window to filter the objects, all objects for the whole project, or only objects in the current layout. This might be a help to know wich objects are in a layout.
B
33
S
18
G
27
Posts: 2,450
Reputation: 20,364

Post » Wed Apr 20, 2016 9:43 am

Great idea! Thank you!
B
10
S
2
Posts: 71
Reputation: 696


Return to How do I....?

Who is online

Users browsing this forum: leandrogenske, R0J0hound, TylerJS and 9 guests