Shooting

New releases and general discussions.

Post » Sun Dec 08, 2013 2:32 am

In construct classic I want to make it so that when the mouse button is down the gun spawns the bullet every 5 to 10 seconds so how do I do this I tried every way I could think of and I can't do it
B
3
Posts: 3
Reputation: 181

Post » Sun Dec 08, 2013 7:23 am

Try every int(random(6)) + 5 seconds, this will do a minimum of 5s or up to 10s (the random never goes all the way to 6 I believe, it should get rounded down to 5, but I'm not certain)
"Construct 4 lets YOU make advanced games! (but not play them)" Construct Classic - Examples Kit Dropbox is a pile of trash and if you need my old files PM me! :)
B
116
S
41
G
17
Posts: 2,201
Reputation: 19,539


Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 0 guests