bevy icon indicating copy to clipboard operation
bevy copied to clipboard

Support splash screen

Open king0952 opened this issue 1 year ago • 1 comments

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?

Tauri Splashscreen

king0952 avatar Jul 01 '24 09:07 king0952

Maybe this will help:

  1. Basic splash screen is trivial with current states and systems.
  2. IMO it will bloat WindowPlugin struct.
  3. splash_window, loading_window, exit_window, game_over_window ... application can have many ....
  4. You need to hide it by yourself anyway, so loading tracking system is required.
  5. Better way is to add UI example.
  6. Is Splash screen is FUNCTIONAL or AESTHETICS element?
  7. What about animations?
  8. Adding struct field solves nothing, architecture required for app loading is 99% of work, and showing image to hide it is 1%.
  9. What if application loading takes multiple stages? splash_window_0 ... splash_window_N

Bcompartment avatar Jul 02 '24 06:07 Bcompartment

Borrowing from https://github.com/TheBevyFlock/bevy_quickstart would make a great example.

alice-i-cecile avatar Jul 27 '24 16:07 alice-i-cecile