--- a/src/screen/splash.rs +++ b/src/screen/splash.rs @@ -50,6 +50,7 @@ const SPLASH_DURATION_SECS: f32 = 2.0; const SPLASH_FADE_DURATION_SECS: f32 = 0.6; +#[allow(dead_code)] fn splash_image_bundle(asset_server: &AssetServer, path: &'static str) -> impl Bundle { ( Name::new("Splash image"), @@ -81,7 +82,7 @@ ) } -fn spawn_splash(mut commands: Commands, asset_server: Res) { +fn spawn_splash(mut commands: Commands) { commands .ui_root() .insert(( @@ -90,9 +91,7 @@ StateScoped(Screen::Splash), SplashContainer, )) - .with_children(|children| { - children.spawn(splash_image_bundle(&asset_server, "images/splash.png")); - }); + ; } #[derive(Event)] @@ -194,7 +193,8 @@ } // if we've shown both splash screens, skip out here - if *splash_screen >= 1 { + // FredyGames: no splash images (the Bevy logo is Bevy Foundation's; Wilsk's is not credited anywhere), go straight on. + if true { next_screen.set(Screen::Loading); return; } else {