Basic room

This commit is contained in:
Renarde-dev 2025-01-24 13:53:02 +01:00
parent a188a64282
commit 84ecfce05c
No known key found for this signature in database
GPG key ID: 5B8FE0B3816369DE
3 changed files with 9 additions and 9 deletions

View file

@ -20,7 +20,7 @@ func _process(delta: float) -> void:
if direction != Vector2.ZERO:
if direction.normalized() == previous_direction.normalized():
if direction.x != 0 and direction.y != 0:
boost_speed = min(boost_speed + acceleration / 8, (max_boost_speed - move_speed) / 8)
boost_speed = min(boost_speed + acceleration / 16, (max_boost_speed - move_speed) / 8)
else:
boost_speed = min(boost_speed + acceleration, max_boost_speed - move_speed)
else: