Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDK: Refactor game loop, add stats. #25

Merged
merged 4 commits into from
Oct 20, 2021
Merged

SDK: Refactor game loop, add stats. #25

merged 4 commits into from
Oct 20, 2021

Conversation

Gadgetoid
Copy link
Member

@Gadgetoid Gadgetoid commented Oct 20, 2021

Refactor game loop

Add stats for FPS, idle-time %, last full tick time, update()/draw() call time in ms.

TODO:

  • Update MicroPython game loop
  • Add Stats to MicroPython bindings
  • Update template

@Gadgetoid
Copy link
Member Author

Jonathan Williamson and others added 4 commits October 20, 2021 14:39
* New game loop
* Updated demos
* Added stats object for profiling
* Set display hz to 50
* Round fps to nearest value, removes jitter in counter.
* Add .flake8 config for examples/frozen content
* Define builtins in .flake8 config to avoid overzealous error squashing
* Update examples for builtin compatibility
* Add jingle to launcher
@Gadgetoid Gadgetoid mentioned this pull request Oct 20, 2021
@Gadgetoid Gadgetoid merged commit 0c7de5e into main Oct 20, 2021
@Gadgetoid Gadgetoid deleted the stats branch November 1, 2021 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant