Cargo Features
bevy_intro_screen has no features set by default.
[dependencies]
bevy_intro_screen = { version = "0.1.2", features = ["egui", "bevy_ui", "assets"] }
- egui = bevy_egui
-
Special Steps
- Enable the
egui_ui
feature inbevy_intro_screen
egui_extras
crate
# Or other features egui_extras = { version = "0.28.1", features = ["image"] } `` 3. **Camera:** Ensure a `Camera2dBundle` or `Camera3dBundle` is present for UI rendering. 4. **Initialize Image Loader** ```rust,no_run use bevy_intro_screen::egui::EguiContexts; fn setup(contexts: EguiContexts) { egui_extras::install_image_loaders(contexts.ctx()); } // ....
Add this system to your app (usually the
Startup
scheudule). 5. The remaining steps are identical to standard usual or refer to the example.Affects
splash_screen::egui
… - Enable the
- bevy_ui = assets
-
Special Steps
Note: Include the neccessary assets loaders based on the file formats that you intend to use
Affects
splash_screen::bevy_ui
,ui::IntroScreenAssets
… - assets bevy_ui? = bevy_asset_loader
-
Affects
ui::IntroScreenAssets
…
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- bevy_asset_loader assets?
-
Enables bevy_asset_loader
For bevy_ui feature example
- bevy_egui egui?
-
Enables bevy_egui ^0.28.0