aevyrie / bevy_framepace

Framepacing and framelimiting for Bevy
https://crates.io/crates/bevy_framepace
Apache License 2.0
245 stars 23 forks source link

Update to Bevy 0.10 #32

Closed alice-i-cecile closed 1 year ago

alice-i-cecile commented 1 year ago

Fixes #31.

This is a pretty simple start: I'll test it out and refine the PR.

jBugman commented 1 year ago

Hello! I tried this version (using git+branch) while migrating to Bevy 0.10, and it seems it doesn't do anything anymore. Depending on present_mode fps either stay uncapped or capped by vsync. Am I missing some new configuration or does the plugin need more work?

rlidwka commented 1 year ago

I tried this version (using git+branch) while migrating to Bevy 0.10, and it seems it doesn't do anything anymore.

If I set really low framerate (like 5fps), it is clearly doing something.

But my diagnostics (FrameTimeDiagnosticsPlugin::FPS) show fps jumping all around the place, even though in 0.9 they showed stable fps which was equal to what was requested.

aevyrie commented 1 year ago

Closing, I had a competing branch on main that also uses the new 0.10 framepacing stage. Thanks for spending the time on this, sorry to waste your effort. ❤️