default camera bound exports

pull/6/head
John Montagu, the 4th Earl of Sandvich 2023-08-29 11:28:30 -07:00
parent e7c5c019cf
commit 3d561be1a5
Signed by: sandvich
GPG Key ID: 9A39BE37E602B22D
3 changed files with 30 additions and 37 deletions

View File

@ -6,7 +6,6 @@
size = Vector2(256, 272)
[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")
@ -22,7 +21,5 @@ shape = SubResource("RectangleShape2D_b2lli")
debug_color = Color(0.631373, 0.345098, 1, 0.419608)
[node name="TopLeft" type="Marker2D" parent="."]
position = Vector2(-256, -40)
[node name="BottomRight" type="Marker2D" parent="."]
position = Vector2(256, 216)

View File

@ -12,7 +12,7 @@
[ext_resource type="PackedScene" uid="uid://malbos18dh7l" path="res://BoundingBoxes/CameraBounds.tscn" id="11_j2620"]
[ext_resource type="Texture2D" uid="uid://c1a7lvb4uuwfy" path="res://Assets/Sprites/Particles/circle-16.png" id="11_yjp7m"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_64d08"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_y0gej"]
resource_local_to_scene = true
shader = ExtResource("5_h8k5p")
shader_parameter/color = Vector4(1, 1, 1, 1)
@ -139,7 +139,7 @@ visible = false
position = Vector2(120, -112)
[node name="Doc" parent="Entities" index="0" instance=ExtResource("4_ej0f3")]
material = SubResource("ShaderMaterial_64d08")
material = SubResource("ShaderMaterial_y0gej")
[node name="PointLight2D" type="PointLight2D" parent="Entities" index="1"]
position = Vector2(168, -42)
@ -177,9 +177,7 @@ ToConnector = "ArenaEntrance"
[node name="CollisionShape2D" type="CollisionShape2D" parent="Areas/Entrance" index="0"]
shape = SubResource("RectangleShape2D_2xagi")
[node name="EntranceCameraBounds" parent="Areas" index="1" node_paths=PackedStringArray("TopLeft", "BottomRight") instance=ExtResource("11_j2620")]
TopLeft = NodePath("TopLeft")
BottomRight = NodePath("BottomRight")
[node name="EntranceCameraBounds" parent="Areas" index="1" instance=ExtResource("11_j2620")]
[node name="Area2D" parent="Areas/EntranceCameraBounds" index="0"]
position = Vector2(0, 377)

View File

@ -166,91 +166,91 @@ size = Vector2(64, 97)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_5pcme"]
size = Vector2(18, 6)
[sub_resource type="ShaderMaterial" id="ShaderMaterial_eh6ai"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_mg83a"]
resource_local_to_scene = true
shader = ExtResource("28_b3suq")
shader_parameter/color = Vector4(1, 1, 1, 1)
shader_parameter/intensity = 0.0
shader_parameter/alpha_modulate = 1.0
[sub_resource type="ShaderMaterial" id="ShaderMaterial_0m0e7"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_elrp0"]
resource_local_to_scene = true
shader = ExtResource("28_b3suq")
shader_parameter/color = Vector4(1, 1, 1, 1)
shader_parameter/intensity = 0.0
shader_parameter/alpha_modulate = 1.0
[sub_resource type="ShaderMaterial" id="ShaderMaterial_x7hn4"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_7olcb"]
resource_local_to_scene = true
shader = ExtResource("28_b3suq")
shader_parameter/color = Vector4(1, 1, 1, 1)
shader_parameter/intensity = 0.0
shader_parameter/alpha_modulate = 1.0
[sub_resource type="ShaderMaterial" id="ShaderMaterial_hwrx0"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_d2b1c"]
resource_local_to_scene = true
shader = ExtResource("28_b3suq")
shader_parameter/color = Vector4(1, 1, 1, 1)
shader_parameter/intensity = 0.0
shader_parameter/alpha_modulate = 1.0
[sub_resource type="ShaderMaterial" id="ShaderMaterial_u5bpj"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_3qqeq"]
resource_local_to_scene = true
shader = ExtResource("28_b3suq")
shader_parameter/color = Vector4(1, 1, 1, 1)
shader_parameter/intensity = 0.0
shader_parameter/alpha_modulate = 1.0
[sub_resource type="ShaderMaterial" id="ShaderMaterial_obne2"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_u0yfp"]
resource_local_to_scene = true
shader = ExtResource("28_b3suq")
shader_parameter/color = Vector4(1, 1, 1, 1)
shader_parameter/intensity = 0.0
shader_parameter/alpha_modulate = 1.0
[sub_resource type="ShaderMaterial" id="ShaderMaterial_4k68d"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_lxojq"]
resource_local_to_scene = true
shader = ExtResource("28_b3suq")
shader_parameter/color = Vector4(1, 1, 1, 1)
shader_parameter/intensity = 0.0
shader_parameter/alpha_modulate = 1.0
[sub_resource type="ShaderMaterial" id="ShaderMaterial_p1mnf"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_6i24g"]
resource_local_to_scene = true
shader = ExtResource("28_b3suq")
shader_parameter/color = Vector4(1, 1, 1, 1)
shader_parameter/intensity = 0.0
shader_parameter/alpha_modulate = 1.0
[sub_resource type="ShaderMaterial" id="ShaderMaterial_cgtqt"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_o80y1"]
resource_local_to_scene = true
shader = ExtResource("28_b3suq")
shader_parameter/color = Vector4(1, 1, 1, 1)
shader_parameter/intensity = 0.0
shader_parameter/alpha_modulate = 1.0
[sub_resource type="ShaderMaterial" id="ShaderMaterial_bk61n"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_bc5nr"]
resource_local_to_scene = true
shader = ExtResource("28_b3suq")
shader_parameter/color = Vector4(1, 1, 1, 1)
shader_parameter/intensity = 0.0
shader_parameter/alpha_modulate = 1.0
[sub_resource type="ShaderMaterial" id="ShaderMaterial_wqa86"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_wcyyo"]
resource_local_to_scene = true
shader = ExtResource("28_b3suq")
shader_parameter/color = Vector4(1, 1, 1, 1)
shader_parameter/intensity = 0.0
shader_parameter/alpha_modulate = 1.0
[sub_resource type="ShaderMaterial" id="ShaderMaterial_k05ph"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_gnvby"]
resource_local_to_scene = true
shader = ExtResource("28_b3suq")
shader_parameter/color = Vector4(1, 1, 1, 1)
shader_parameter/intensity = 0.0
shader_parameter/alpha_modulate = 1.0
[sub_resource type="ShaderMaterial" id="ShaderMaterial_sq2yd"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_8o4l7"]
resource_local_to_scene = true
shader = ExtResource("28_b3suq")
shader_parameter/color = Vector4(1, 1, 1, 1)
@ -716,62 +716,60 @@ position = Vector2(256, -9)
position = Vector2(80, 373)
[node name="Centurion" parent="Entities" index="8" instance=ExtResource("30_qfl2k")]
material = SubResource("ShaderMaterial_eh6ai")
material = SubResource("ShaderMaterial_mg83a")
position = Vector2(-360, 31)
[node name="Centurion2" parent="Entities" index="9" instance=ExtResource("30_qfl2k")]
material = SubResource("ShaderMaterial_0m0e7")
material = SubResource("ShaderMaterial_elrp0")
position = Vector2(-224, 131)
[node name="Centurion3" parent="Entities" index="10" instance=ExtResource("30_qfl2k")]
material = SubResource("ShaderMaterial_x7hn4")
material = SubResource("ShaderMaterial_7olcb")
position = Vector2(-280, 411)
[node name="Centurion4" parent="Entities" index="11" instance=ExtResource("30_qfl2k")]
material = SubResource("ShaderMaterial_hwrx0")
material = SubResource("ShaderMaterial_d2b1c")
position = Vector2(-232, 728)
[node name="Legionary" parent="Entities" index="12" instance=ExtResource("27_84gw4")]
material = SubResource("ShaderMaterial_u5bpj")
material = SubResource("ShaderMaterial_3qqeq")
position = Vector2(-214, 72)
[node name="Legionary2" parent="Entities" index="13" instance=ExtResource("27_84gw4")]
material = SubResource("ShaderMaterial_obne2")
material = SubResource("ShaderMaterial_u0yfp")
position = Vector2(-496, 15)
[node name="Legionary3" parent="Entities" index="14" instance=ExtResource("27_84gw4")]
material = SubResource("ShaderMaterial_4k68d")
material = SubResource("ShaderMaterial_lxojq")
position = Vector2(-384, 118)
[node name="Legionary4" parent="Entities" index="15" instance=ExtResource("27_84gw4")]
material = SubResource("ShaderMaterial_p1mnf")
material = SubResource("ShaderMaterial_6i24g")
position = Vector2(-300, 384)
[node name="Legionary5" parent="Entities" index="16" instance=ExtResource("27_84gw4")]
material = SubResource("ShaderMaterial_cgtqt")
material = SubResource("ShaderMaterial_o80y1")
position = Vector2(-152, 728)
[node name="Legionary6" parent="Entities" index="17" instance=ExtResource("27_84gw4")]
material = SubResource("ShaderMaterial_bk61n")
material = SubResource("ShaderMaterial_bc5nr")
position = Vector2(-258, 455)
[node name="Legionary7" parent="Entities" index="18" instance=ExtResource("27_84gw4")]
material = SubResource("ShaderMaterial_wqa86")
material = SubResource("ShaderMaterial_wcyyo")
position = Vector2(-556, 402)
[node name="Legionary8" parent="Entities" index="19" instance=ExtResource("27_84gw4")]
material = SubResource("ShaderMaterial_k05ph")
material = SubResource("ShaderMaterial_gnvby")
position = Vector2(-404, 505)
[node name="Cultist" parent="Entities" index="20" instance=ExtResource("30_xj4yo")]
material = SubResource("ShaderMaterial_sq2yd")
material = SubResource("ShaderMaterial_8o4l7")
position = Vector2(191, 567)
[node name="CameraBounds" parent="Areas" index="0" node_paths=PackedStringArray("TopLeft", "BottomRight") instance=ExtResource("33_e4gty")]
[node name="CameraBounds" parent="Areas" index="0" 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)