camera movement now gets smoothed

This commit is contained in:
2022-12-29 18:29:50 +01:00
parent aa0d32ae85
commit 676d0d8b11

View File

@@ -83,7 +83,9 @@ shape = SubResource("CapsuleShape2D_38v5o")
[node name="camera_2d" type="Camera2D" parent="."] [node name="camera_2d" type="Camera2D" parent="."]
current = true current = true
zoom = Vector2(0.8, 0.8) zoom = Vector2(0.8, 0.8)
rotation_smoothing_enabled = true process_callback = 0
position_smoothing_enabled = true
position_smoothing_speed = 3.0
drag_horizontal_enabled = true drag_horizontal_enabled = true
drag_vertical_enabled = true drag_vertical_enabled = true
drag_left_margin = 0.15 drag_left_margin = 0.15