We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83ba2c6 commit 184a680Copy full SHA for 184a680
examples/states.rs
@@ -81,6 +81,11 @@ fn print(ready: Res<PipelinesReady>) {
81
82
fn transition(ready: Res<PipelinesReady>, mut next_state: ResMut<NextState<GameState>>) {
83
if ready.get() >= EXPECTED_PIPELINES {
84
+ // Note: you may want to wait an additional period of time or number
85
+ // of frames after this.
86
+ //
87
+ // In my experience, Bevy's framerate seems to take a few seconds to
88
+ // fully recover after pipelines are compiled when running in Firefox.
89
next_state.set(GameState::Ready);
90
}
91
0 commit comments