Poll #2: Next feature for Construct 2 (again)

Discussion and feedback on Construct 2

Post » Sun Sep 25, 2011 3:50 am

I want something that will handle object grouping. For instance, I can have a body, a cannon, threads and a machinegun turret on my tank.
Then, I want to group all those objects as a single "tank" object, such that collisions to the cannon register collisions to the "tank", if I tell construct to destroy "tank", it should also destroy machinegun and cannon and threads.

Also, suppose cannon has these variables
  • Turn Rate
  • Hit Chance
  • Critical hit chance
and threads have these:
  • Maximum Speed
  • Speed on asphalt
  • Speed on land
and body has these:
  • Armor Treshold
  • Heat resistance
  • Piercing resistance
  • Explosive resistance

the whole tank can have attributes that none of the parts have, such as:
  • Hit points
  • Shields
  • Multiplayer ID
  • Player Name
I should have a way to access a tank's specific cannon variables, for instance, such as "when tank is hit, disable his cannon for one second".
Adding objects of more than one type to such group would also be interesting, so we could pair an array (just an example) for each object instance, so we could keep track of "items" or "powerups" for that tank without needing to serialize them.

Is that what families do?Fimbul2011-09-25 03:51:09
B
35
S
8
G
8
Posts: 532
Reputation: 6,868

Post » Sun Sep 25, 2011 3:58 am

Basicly all you enumerated was in the families of CC.
Except for the multi-type object, as objects of a family share the same variables and ACE, it is tricky to group Sprite and Text for example.
If you'd called the family's action "set text", sprite objects might raise some kind of error (not being designed to acknowledge said action).
I don't know about C2 though.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,999
Reputation: 57,793

Post » Sun Sep 25, 2011 4:06 am

Well I'd say that was a little cheating involved, 26 votes on Families and instead we got Physics engine in r58 ;P

Not complaining, just saying ;D
ImageImageImageImage
B
140
S
58
G
36
Posts: 2,547
Reputation: 31,170

Post » Sun Sep 25, 2011 4:12 am

[QUOTE=Fimbul] I want something that will handle object grouping. For instance, I can have a body, a cannon, threads and a machinegun turret on my tank.
...
Is that what families do?[/QUOTE]

For me it sound more like a Container then Families, well known from CC.
ImageImageImageImage
B
140
S
58
G
36
Posts: 2,547
Reputation: 31,170

Post » Sun Sep 25, 2011 12:04 pm

@Fimbul, yep, that's what containers do from CC. They'll probably come after Families.

@shinkan - families is a big job! Maybe a month or more's work. Physics I could get done in a few days so I did it first :)
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Post » Sun Sep 25, 2011 10:14 pm

I still have no idea what families is
B
17
S
3
G
3
Posts: 109
Reputation: 2,747

Post » Sun Sep 25, 2011 10:26 pm

I posted a link to the CC wiki article about families earlier in the thread.
B
73
S
20
G
10
Posts: 524
Reputation: 9,896

Post » Sun Sep 25, 2011 10:28 pm

If I am correct, it means that a group of objects can be put in a 'folder' called a family. This family can be treated as one object by the editor. Useful if you want different types of enemy, etc (although one can get around this by using different animations in a single sprite)
B
90
S
30
G
24
Posts: 3,189
Reputation: 32,400

Post » Sun Sep 25, 2011 11:32 pm

Info about families from CC

Families
ImageImageImageImage
B
140
S
58
G
36
Posts: 2,547
Reputation: 31,170

Post » Mon Sep 26, 2011 1:04 am

hmm that's gonna be very useful. voted!
B
17
S
3
G
3
Posts: 109
Reputation: 2,747

PreviousNext

Return to Construct 2 General

Who is online

Users browsing this forum: zenox98 and 13 guests