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

High FPS is inconsistent #979

Open
BigJezzaYT opened this issue May 2, 2024 · 1 comment
Open

High FPS is inconsistent #979

BigJezzaYT opened this issue May 2, 2024 · 1 comment

Comments

@BigJezzaYT
Copy link

I'm making a game, and I realized that the camera extension couldn't be interpolated, so I set the project FPS to 240 and changed the logic to account for it, but the framerate became wildly inconsistent, spiking between 200 and 300FPS.
Is this because there is no regulator to stall the project until the next frame needs to be drawn?

@CST1229
Copy link

CST1229 commented May 2, 2024

It might just be your project actually lagging, and 240FPS is probably overkill for most usecases. You can probably just set the FPS to 0 (to use the screen's refresh rate), then use a delta time solution (there's the Deltatime extension for it, or you can make it with vanilla blocks).

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

No branches or pull requests

2 participants