diff --git a/assets/holder_with_rat.png b/assets/holder_with_rat.png new file mode 100644 index 0000000..30e0d6a Binary files /dev/null and b/assets/holder_with_rat.png differ diff --git a/assets/scene_1.yaml b/assets/scene_1.yaml index 7383984..b702aaf 100644 --- a/assets/scene_1.yaml +++ b/assets/scene_1.yaml @@ -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 diff --git a/src/assets.rs b/src/assets.rs index 310b3e7..a62eb42 100644 --- a/src/assets.rs +++ b/src/assets.rs @@ -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")), @@ -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] = [