I am creating a game where it will spawn a certain amount of objects a second to make the game hard. I want to add something where if you press a button labeled "Hard Mode" it will spawn more objects per second. Right now I have it set to one object per 0.25 seconds. I want the hard mode to be something along the lines of 0.12. Do you know how to do this?
Instead of the set values 0.25 and 0.12 you can use a variable, so every 'variable' seconds. Then all you need to do is change the variable to 0.12 for hard mode.
Develop games in your browser. Powerful, performant & highly capable.
Ok, Thank You! ๐๐๐