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

Adding a stub Clock class and providing a fixed update event in Window and View #2169

Merged
merged 17 commits into from
Jul 3, 2024

Conversation

DragonMoffon
Copy link
Collaborator

Changes:

  • clock.py with a Clock and FixedClock object
  • on_fixed_update in Window and View
  • deleted old experimental clock and window
  • an example showing of value interpolation for smoother fixed updates

@einarf
Copy link
Member

einarf commented Jul 3, 2024

I think this is pretty good and other libraries / engines do this. Possibly we need to get control over all the properties attached to the view and window.

@einarf einarf merged commit 2ea17ff into pythonarcade:development Jul 3, 2024
7 checks passed
@DragonMoffon DragonMoffon deleted the tick-tock-clock branch July 3, 2024 06:43
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.

2 participants