diff --git a/README.md b/README.md index 980bd00..56b8926 100644 --- a/README.md +++ b/README.md @@ -46,3 +46,21 @@ Contributions of any kind are welcome. [Credits](https://github.com/PraxTube/ace-of-the-heavens/blob/master/CREDITS.md). [License](https://github.com/PraxTube/ace-of-the-heavens/blob/master/LICENSE), applies to everything that doesn't already have a license. + +## Footage + +
+ +
+ ++ +
+ ++ +
+ ++ +
diff --git a/docs/demo/corridor.gif b/docs/demo/corridor.gif new file mode 100644 index 0000000..d45f52f Binary files /dev/null and b/docs/demo/corridor.gif differ diff --git a/docs/demo/dodge.gif b/docs/demo/dodge.gif new file mode 100644 index 0000000..2f0972e Binary files /dev/null and b/docs/demo/dodge.gif differ diff --git a/docs/demo/rocket-kill.gif b/docs/demo/rocket-kill.gif new file mode 100644 index 0000000..5549876 Binary files /dev/null and b/docs/demo/rocket-kill.gif differ diff --git a/docs/demo/shoot-n-dodge.gif b/docs/demo/shoot-n-dodge.gif new file mode 100644 index 0000000..f88a808 Binary files /dev/null and b/docs/demo/shoot-n-dodge.gif differ diff --git a/src/ui/matchmaking_screen.rs b/src/ui/matchmaking_screen.rs index 6121d14..4304f68 100644 --- a/src/ui/matchmaking_screen.rs +++ b/src/ui/matchmaking_screen.rs @@ -7,14 +7,15 @@ struct MatchmakingScreen; #[derive(Component)] struct MatchmakingText; +const MESSAGE: &str = "WAITING FOR 1 OTHER PLAYER"; + fn spawn_title_text(commands: &mut Commands, font: Handle) -> Entity { let text_style = TextStyle { font, font_size: 75.0, color: Color::WHITE, }; - let text_bundle = - TextBundle::from_sections([TextSection::new("LOADING -".to_string(), text_style)]); + let text_bundle = TextBundle::from_sections([TextSection::new(MESSAGE, text_style)]); commands.spawn((MatchmakingText, text_bundle)).id() } @@ -92,20 +93,20 @@ fn animate_matchmaking_screen( let new_text = if content.ends_with('-') { *forward = !*forward; if *forward { - "LOADING /" + MESSAGE.to_string() + " /" } else { - "LOADING \\" + MESSAGE.to_string() + " \\" } } else if content.ends_with('/') { - "LOADING -" + MESSAGE.to_string() + " -" } else if content.ends_with('\\') { - "LOADING |" + MESSAGE.to_string() + " |" } else { *forward = !*forward; if *forward { - "LOADING /" + MESSAGE.to_string() + " /" } else { - "LOADING \\" + MESSAGE.to_string() + " \\" } };