fix broken camera bounds
parent
c603b59850
commit
e7c5c019cf
|
@ -5,10 +5,12 @@
|
|||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_b2lli"]
|
||||
size = Vector2(256, 272)
|
||||
|
||||
[node name="CameraBounds" type="Node2D" node_paths=PackedStringArray("Trigger")]
|
||||
[node name="CameraBounds" type="Node2D" node_paths=PackedStringArray("Trigger", "TopLeft", "BottomRight")]
|
||||
position = Vector2(0, -89)
|
||||
script = ExtResource("1_vaknk")
|
||||
Trigger = NodePath("Area2D")
|
||||
TopLeft = NodePath("TopLeft")
|
||||
BottomRight = NodePath("BottomRight")
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="."]
|
||||
collision_layer = 0
|
||||
|
|
|
@ -178,7 +178,7 @@ ToConnector = "ArenaEntrance"
|
|||
shape = SubResource("RectangleShape2D_2xagi")
|
||||
|
||||
[node name="EntranceCameraBounds" parent="Areas" index="1" node_paths=PackedStringArray("TopLeft", "BottomRight") instance=ExtResource("11_j2620")]
|
||||
TopLeft = NodePath("")
|
||||
TopLeft = NodePath("TopLeft")
|
||||
BottomRight = NodePath("BottomRight")
|
||||
|
||||
[node name="Area2D" parent="Areas/EntranceCameraBounds" index="0"]
|
||||
|
|
|
@ -767,9 +767,11 @@ position = Vector2(-404, 505)
|
|||
material = SubResource("ShaderMaterial_sq2yd")
|
||||
position = Vector2(191, 567)
|
||||
|
||||
[node name="CameraBounds" parent="Areas" index="0" instance=ExtResource("33_e4gty")]
|
||||
[node name="CameraBounds" parent="Areas" index="0" node_paths=PackedStringArray("TopLeft", "BottomRight") instance=ExtResource("33_e4gty")]
|
||||
visible = false
|
||||
position = Vector2(576, 511)
|
||||
TopLeft = NodePath("TopLeft")
|
||||
BottomRight = NodePath("BottomRight")
|
||||
|
||||
[node name="TopLeft" parent="Areas/CameraBounds" index="1"]
|
||||
position = Vector2(-384, -192)
|
||||
|
|
Loading…
Reference in New Issue