This commit is contained in:
2026-09-20 12:12:25 +02:00
parent 1a4fd9b8ba
commit e41720c6ee
2 changed files with 64 additions and 15 deletions
+7 -2
View File
@@ -21,11 +21,16 @@ pub const MARGIN_BELLOW: f32 = 400.0;
// Player
pub const PLAYER_HITBOX: Vec2 = Vec2::new(20.0, 40.0);
pub const FALL_SPEED: f32 = 500.0;
pub const DIVE_SPEED: f32 = 2700.0;
pub const HORIZONTAL_SPEED: f32 = 450.0;
pub const DIVE_SPEED: f32 = 2000.0;
pub const HORIZONTAL_SPEED: f32 = 400.0;
pub const START_POSITION: Vec3 = Vec3::new(0.0, 0.0, 2.0);
pub const CAMERAE_OFFSET: f32 = 280.0;
// Movement intertia
pub const HORIZONTAL_ACCEL: f32 = 2600.0;
pub const HORIZONTAL_FRICTION: f32 = 1800.0;
pub const VERTICAL_RATE: f32 = 4000.0;
// Validator
pub const INERTIA_MARGIN: f32 = 4.0;
pub const DESIGN_LATERAL_SPEED_RATIO: f32 = 0.6;