Skip to content

Instantly share code, notes, and snippets.

@Mischa-Alff
Created February 26, 2015 13:36
Show Gist options
  • Save Mischa-Alff/4f63e0f273946d6dcc1e to your computer and use it in GitHub Desktop.
Save Mischa-Alff/4f63e0f273946d6dcc1e to your computer and use it in GitHub Desktop.
Clock gameClock;
while gameIsRunning:
frameTime = gameClock.restart()
process_input()
update_physics(frameTime)
update_graphics(frameTime)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment