Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
I'm creating a dodging game where the player must avoid red balls falling from the top and bottom of the layout. To start with the objects are created every 3 seconds but how do I set it so the object is created every 2 seconds after 30 seconds and then every 1 second after 1 minute to make it harder?
Use a global variable and change it to every 'variable' seconds. The variable initially is 3. Then with a separate variable that counts down or with a timer, after 30 seconds subtract 1 from the variable then that event would be every 2 seconds etc.
Thanks a lot - I've done this and it worked but how do I stop the global variable going below 0? It makes the game glitch when it gets to 1 minute 30 seconds.
On the event where you reduce the variable every 30 seconds you can add a condition there that variable must be greater or equal to 0.
Develop games in your browser. Powerful, performant & highly capable.
You're good at this - it worked! Thanks so much! :)