Skip to content
Joel Martinez edited this page Jul 1, 2013 · 4 revisions

Usage

var radius = 10;
var circle = engineInstance.SpriteManager.addCircle(radius);

Available Properties

  • All PositionedObject properties
  • color - The fill color of the circle.
  • borderColor - The color of the border.
  • borderWidth - The width of the border.
  • alpha - range 0 (fully transparent) to 1 (fully opaque).

Samples

http://joelmartinez.github.io/flatredball-js/#emitter