View source

class flaxen.demo.Main extends Flaxen

Available on all platforms

Flaxen Demo.

  • TODO: I'd rather use CTRL/CMD-ENTER to toggle fullscreen. Right now, Flash requires ESC to leave fullscreen mode. Also, I'm triggering on the F key instead the desired key combo.

  • TODO: All demos (but layout) suffer from resize issues. Fixxy fix it!
  • TODO: Break apart Animation demo into several examples, rather than the 1-5 key business you've got going on.

Class Fields

static function main():Void

Instance Fields

var handlerIndex:Int

var modes:Array<String>

function new(?optionsOrWidth:Dynamic, ?height:Int, ?fps:Int, ?fixed:Bool, ?smoothing:Bool, ?earlySystems:Array<Class<FlaxenSystem>>, ?lateSystems:Array<Class<FlaxenSystem>>):Void

function changeHandler(offset:Int):Void

function ready():Void

function restart():Void