How do I up the fire rate of bullets after some time

Get help using Construct 2

Post » Fri Oct 14, 2016 4:15 pm

Hello everyone.

I'm making this game where bullets are rain drops and if they touch you it's game over.

Now obviously it should be raining more after some time has passed so that the game becomes more difficult.

Is there any possibility to up the fire rate of bullets while the time is passing?
B
14
S
3
Posts: 50
Reputation: 907

Post » Fri Oct 14, 2016 4:28 pm

Are you talking about the quantity or speed?

Either way you could make a global variable for the fire rate. Every x seconds alter the fire rate.

Multiple ways to set this up—what is your event for creating the rain drops?
ImageImageImage
B
41
S
24
G
11
Posts: 501
Reputation: 10,193

Post » Fri Oct 14, 2016 6:03 pm

@badmoodtaylor I'm talking about the quantity.
It's: Every 1 second - Create Object.
B
14
S
3
Posts: 50
Reputation: 907

Post » Fri Oct 14, 2016 6:38 pm

Global Variable "FireRate" initially set to 1

Every "FireRate" seconds - create object

Every 10 seconds - Subtract 0.02 from FireRate (or better yet) Set FireRate to FireRate*0.9
ImageImageImage
B
41
S
24
G
11
Posts: 501
Reputation: 10,193


Return to How do I....?

Who is online

Users browsing this forum: batto and 21 guests