Skip to content

Instantly share code, notes, and snippets.

@jonathanhirz
Created July 19, 2015 20:11
Show Gist options
  • Save jonathanhirz/d67f2f53a8257e011c00 to your computer and use it in GitHub Desktop.
Save jonathanhirz/d67f2f53a8257e011c00 to your computer and use it in GitHub Desktop.
override function update(dt:Float) {
if(Luxe.time - count_time > 0.5) {
count_time = Luxe.time;
fps_text.text = 'FPS: ' + Std.int(1.0 / Luxe.dt);
}
} //update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment