Skip to content

Instantly share code, notes, and snippets.

@syon
Created February 16, 2014 12:55
Show Gist options
  • Save syon/9033814 to your computer and use it in GitHub Desktop.
Save syon/9033814 to your computer and use it in GitHub Desktop.
package {
import starling.display.Sprite;
import starling.text.TextField;
public class Game extends Sprite
{
public function Game()
{
var textField:TextField = new TextField(400, 300, "Welcome to Starling!");
addChild(textField);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment