pimoroni / picosystem

PicoSystem libraries and examples.
MIT License
145 stars 33 forks source link

SDK: Refactor game loop, add stats. #25

Closed Gadgetoid closed 3 years ago

Gadgetoid commented 3 years ago

Refactor game loop

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

TODO:

Gadgetoid commented 3 years ago

@lowfatcode need to update: https://github.com/pimoroni/picosystem/blob/main/template/main.cpp