Add camera zoom

This commit is contained in:
2026-05-03 15:20:14 +02:00
parent 9e711d436c
commit fee4e0c3ba
5 changed files with 99 additions and 4 deletions

View File

@@ -90,5 +90,12 @@ position = Vector2(105, 920)
position = Vector2(1239, 775)
[node name="Camera2D" type="Camera2D" parent="." unique_id=1494908331]
position = Vector2(5, 0)
offset = Vector2(960, 540)
script = ExtResource("17_x77df")
clamp_enabled = true
clamp_min = Vector2(-1920, -1080)
clamp_max = Vector2(1920, 1080)
zoom_sensitivity = null
zoom_min = null
zoom_max = null