How do I Random every x seconds

Get help using Construct 2

Post » Thu Jun 04, 2015 9:38 am

Greetings .

I need Help.

How do i make a Random spawn every x Seconds (Random between 1.5 an 2.5 Seconds ).

Working on a Flappy Bird Clone ,an i want to Spawn the Pipes in between 1.5 and 2.5 Seconds.

Thx for Help

Basshase
B
5
S
1
Posts: 17
Reputation: 411

Post » Thu Jun 04, 2015 9:49 am

Either use a "system every x seconds" expression and set it's value to random(1.5, 2.5)
or use the timer behaviour and start the timer at any time you'd like and set it for random(1.5, 2.5) seconds..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Thu Jun 04, 2015 4:57 pm

Great thx LittleStain it works perfect.
B
5
S
1
Posts: 17
Reputation: 411


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 13 guests