Mgameplay

deki-particles

Modular particle system: point/circle/rect emission shapes, gravity, drag, initial velocity, and lifetime/size/color/rotation modifiers.

depends on
deki-rendering, deki-2d

What it does

Configurable 2D particle systems for sparks, smoke, dust, magic, and the rest. Emission is one of point, circle, or rectangle. Modifiers compose per-particle behaviour over their lifetime: gravity, drag, initial velocity, plus size, color, and rotation curves.

Pieces

  • Emission shapes: point, circle, rectangle.
  • Forces: gravity, drag, initial velocity.
  • Lifetime modifiers: size over time, color over time, rotation over time.

Renders through the same QuadBlit pipeline as sprites, so particles inherit the project’s color format and clip behaviour automatically.