Skip to content

Instantly share code, notes, and snippets.

@syon
Created February 16, 2014 12:50
Show Gist options
  • Save syon/9033769 to your computer and use it in GitHub Desktop.
Save syon/9033769 to your computer and use it in GitHub Desktop.
package {
import flash.display.Sprite;
import starling.core.Starling;
[SWF(width="400", height="300", frameRate="60", backgroundColor="#ffffff")]
public class Startup extends Sprite
{
private var _starling:Starling;
public function Startup()
{
_starling = new Starling(Game, stage);
_starling.start();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment