ParticleSystem2D¶
from acron.particles2d import ParticleSystem2D
- class ParticleSystem2D(parent, rng=None, max_live: int = 400)¶
Bases:
objectPooled CPU particles under one NodePath, in Godot pixel coordinates.
rngshould be a stream of the game’s OWN (a burst is cosmetic and must not shift gameplay rolls).max_livecaps the pool.Inheritance diagram
digraph inheritance0f049c0dd6 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "ParticleSystem2D" [URL="acron.particles2d.ParticleSystem2D.html#acron.particles2d.ParticleSystem2D",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="Pooled CPU particles under one NodePath, in Godot pixel coordinates."]; }