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

How to limit frame rate #124

Open
aknmjz opened this issue Jan 10, 2024 · 1 comment
Open

How to limit frame rate #124

aknmjz opened this issue Jan 10, 2024 · 1 comment
Labels
4.0 question Further information is requested

Comments

@aknmjz
Copy link

aknmjz commented Jan 10, 2024

No description provided.

@Xerxes004
Copy link

Use the TimeSpan argument to the Render event to keep track of the elapsed time since last render. Add these times together. Once they exceed your frame rate, then handle the event like normal.

@NogginBops NogginBops added 4.0 question Further information is requested labels Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.0 question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants