This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
0 votes

I'm trying to make a jump/land particles for a platform game, but I'm facing a problem trying to emit particles. Just setting particles.emitting=true/false doesn't work properly because when you set emitting=true and still have active particles this will not emit new particles. particles.restart() doesn't work either because it erases all particles and only after that emits new particles. Instantiating new particle nodes on every jump doesn't seem to be very efficient either.

Godot version 3.5.stable.mono
in Engine by (12 points)

1 Answer

+1 vote

Most efficient option is to build a node childing few instances of the same particles, governing queue of particle emission.
Take a look at 6:24 of this tutorial:

by (8,188 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.