blob: 0da477270dd108b42dd6404fa5745cb0c3f3ce67 (
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 = 2.5;
pub const WANDER_DISTANCE: f32 = 150.0;
pub const GOAL_DISTANCE: f32 = 10.0;
pub const WAIT_TIME: u64 = 3;
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;
|