How do I random delta time ?

Get help using Construct 2

Post » Thu Mar 17, 2016 2:04 pm

How do I random delta time ?

Image
B
18
S
8
G
3
Posts: 24
Reputation: 3,083

Post » Thu Mar 17, 2016 2:47 pm

add Cloud instance variable speed
set "speed" to random(100,300)...and use (dt*speed)
B
67
S
24
G
7
Posts: 1,519
Reputation: 11,084

Post » Thu Mar 17, 2016 3:08 pm

Thanks for the help Korbaach !
B
18
S
8
G
3
Posts: 24
Reputation: 3,083

Post » Thu Mar 17, 2016 3:18 pm

I don't believe you even need to set up a variable, just making it (dt*random(20,200)) should work.
Be sure to check out my Metroidvania game, A Hole in the Earth
B
59
S
24
G
3
Posts: 359
Reputation: 5,683


Return to How do I....?

Who is online

Users browsing this forum: jhjconstruct, tarek2 and 52 guests