-
Hello! I appreciate the fantastic open-source work you've done! I've managed to isolate the necessary plugins to run my application without a window. However, in this configuration, the Update systems are only called once. To have them executed on each frame, I've found that I need to include the WindowPlugin, which is something I'd like to avoid. Is there a way to have recurring Update calls without adding all the plugins that I don't require in my specific case? .add_plugins( bevy::core::TaskPoolPlugin::default() )
.add_plugins( bevy::time::TimePlugin::default() )
.add_plugins( bevy::core::FrameCountPlugin::default() )
.add_plugins( bevy::input::InputPlugin::default() )
.add_plugins( bevy::window::WindowPlugin::default() )
.add_plugins( bevy::a11y::AccessibilityPlugin ) |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
You can use |
Beta Was this translation helpful? Give feedback.
-
The Example Usage: use bevy::prelude::*;
fn main() {
App::new()
.add_plugins(MinimalPlugins)
.add_systems(Update, my_system)
.run();
}
fn my_system(counter: Local<u32>) {
*counter += 1;
println!("Counter: {}", *counter);
} |
Beta Was this translation helpful? Give feedback.
-
Awesome! That works ❤️ |
Beta Was this translation helpful? Give feedback.
The
MinimalPlugins
PluginGroup provides you with a headless runtime, which includes a schedule runner via theScheduleRunnerPlugin
.Example Usage: