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
Please take a look at my capx
I plan to create 5 planes to fly to clicked location. However, there are way too many planes created and I could not figure out why.
Please can you help my explain it? Thank you very much
I haven't looked at the .capx but I'm guessing you only added the loop as a condition in the event? You should add the loop-event as a sub-event of a trigger condition like "On start of layout", or the event will run every tick and create 5 planes every tick.
So something like this:
+On start of layout:
+Repeat 5 times:
[li]>Create object Plane
Remove the "wait 5 seconds" and only 5 will be created. With it you get a continuous stream of 5 planes a tick for 5 seconds.
Develop games in your browser. Powerful, performant & highly capable.
R0J0hound: Your solution works great, thank you.
Nimtrix: Thank you for your solution, it also works