camera: mouvement smoothy vanille

Je sais pas si c'est mieux. Il faut trouver un truc pour éviter le
gerbotron en changeant de scène souvent.
This commit is contained in:
Thomas Lavocat
2023-05-10 23:18:18 +02:00
parent 824295f63c
commit bd85e22644
2 changed files with 3 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@@ -282,7 +282,8 @@ collision_mask = 16
[node name="Camera2D" type="Camera2D" parent="."] [node name="Camera2D" type="Camera2D" parent="."]
zoom = Vector2(2, 2) zoom = Vector2(2, 2)
limit_smoothed = true position_smoothing_enabled = true
position_smoothing_speed = 10.0
drag_horizontal_enabled = true drag_horizontal_enabled = true
drag_vertical_enabled = true drag_vertical_enabled = true