Add "Game Over" text to the game over screen
All checks were successful
Basic checks / Basic build-and-test supertask (push) Successful in 7m18s
All checks were successful
Basic checks / Basic build-and-test supertask (push) Successful in 7m18s
This commit is contained in:
@@ -216,6 +216,11 @@ fn spawn_gameover_ui(mut commands: Commands) {
|
||||
..default()
|
||||
},
|
||||
children![
|
||||
(
|
||||
Text::new("Game Over"),
|
||||
TextFont::from_font_size(35.0),
|
||||
TextShadow::default(),
|
||||
),
|
||||
(button_bundle("Main Menu"), ButtonMenuAction::ToMainMenu,),
|
||||
(button_bundle("Quit"), ButtonMenuAction::Quit),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user