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
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
How do I restart a one-shot particle in the event sheet? I have a particle fire once after load. But I want to trigger it again on an event. Any suggestions?
just create a new instance of the object - it will fire one, and then be done too... you can create new instances as often as you like with the system - create object action.
Develop games in your browser. Powerful, performant & highly capable.
I tried that but the instance sprays continuously (I used "create object" in the event sheet)? Even though the particle in the frame on start is set to one-shot? There does not appear to be a "restart Particle" (similar to restart fade... Also I saw online that it destroys the one-shot particle on completion. Other suggestions?
are you constantly creating new instances every tick? have you tried running in debug mode to see how many instances there are? if it is set to one shot, it should only fire once...
what is the condition that initiates creating the new particle?
You were correct - I had to add a "trigger-once while true". Because it was placing particle object repeatedly. It wasn't under an "every-tick" but still repeating because it was being fired by a compare two values (showParticles = true) therefore was continually repeating. A common newbie error. Thank you for your assistance.