diff options
Diffstat (limited to 'client')
-rw-r--r-- | client/player/controllable_player.gd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/player/controllable_player.gd b/client/player/controllable_player.gd index 7d143a60..3012f557 100644 --- a/client/player/controllable_player.gd +++ b/client/player/controllable_player.gd @@ -18,7 +18,7 @@ class_name ControllablePlayer extends Player -const PLAYER_SPEED: float = 25.; +const PLAYER_SPEED: float = 65.; var facing = Vector2(1, 0) var velocity_ = Vector2(0, 0) @@ -59,7 +59,7 @@ func update(dt: float, input: Vector2): self.facing = direction + (self.facing - direction) * exp(-dt * 10.); self.velocity_ += direction * dt * PLAYER_SPEED; self.position_ += self.velocity_ * dt; - self.velocity_ = self.velocity_ * exp(-dt * 5.); + self.velocity_ = self.velocity_ * exp(-dt * 15.); collide(dt); func collide(dt: float): |