Basic room
This commit is contained in:
parent
a188a64282
commit
84ecfce05c
3 changed files with 9 additions and 9 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue