Files
ai-game-2/scenes/critter_area/critter_area.tscn
2024-07-01 08:24:25 -07:00

66 lines
2.8 KiB
Plaintext

[gd_scene load_steps=7 format=3 uid="uid://bruytrmcalwpy"]
[ext_resource type="Script" path="res://scenes/critter_area/critter_area.gd" id="1_li2s3"]
[ext_resource type="Texture2D" uid="uid://b1psci000x2kl" path="res://scenes/critter_area/critter-big.png" id="2_tpwd0"]
[ext_resource type="Script" path="res://ScalePoint_.gd" id="3_4hg6f"]
[ext_resource type="Texture2D" uid="uid://c2vwbdxi6hpa8" path="res://scenes/healer_pasture/foreground.png" id="4_l84pe"]
[ext_resource type="PackedScene" uid="uid://c4vc1wx7k6cw" path="res://TransitionPiece.tscn" id="5_rjb3g"]
[sub_resource type="NavigationPolygon" id="NavigationPolygon_dvbx8"]
vertices = PackedVector2Array(1174, 407, 1252, 403, 1235, 431, 1173, 439, 1462, 1013, 1160, 1076, 943, 947, 1392, 717, 1576, 700, 1781, 845, 1060, 484, 1034, 486, 1139, 590, 1128, 558, 1237, 610, 1392, 704)
polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2, 3), PackedInt32Array(4, 5, 6, 7, 8, 9), PackedInt32Array(3, 2, 10, 11), PackedInt32Array(12, 11, 10, 13), PackedInt32Array(12, 13, 14, 15), PackedInt32Array(15, 14, 8), PackedInt32Array(15, 8, 7)])
outlines = Array[PackedVector2Array]([PackedVector2Array(1163, 432, 1017, 483, 1134, 599, 1382, 711, 922, 947, 1159, 1087, 1466, 1023, 1801, 847, 1579, 690, 1240, 601, 1134, 550, 1078, 489, 1242, 440, 1271, 392, 1165, 398)])
parsed_collision_mask = 4294967294
source_geometry_group_name = &"navigation_polygon_source_group"
[node name="background" type="Node2D"]
y_sort_enabled = true
script = ExtResource("1_li2s3")
[node name="bg" type="Sprite2D" parent="."]
scale = Vector2(0.78, 0.78)
texture = ExtResource("2_tpwd0")
centered = false
[node name="StartScalePoint" type="Node2D" parent="."]
position = Vector2(722, 226)
script = ExtResource("3_4hg6f")
target_scale = 0.055
[node name="EndScalePoint" type="Node2D" parent="."]
position = Vector2(1410, 1097)
scale = Vector2(0.44, 0.44)
script = ExtResource("3_4hg6f")
target_scale = 0.36
[node name="pathfind" type="NavigationRegion2D" parent="."]
navigation_polygon = SubResource("NavigationPolygon_dvbx8")
metadata/_edit_lock_ = true
[node name="default-starting-point" type="Node2D" parent="."]
position = Vector2(788, 916)
[node name="Foreground" type="Sprite2D" parent="."]
visible = false
position = Vector2(1596, 1099)
scale = Vector2(1.45, 1.45)
texture = ExtResource("4_l84pe")
offset = Vector2(-9.34324, -70.3448)
[node name="pit" parent="." instance=ExtResource("5_rjb3g")]
color = Color(1, 1, 1, 0.231373)
polygon = PackedVector2Array(1121, 364, 994, 453, 1288, 519, 1384, 343)
target_transition = "critter_area"
target = "res://scenes/pit/pit.tscn"
label = "Pit"
[node name="entrance" parent="pit" index="0"]
position = Vector2(1472, 775)
[node name="exit" parent="pit" index="1"]
position = Vector2(1233, 408)
[connection signal="interacted" from="pit" to="." method="_on_pit_interacted"]
[editable path="pit"]