better cam
This commit is contained in:
@@ -7881,5 +7881,26 @@ position = Vector2(1712, -96)
|
||||
[node name="StaticBody2D11" parent="invisibleBarriers" instance=ExtResource("13_6mf4p")]
|
||||
position = Vector2(1968, 0)
|
||||
|
||||
[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"]
|
||||
|
||||
Reference in New Issue
Block a user