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 currently have three sprites that I want to move in a random direction every 5-8 seconds, but I can only get them to move at the same time. I've tried using "For Each", but this causes only the first sprite to move and not the other two. How do I fix this?
Develop games in your browser. Powerful, performant & highly capable.
Use the Timer behavior. It's for exactly what you want to do.
Could you be a bit more specific please? I already have the timer behaviour set to the sprite and have a similar setup with a different object, but it's still not working. I expect I'm missing a few steps somewhere:
Make sure the Start is only done once. I'm guessing you are running this continually, so continually restarting the timer.