Skip to content

Instantly share code, notes, and snippets.

@tmngtk
Created September 4, 2009 14:36
Show Gist options
  • Save tmngtk/180918 to your computer and use it in GitHub Desktop.
Save tmngtk/180918 to your computer and use it in GitHub Desktop.
def update(dt):
update.fps_t += dt
if update.fps_t > 1:
print "%s fps" % (get_fps())
update.fps_t = 0
update.fps_t = 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment