Creating multiple instances of a particles2D node

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Bhavani Shankar
:warning: Old Version Published before Godot 3 was released.

I created a particles2D node and tweaked it to produce an explosion like effect. In my game multiple explosions happen at multiple random places (calculated in code) so I need some way to create multiple instances of this node at all these places.

How can I do this?
Thanks

:bust_in_silhouette: Reply From: gtkampos

Create a separate scene with your particles nodes and everything else. Then in your main scene, you instance this scene as many as you wish.

See the instancing scenes manual…

Thanks. It works!

Bhavani Shankar | 2017-05-13 15:38