Skip to content
New issue

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

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

Already on GitHub? # to your account

Tick once, not twice, per game loop #92

Merged
merged 1 commit into from
Jul 5, 2024

Conversation

joewreschnig
Copy link
Contributor

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
Copy link
Member

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.

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 Gadgetoid merged commit 7585912 into pimoroni:main Jul 5, 2024
@Gadgetoid
Copy link
Member

Thank you 🎉

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants