Skip to content

Commit

Permalink
Add rat
Browse files Browse the repository at this point in the history
  • Loading branch information
Mifom committed Dec 1, 2022
1 parent 967595d commit 7dd1269
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
Binary file added assets/holder_with_rat.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion assets/scene_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ cards:
text: I've heard you using space to swap between stealthy and normal
- image: holder_mouth_closed
text: Also I've heard that you need a mouse in order to attack
- image: holder_mouth_open
- image: holder_with_rat
text: I only have a rat...
- image: holder_smile
text: But it's mine and I won't give it to you
Expand Down
6 changes: 5 additions & 1 deletion src/assets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use macroquad::{

use crate::{level::LevelConfig, scene::Scene};

const IMAGES: [(&str, &[u8]); 12] = [
const IMAGES: [(&str, &[u8]); 13] = [
("player", include_bytes!("../assets/player.png")),
("enemy", include_bytes!("../assets/enemy.png")),
("back", include_bytes!("../assets/back.png")),
Expand All @@ -29,6 +29,10 @@ const IMAGES: [(&str, &[u8]); 12] = [
"holder_disappointed",
include_bytes!("../assets/holder_disappointed.png"),
),
(
"holder_with_rat",
include_bytes!("../assets/holder_with_rat.png"),
),
];

const LEVELS: [&str; 4] = [
Expand Down

0 comments on commit 7dd1269

Please sign in to comment.