summaryrefslogtreecommitdiff
path: root/src/constants.rs
diff options
context:
space:
mode:
authortom barrett <spalf0@gmail.com>2019-07-24 05:54:49 -0500
committertom barrett <spalf0@gmail.com>2019-07-24 05:54:49 -0500
commit7d2c0954cd95bdabcb7ecf26f9225382ab078289 (patch)
treec6b140c1e73ff27f8ab340f68024210215dcb708 /src/constants.rs
parentc25884efd8d1a239c88dbafd7a0e12eca3c7401b (diff)
dialog box
Diffstat (limited to 'src/constants.rs')
-rw-r--r--src/constants.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/constants.rs b/src/constants.rs
index 1f6bb9f..8a873c6 100644
--- a/src/constants.rs
+++ b/src/constants.rs
@@ -1,6 +1,6 @@
pub const TILE_WIDTH: f32 = 16.0;
pub const TILE_HEIGHT: f32 = 16.0;
-pub const TILE_SCALE: f32 = 2.5;
+pub const TILE_SCALE: f32 = 2.75;
pub const PLAYER_SPEED: f32 = 3.0;
pub const WANDER_DISTANCE: f32 = 200.0;
@@ -13,3 +13,6 @@ pub const FLIP_H: usize = 0x8000_0000;
pub const FLIP_V: usize = 0x4000_0000;
pub const FLIP_D: usize = 0x2000_0000;
pub const FLIP_A: usize = FLIP_D | FLIP_H | FLIP_V;
+
+use ggez::graphics::Color;
+pub const PURPLE: Color = Color::new(0.4, 0.0, 0.2, 1.0);