FlameFrameOptions

Extends: roAssociativeArray

How BGE.ProceduralFrames.flame() draws a flame. Only the colours are required.

Properties

  • startColor (integer) — RGB: each square cools from startColor to endColor as it rises
  • endColor (integer)
  • frameCount (integer) — Default 8
  • frameWidth (integer) — Pixels per frame; default 24 x 48
  • frameHeight (integer)
  • squareCount (integer) — Squares in flight at once; default 6
  • startSize (float) — Pixels, at birth and at the top; default 16 and 5
  • endSize (float)
  • startAlpha (float) — 0-255 at birth, fading out as each square rises; default 250
  • drift (Array.<float>) — Sideways drift of each square, as a fraction of how far it has risen (repeats when there