Optimizations and debug options
This commit is contained in:
@@ -12,18 +12,18 @@ const (
|
||||
|
||||
// Physics
|
||||
const (
|
||||
Gravity = 1200.0
|
||||
JumpStrength = -450.0
|
||||
MaxFallSpeed = 800.0
|
||||
GroundFriction = 0.85
|
||||
AirFriction = 0.95
|
||||
Gravity = 1400.0
|
||||
JumpStrength = -480.0
|
||||
MaxFallSpeed = 900.0
|
||||
GroundFriction = 0.82
|
||||
AirFriction = 0.96
|
||||
)
|
||||
|
||||
// Gameplay
|
||||
const (
|
||||
SprintSpeedMultiplier = 1.8
|
||||
SprintRecoveryThreshold = 0.2
|
||||
ExhaustedThreshold = 0.2
|
||||
SprintSpeedMultiplier = 2.0
|
||||
SprintRecoveryThreshold = 0.25
|
||||
ExhaustedThreshold = 0.15
|
||||
StaminaLowThreshold = 0.2
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user