bevy
bevy copied to clipboard
Support splash screen
What problem does this solve or what need does it fill?
I would like to make a desktop app with a splash screen to show some basic information (a logo, current version, etc.) of my software.
What solution would you like?
Something like this:
pub struct WindowPlugin {
pub primary_window: Option<Window>,
pub splash_window: Option<Window>,
pub exit_condition: ExitCondition,
pub close_when_requested: bool,
}
What alternative(s) have you considered?
Maybe this will help:
- Basic splash screen is trivial with current states and systems.
- IMO it will bloat WindowPlugin struct.
- splash_window, loading_window, exit_window, game_over_window ... application can have many ....
- You need to hide it by yourself anyway, so loading tracking system is required.
- Better way is to add UI example.
- Is Splash screen is FUNCTIONAL or AESTHETICS element?
- What about animations?
- Adding struct field solves nothing, architecture required for app loading is 99% of work, and showing image to hide it is 1%.
- What if application loading takes multiple stages? splash_window_0 ... splash_window_N
Borrowing from https://github.com/TheBevyFlock/bevy_quickstart would make a great example.