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
Hi, what's the command to wait a few seconds before the next one? For example, if in the game you are reloading, and you want it to wait about 3 seconds before you can fire again.
Are you using the turret behavior?
If so you can change the reload time in the properties menu.
No it's a top down shooter using the same kind of shooting as in the ghost shooter tutorial. I added the reloading in as an event (If r is pressed, go through the reload process)
When you press R, you could set a flag to disable shooting, and use 'Call function after delay' in the function object to call, for example, "EnableShooting" after 1 second.
How do I set flags? Do I just use private variables or is there another way?
Develop games in your browser. Powerful, performant & highly capable.
A private variable is the best way, yes. When talking about flags as a programmer, we mean setting a variable to 0 or 1 .