Merge branch 'main' of https://forgejo.la-taniere-solidaire.gay/renarde/code-game-jam-drop-plafond-2025
This commit is contained in:
commit
9dc3db5289
6 changed files with 49 additions and 11 deletions
|
@ -25,7 +25,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