multiple objects spawning multiple object

0 favourites
  • 5 posts
From the Asset Store
This is a single chapter from the "Construct Starter Kit Collection". It is the Student Workbook for its Workshop.
  • Hey guys,

    I am new here and I am building a game together with my cousin so I thought it would be a good idea to create an account.

    I also have a question right away.

    We are building a game where a multiple objects in the game spawn multiple objects at random (but not all at the same time)

    Is there a easy way to do this?

    Cheers,

    Tjoeppy

  • Here is the easy way:

    System->Every random(2,3) seconds

    ...System -> Pick random instance of object -> spawn object

    The better way is to add Timer behavior and start an individual timer for a random period on each instance.

  • Hey man,

    Sorry been gone for a few weeks...

    Thanks for your advise!

    Yes but there are more objects that all spaw multiple objects

    Do I need to do something like this then?

    System->Every random(2,3) seconds

    System -> Pick random instance of object -> spawn random object

    How do I set the "spaw object" on a random object?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You have multiple object types, and you want them to spawn random objects?

    Add them all to a family.

    Then do the same, only with the family:

    Pick random instance of Family -> Family: spawn Family

  • Thanks man!

    This sounds like something that will work, i'll try it out!

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