Object grouping

0 favourites
  • 6 posts
From the Asset Store
This is a single chapter from the "Construct Starter Kit Collection". It is the Student Workbook for its Workshop.
  • Hi, I'm pretty new to Construct and Construct 2, but I've used MMF and the likes heavily in the past years. Construct 2 got me interested with its HTML 5 exporter, it's simply amazing !

    Now, I don't know if this existed in Construct or even if it exists now in Construct 2, but it sure did in MMF / TGF. Object grouping (Or Sprite grouping) would be a godsend for the little project I'm on right now. I have a lot of different sprites that I want to share the same set of events.

    I could create a pseudo-grouping by joining an invisible sprite under each of my other ones and have the events only affect those invisible. It adds a bit of overhead in coding, but it's still much less than replicating events 10+ times.

  • In Construct Classic they are Families. In example you can put 10 different sprites in one family called "enemy" and then in events set something like "if bulet hit family -> enemy destroy family enemy"

    Only objects in enemy family which was hit by bullet will be destroyed - rest will remian the same.

    Is that what you after?

  • It's only in classic (at the moment), and the feature is called called families.

    edit: ninja'd by shinkan

  • Thanks to both of you anyway <img src="smileys/smiley1.gif" border="0" align="middle" />.

    I guess it's on the TO-DO list then... but how high up on that list ? <img src="smileys/smiley23.gif" border="0" align="middle" />

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • If you hang on a month or two, we should have families in C2 by then.

  • Cool, I'll go ahead and implement my little hack of a workaround. Good thing is that with the same method I'll be able to create simple animations ! <img src="smileys/smiley2.gif" border="0" align="middle" />

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)