Dynamically create random amount of objects ONLOAD

  • Hello folks of Construct2!

    I'm trying to get in to development with Construct, but without direct code typing I'm bit lost! <img src="smileys/smiley1.gif" border="0" align="middle" />

    I've few years programming experience, but none in game development, so this is really new to me.

    I've tried to figure out, I've, let's say "gameboard", where I'd like to spawn on game load random(3,5) "containers". Each of these "containers" should contain random(3,5) "item"s, that should be draggable.

    I've figured out how to make "item" draggable, and how to place items to gameboard statically. But how can I make this dynamically?

    Thanks for help!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • To create many objects instantly, you use a repeat or a loop with an 'on start of layout' condition.

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