From c1e3ea079c8e6679228a88f0da73deba67b9be94 Mon Sep 17 00:00:00 2001 From: tpart Date: Wed, 26 Jun 2024 20:49:07 +0200 Subject: Increase movement speed & adjust boost --- client/player/controllable_player.gd | 4 ++-- server/src/customer/movement.rs | 4 ++-- test-client/movement.ts | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/client/player/controllable_player.gd b/client/player/controllable_player.gd index a2321fef..a677fdb3 100644 --- a/client/player/controllable_player.gd +++ b/client/player/controllable_player.gd @@ -18,8 +18,8 @@ class_name ControllablePlayer extends Player const PLAYER_FRICTION = 10 -const PLAYER_SPEED = 40 -const BOOST_FACTOR = 3 +const PLAYER_SPEED = 55 +const BOOST_FACTOR = 2.5 const BOOST_DURATION = 0.3 const BOOST_RESTORE = 0.5 diff --git a/server/src/customer/movement.rs b/server/src/customer/movement.rs index a189ddce..c6350ebd 100644 --- a/server/src/customer/movement.rs +++ b/server/src/customer/movement.rs @@ -21,8 +21,8 @@ use std::collections::HashSet; const PLAYER_SIZE: f32 = 0.4; const PLAYER_FRICTION: f32 = 10.0; -const PLAYER_SPEED: f32 = 40.0; -const BOOST_FACTOR: f32 = 3.0; +const PLAYER_SPEED: f32 = 55.0; +const BOOST_FACTOR: f32 = 2.5; const BOOST_DURATION: f32 = 0.3; const BOOST_RESTORE: f32 = 0.5; diff --git a/test-client/movement.ts b/test-client/movement.ts index 933b6af5..fcb2e0ba 100644 --- a/test-client/movement.ts +++ b/test-client/movement.ts @@ -21,8 +21,8 @@ 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_SPEED = 40 -export const BOOST_FACTOR = 3 +export const PLAYER_SPEED = 55 +export const BOOST_FACTOR = 2.5 export const BOOST_DURATION = 0.3 export const BOOST_RESTORE = 0.5 -- cgit v1.2.3-70-g09d2