aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortpart <tpart120@proton.me>2024-06-26 20:49:07 +0200
committertpart <tpart120@proton.me>2024-06-26 20:49:09 +0200
commitc1e3ea079c8e6679228a88f0da73deba67b9be94 (patch)
tree1a60046781f878da9b3b80ac7f98c8d4b3d66f35
parent8fe07c430c492bd33bea8b2cafff71af32f33b86 (diff)
downloadhurrycurry-c1e3ea079c8e6679228a88f0da73deba67b9be94.tar
hurrycurry-c1e3ea079c8e6679228a88f0da73deba67b9be94.tar.bz2
hurrycurry-c1e3ea079c8e6679228a88f0da73deba67b9be94.tar.zst
Increase movement speed & adjust boost
-rw-r--r--client/player/controllable_player.gd4
-rw-r--r--server/src/customer/movement.rs4
-rw-r--r--test-client/movement.ts4
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