diff options
-rw-r--r-- | client/player/controllable_player.gd | 2 | ||||
-rw-r--r-- | server/protocol/src/movement.rs | 2 | ||||
-rw-r--r-- | test-client/movement.ts | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/client/player/controllable_player.gd b/client/player/controllable_player.gd index 29110eb7..6e922983 100644 --- a/client/player/controllable_player.gd +++ b/client/player/controllable_player.gd @@ -19,7 +19,7 @@ class_name ControllablePlayer extends Player const PLAYER_SPEED = 55 -const PLAYER_FRICTION = 10 +const PLAYER_FRICTION = 15 const BOOST_FACTOR = 2.5 const BOOST_DURATION = 0.3 const BOOST_RESTORE = 0.5 diff --git a/server/protocol/src/movement.rs b/server/protocol/src/movement.rs index 76a243e2..286c7f6a 100644 --- a/server/protocol/src/movement.rs +++ b/server/protocol/src/movement.rs @@ -22,7 +22,7 @@ use crate::{ use std::collections::HashSet; const PLAYER_SIZE: f32 = 0.4; -const PLAYER_FRICTION: f32 = 10.0; +const PLAYER_FRICTION: f32 = 15.0; const PLAYER_SPEED: f32 = 55.0; const BOOST_FACTOR: f32 = 2.5; const BOOST_DURATION: f32 = 0.3; diff --git a/test-client/movement.ts b/test-client/movement.ts index 1bbb9569..62846edf 100644 --- a/test-client/movement.ts +++ b/test-client/movement.ts @@ -21,7 +21,7 @@ import { tiles } from "./main.ts"; import { V2, normalize, length, sub_v2, lerp_exp_v2_mut } from "./util.ts"; export const PLAYER_SIZE = 0.4 -export const PLAYER_FRICTION = 10 +export const PLAYER_FRICTION = 15 export const PLAYER_SPEED = 55 export const BOOST_FACTOR = 2.5 export const BOOST_DURATION = 0.3 |