Skip to content
joelmartinez edited this page May 1, 2013 · 3 revisions

##Sample

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

Usage

You can create lines by calling the sprite manager's addLine method, and supplying the start and end vectors.

var line = frb.SpriteManager.addLine(0,0, 20,20);

The points are in world space, and can be controlled independently.

Available Properties

Clone this wiki locally