Dynamically create random amount of objects ONLOAD

Get help using Construct 2

Post » Thu May 23, 2013 6:38 pm

Hello folks of Construct2!

I'm trying to get in to development with Construct, but without direct code typing I'm bit lost!

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!
B
3
Posts: 1
Reputation: 177

Post » Thu May 23, 2013 7:50 pm

To create many objects instantly, you use a repeat or a loop with an 'on start of layout' condition.
B
83
S
21
G
15
Posts: 1,039
Reputation: 15,134


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 25 guests