How do I make something happen 'n' times

Get help using Construct 2

Post » Tue Sep 08, 2015 9:03 pm

Let's say I'm making a tower defense and I want 10 monsters to spawn one after the other.

I know how to make it happen if I write out 10 spawn events and the relevant timer delay stuff.

But is there a way to just have a sequence of events happen a certain amount of times?

Is a For loop the common way to do this or is there a better way in Construct.

I'm fine with for loops but I just want to do things in the basic intended way for the purposes of learning Construct.
B
6
S
1
Posts: 33
Reputation: 495

Post » Tue Sep 08, 2015 9:31 pm

System -> Repeat
That's all actually. If you want to add a delay check this tutorial: https://www.scirra.com/tutorials/723/us ... t-in-loops
B
18
S
4
Posts: 16
Reputation: 1,505

Post » Tue Sep 08, 2015 9:32 pm

You can use any loop, but there is a special way you have to build a delay between iterations. You can learn it here: https://www.scirra.com/tutorials/723/using-wait-in-loops
ImageImageImage
B
28
S
17
G
82
Posts: 1,034
Reputation: 45,912

Post » Tue Sep 08, 2015 9:33 pm

^ One minute 8)
B
18
S
4
Posts: 16
Reputation: 1,505


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 7 guests