commit 51db967b5a17e69d6db8490c008700d116295f76
parent 90580c6604cc7fd47820e20ab483789ab9bfcc59
Author: Yuval Langer <yuvallangerontheroad@gmail.com>
Date: Mon, 20 Sep 2021 22:53:02 +0300
Change maximum speed and increment. Also remove unneeded noop line.
Diffstat:
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/Player.gd b/Player.gd
@@ -3,8 +3,8 @@ extends KinematicBody
const fall_acceleration: float = 2.0
const jump_impulse: float = 1.0
-const maximum_forward_speed: int = 200
-const forward_speed_increment: int = 20
+const maximum_forward_speed: int = 500
+const forward_speed_increment: int = 50
const side_speed: float = 50.0
@@ -25,7 +25,6 @@ onready var forward_speed_change_timer: Timer = $ForwardSpeedChangeTimer
func _ready() -> void:
connect("off_the_deep_end", self, "on_off_the_deep_end")
print_debug(forward_speed_change_timer.time_left)
- forward_speed_change_timer
func on_off_the_deep_end() -> void: