diff --git a/.vscode/settings.json b/.vscode/settings.json index c176842..06c67e0 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,8 +1,10 @@ { "cSpell.words": [ "clippy", + "platformer", "raylib", "renderable", + "scroller", "vergen", "vsprintf" ] diff --git a/README.md b/README.md index 015e771..b3e9ae2 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,15 @@ -# [data::loss] + +![](./game/assets/logos/game-banner.png) + [![Build](https://github.com/Ewpratten/ludum-dare-49/actions/workflows/build.yml/badge.svg)](https://github.com/Ewpratten/ludum-dare-49/actions/workflows/build.yml) [![Clippy check](https://github.com/Ewpratten/ludum-dare-49/actions/workflows/clippy.yml/badge.svg)](https://github.com/Ewpratten/ludum-dare-49/actions/workflows/clippy.yml) [![Ludum Dare 49](https://img.shields.io/badge/Ludum%20Dare-49-orange)](https://ldjam.com/events/ludum-dare/49/$261521) [![Rust 1.57 nightly](https://img.shields.io/badge/Rust-1.57%20nightly-orange)](https://www.rust-lang.org/) [![Made with Raylib](https://img.shields.io/badge/Made%20With-raylib-blue)](https://www.raylib.com/) +**[data::loss]** is a fast-paced side-scroller platforming game where you navigate a world full of graphical inconsistencies that have a habit of causing physical consequences. - -## Documentation - -All development documentation has been moved to [`DEVELOPERS.md`](./DEVELOPERS.md). +This game was written purely in [Rust](https://www.rust-lang.org/), and interfaces with bindings to the [`raylib`](https://raylib.com) graphics library. For half the team, this has been their first experience with Rust. The other half have extensive experience in the language. ## The Team diff --git a/game/assets/levels/level_4/zones.json b/game/assets/levels/level_4/zones.json index 32eb6ac..f92e50b 100644 --- a/game/assets/levels/level_4/zones.json +++ b/game/assets/levels/level_4/zones.json @@ -68,8 +68,8 @@ "width": 322, "height": 64 } - ], + "kill": [], "win": { "x": 12000, "y": 0, diff --git a/game/assets/logos/game-banner-5x4.png b/game/assets/logos/game-banner-5x4.png new file mode 100644 index 0000000..879e25b Binary files /dev/null and b/game/assets/logos/game-banner-5x4.png differ diff --git a/game/assets/logos/game-banner.png b/game/assets/logos/game-banner.png new file mode 100644 index 0000000..4fa022f Binary files /dev/null and b/game/assets/logos/game-banner.png differ diff --git a/game/src/scenes/next_level_screen.rs b/game/src/scenes/next_level_screen.rs index 29b2c18..3de1c08 100644 --- a/game/src/scenes/next_level_screen.rs +++ b/game/src/scenes/next_level_screen.rs @@ -104,6 +104,10 @@ impl Action for NextLevelScreen { Ok(ActionFlag::SwitchState(Scenes::InGameScene)) } else if self.is_level_select_pressed { + context + .flag_send + .send(Some(ControlFlag::SoundTrigger("button-press".to_string()))) + .unwrap(); Ok(ActionFlag::SwitchState(Scenes::LevelSelectScreen)) }else { Ok(ActionFlag::Continue)