@eryx/gfx/particles Module
JSON
Particle system creation.
local particles = require("@eryx/gfx/particles")
local ps = particles.createSystem({ life = 2, speed = 100, ... })
The returned ParticleSystem object has methods like :update(dt), :draw(window), :spawnParticles(x, y, count?) provided by the native metatable.