ghosttrail.lua 610 B

1234567891011121314151617
  1. local GhostTrail = class()
  2. GhostTrail.image = data.media.graphics.particles.smoke
  3. GhostTrail.max = 256
  4. GhostTrail.blendMode = 'additive'
  5. GhostTrail.options = {}
  6. GhostTrail.options.particleLifetime = {.5, 1}
  7. GhostTrail.options.colors = {{255, 200, 255, 40}, {255, 255, 255, 0}}
  8. GhostTrail.options.sizes = {1.5, 0}
  9. GhostTrail.options.sizeVariation = .1
  10. GhostTrail.options.areaSpread = {'normal', 5, 5}
  11. GhostTrail.options.spin = {-1.5, 1.5}
  12. GhostTrail.options.rotation = {0, 2 * math.pi}
  13. GhostTrail.options.linearAcceleration = {0, 0, 0, 0}
  14. GhostTrail.options.tangentialAcceleration = {-1, 1}
  15. return GhostTrail