0 Favourites

How do I group objects/spawn groups?

  • I have a few ideas, specifically UI related, and they seem like they'd be easier to accomplish if I could somehow group the buttons together and spawn them as a group. I thought somehow the families function would be what I wanted but it wasn't. I need to wrap several sprites together and be able to spawn the unit at once..

    Is there an easy way to do this? or will I have to spawn something that spawns other things at image points :/

    Thank you!

  • Construct 3

    Buy Construct 3

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

    Buy Now Construct 3 users don't see these ads
  • i think you can use a function there.

    Click the game layout screen on construct and under the section general select "function"

    Then add an event function > on function, and name it whatever you want. Inside this event put the code to spawn all the buttons that you want to be spawned at once.

    Then whenever you want to spawn all the buttons instead of writing the same code over and over again you just create the action function > call function and set the name of the function you'd like to use.

    Hope it helps

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)
Similar Topics Posts Views Last Post
Unread hot topic
99 10,152
karshinkoff's avatar
karshinkoff
Unread hot topic
56 4,735
MPPlantOfficial's avatar
MPPlantOfficial
Unread hot topic
0 Favourites
[PLUGIN] Instance Group
50 17,111
sagispin's avatar
sagispin