Skip to content

Instantly share code, notes, and snippets.

@KinoAR

KinoAR/PlayState.hx

Created Mar 6, 2021
Embed
What would you like to do?
New scene in HaxeFlixel created using PlayState as an example.
/**
* 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