Archive 17/01/2023.

How to stop/start ParticleEmitter2D

ricab

What is the proper way to enable/disable the emitter?

My question is pretty much the same as this, which did not have a conclusion. Was something like void SetEmitting(bool enable) ever planned for 2d particles? Thanks

kostik1337

I implemented this by myself in my local repository. Implementation is pretty simple - check out this patch

Modanung

Would make a great pull-request.

ricab

Indeed, it works for me and the code looks good. It would be nice to get this in. Thanks a lot.

kostik1337

OK, I think, it requires some more changes to be in engine (angelscript/lua bindings). I’ll prepare pull request in the near future.

Modanung