Hidden features #2: Object categories and 'hide in editors'

Post your own tutorials, guides and demos.

Post » Sat Feb 21, 2009 12:50 pm

The next two features allow you some control over which objects are shown in the event wizard and to categorise them.

Here's what's in Common for the properties of a Sprite:



The bottom two are the ones we're interested in. The first, 'show in editors' will allow you to control whether the object is shown in the event wizard. For alot of background objects and scenery, you won't ever want to run actions or conditions from them, so hide them to avoid clutter.

The second, 'category' allows you to type in a category name for each object. Perhaps the best way to explain this is with a screenshot.



Each individual category name will create a new category in the event wizard, allowing much easier 'at a glance' selection and overviewing.

Enjoy!
B
3
S
2
G
5
Posts: 1,777
Reputation: 5,529

Post » Sat Feb 21, 2009 1:17 pm

Image Image
B
161
S
48
G
90
Posts: 7,356
Reputation: 66,767

Post » Sat Feb 21, 2009 2:15 pm

I knew the first one but not the second, which can be really useful when there are a lot of objects. I think I'm going to sort out my objects now.
B
2
S
2
G
3
Posts: 143
Reputation: 1,536

Post » Sun Feb 22, 2009 10:50 pm

Wow, that's really useful! Maybe we should make an 'Obscure tips' page on the wiki, for facts like this. :)
B
5
S
2
G
4
Posts: 113
Reputation: 2,101

Post » Sun Feb 22, 2009 11:40 pm

We'll probably add a right click menu in the event wizard so you can arrange your objects there and then.

Just like adding private variables, its most likely that the time you'll think 'man this object really shouldn't be listed in the event wizard' is when you're actually in the event wizard :)
B
4
S
2
G
5
Posts: 641
Reputation: 3,011


Return to Your tutorials & example files

Who is online

Users browsing this forum: No registered users and 1 guest