Object "Groups"

Discussion and feedback on Construct 2

Post » Sun Oct 16, 2011 11:48 am

Just another humble post by me.
I have a suggestion for the next release of Construct 2: Object "Groups".
Object groups would be something like a variable, you call it once, define what sprites or other objects are in it, and name it. These groups would only be used in the event editor. What a group would be is just a group of objects which can be coded and interacted with as one.
For example, you have 3 different sprites which all look different and have their own events programmed into them (like special attacks and such). But there are some events (such as collision for instance) that they all do the same thing (e.g die). You would put these sprites in a group, name it ("monsters" perhaps), and then add a new event with the group Monsters just as you would add any other kind of event to an object (e.g Monsters on Collision with Bullet -> Destroy Monsters). Of course, it wouldn't destroy everything in the group, it would destroy just the current monster.
If you dont get what I mean, just ask.
If this is already implemented and I dont know about it, please send me to a decent tutorial.
Thanks!
B
40
S
8
G
6
Posts: 61
Reputation: 5,941

Post » Sun Oct 16, 2011 1:21 pm

This sounds like the Families feature from Classic, and we're hoping to implement it soon!
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,478

Post » Sun Oct 16, 2011 1:25 pm

Great Ashley! You guys are always 2 steps ahead of me :)
That'll really cut down on code and time!
B
40
S
8
G
6
Posts: 61
Reputation: 5,941

Post » Tue Oct 18, 2011 6:12 pm

Yeah, I'm waiting for this to start my game. Also, I'd like to know if I start it now, will it be compatible later? Like when the EXE exporter comes around?
B
47
S
10
G
6
Posts: 455
Reputation: 8,326

Post » Tue Oct 18, 2011 8:46 pm

Yep, the EXE exporter should support all core features (but maybe not all plugins).
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,478

Post » Tue Oct 18, 2011 9:01 pm

[QUOTE=Ashley] Yep, the EXE exporter should support all core features (but maybe not all plugins).[/QUOTE]

Cool! I'm guessing you mean plugins having to do with HTML5 and web apps., right? An EXE wouldn't have much use for some of these, I suppose.
B
47
S
10
G
6
Posts: 455
Reputation: 8,326


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 2 guests