blob: 35ddda7c23a615cd05137c471a8f875c5150c55f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
pub const TILE_WIDTH: f32 = 16.0;
pub const TILE_HEIGHT: f32 = 16.0;
pub const TILE_SCALE: f32 = 3.0;
pub const PLAYER_SPEED: f32 = 5.0;
pub const ENTITY_SPEED: f32 = 2.5;
pub const WANDER_DISTANCE: f32 = 150.0;
pub const GOAL_DISTANCE: f32 = 6.0;
pub const FLOAT_PRECISION: f32 = 0.001;
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;
|