pimoroni / picosystem

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

Tick once, not twice, per game loop #92

Closed joewreschnig closed 4 months ago

joewreschnig commented 1 year ago

For compatibility with MicroPython this is done between tick and draw, i.e. the loop is draw/tick, draw/tick, etc. rather than tick/draw, tick/draw, etc.

Gadgetoid commented 1 year ago

Yikes, good catch. I'll have to merge this right before a release so that it can be documented somewhere since anyone currently relying on ticks for logic pacing will have something of a surprise.

Gadgetoid commented 4 months ago

Thank you 🎉