For each object IN LAYER x

For questions about using Classic.

Post » Thu Sep 17, 2009 6:20 pm

I don't think so - I think it'd be less elegant! You'd basically have extra icons in the event sheet editor for each type of plugin representing "all" those objects. They would basically useless, because they are too general - eg. actions in the "Sprite" class runs on ALL sprites, which is too broad - it'd include your UI sprites, effects sprites, terrain sprites, as well as players, bullets, enemies etc. etc. And then its functionality is identical to having added all those objects to a family anyway, but with the limitation you can't make it not apply to certain types of sprite. So it is actually less flexible, not to mention large changes to the runtime and event sheet editor to support this, which is hard work and would create new bugs. So I insist - just use a family!
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,620

Post » Thu Sep 17, 2009 6:53 pm

well explained, and I agree, it would be useless to have such general expressions. That's pretty much what families were made for; to address specific groups of objects.
B
25
S
3
G
6
Posts: 1,197
Reputation: 5,620

Post » Thu Sep 17, 2009 11:13 pm

Ashley: Hm, now that you say it that way, I have to agree, it is more elegant that way, after all :D
B
3
S
2
G
5
Posts: 263
Reputation: 2,201

Previous

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 7 guests