better cam

This commit is contained in:
Jonas Braus
2024-08-04 20:13:26 +02:00
parent 7946fd789c
commit 2ea5608b12
7 changed files with 121 additions and 54 deletions
+21
View File
@@ -45851,5 +45851,26 @@ position = Vector2(216, -679)
load_level = "level_0"
level_score = 3
[node name="Camera2D" type="Camera2D" parent="."]
unique_name_in_owner = true
position = Vector2(35, 0)
zoom = Vector2(3, 3)
limit_left = -160
limit_top = -184
limit_bottom = 32
position_smoothing_enabled = true
position_smoothing_speed = 10.0
[node name="ColorRect" type="ColorRect" parent="Camera2D"]
unique_name_in_owner = true
visible = false
z_index = 50
offset_left = -3995.0
offset_top = -1678.0
offset_right = 3965.0
offset_bottom = 1594.0
mouse_filter = 1
color = Color(0, 0, 0, 1)
[connection signal="body_entered" from="WorldBoundDown" to="WorldBoundDown" method="_on_body_entered"]
[connection signal="timeout" from="WorldBoundDown/Timer" to="WorldBoundDown" method="_on_timer_timeout"]