dust.lua 386 B

1234567891011121314
  1. local Dust = class()
  2. Dust.image = data.media.graphics.particles.smoke
  3. Dust.max = 256
  4. Dust.blendMode = 'additive'
  5. Dust.options = {}
  6. Dust.options.particleLifetime = {.5}
  7. Dust.options.colors = {{80, 40, 0, 100}, {80, 40, 0, 0}}
  8. Dust.options.sizes = {.6, 1}
  9. Dust.options.sizeVariation = .1
  10. Dust.options.areaSpread = {'normal', 24, 24}
  11. Dust.options.rotation = {0, 2 * math.pi}
  12. return Dust