afinaments
This commit is contained in:
@@ -35,6 +35,7 @@ class Player {
|
||||
// --- Constantes de física ---
|
||||
static constexpr float HORIZONTAL_VELOCITY = 75.0F;
|
||||
static constexpr float HORIZONTAL_ACCEL = 500.0F;
|
||||
static constexpr float WALK_INERTIA_THRESHOLD = 0.16F;
|
||||
static constexpr float MAX_VY = 160.0F;
|
||||
static constexpr float JUMP_VELOCITY = -178.5F;
|
||||
static constexpr float GRAVITY_FORCE = 360.0F;
|
||||
@@ -98,6 +99,7 @@ class Player {
|
||||
float y_ = 0.0F;
|
||||
float vx_ = 0.0F;
|
||||
float vy_ = 0.0F;
|
||||
float walk_time_ = 0.0F;
|
||||
|
||||
Direction wanna_go_ = Direction::NONE;
|
||||
bool wanna_jump_ = false;
|
||||
|
||||
Reference in New Issue
Block a user