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
Posts: 33
Reputation: 345

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
17
S
4
Posts: 16
Reputation: 1,480

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
27
S
16
G
74
Posts: 977
Reputation: 41,673

Post » Tue Sep 08, 2015 9:33 pm

^ One minute 8)
B
17
S
4
Posts: 16
Reputation: 1,480


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 15 guests