New scene in HaxeFlixel created using PlayState as an example.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Basic example of a scene used in the tutorial for HaxeFlixel as well. | |
*/ | |
class PlayState extends FlxState { | |
override public function create() { | |
super.create(); | |
add(new FlxText('Hello World', 32).screenCenter()); | |
} | |
override public function update(elapsed:Float) { | |
super.update(elapsed); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment