Compare commits

...

3 Commits
r1 ... master

Author SHA1 Message Date
9f66e7f563 reviews 2021-10-11 13:19:20 -04:00
0546453fa2
Merge pull request #78 from Ewpratten/space-to-reset
press space to reset on death screen
2021-10-06 08:59:31 -07:00
Luna
f39dfab057 press space to reset on death screen 2021-10-06 02:01:35 -04:00
2 changed files with 13 additions and 1 deletions

View File

@ -11,6 +11,14 @@
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.
## Reviews
> Why would you make this game? Why would you do this to another person? Not everyone chose violence for this game jam. There was a game about a kobold making inventions out of junk to buy a nice rock. There was a physics game about mixing colored beads to make new colors. I saved some pirates from a dragon and some parrots in one game. This game took all my ideas of space and time and called them cringe. I dont know what pit of hell you came from, but I hope youre happy. 10/10. - [DragonSheep](https://ldjam.com/users/dragonsheep)
> ... Overall this is a great game, the art and music is awesome, and theres a good dose of humor and sass to the game. Awesome job!! - [lukeoco1234](https://ldjam.com/users/lukeoco1234)
> Great game, really liked the aesthetic, it takes what would be an already cool reflex based autorun game and enhances is it with unique challenges in the levels. - [AidanV03](https://ldjam.com/users/aidanv03)
## The Team
This game was developed by a team of 9 students from *Sheridan College* and *Trent University*.

View File

@ -64,7 +64,11 @@ impl Action<Scenes, ScreenError, GameContext> for DeathScreen {
let elapsed = Utc::now() - context.level_start_time;
self.timer_value = format!("{:02}:{:02}", elapsed.num_minutes(), elapsed.num_seconds() % 60);
if self.is_retry_pressed {
if self.is_retry_pressed ||
context
.renderer
.borrow_mut()
.is_key_pressed(KeyboardKey::KEY_SPACE){
context
.flag_send
.send(Some(ControlFlag::SoundTrigger("button-press".to_string())))