69 lines
3.7 KiB
Plaintext
69 lines
3.7 KiB
Plaintext
[gd_scene load_steps=8 format=3 uid="uid://chj0dootpe2db"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://b41bnwwcpf7q0" path="res://scenes/house/bighouse.png" id="1"]
|
|
[ext_resource type="Script" path="res://scenes/house/house.gd" id="2"]
|
|
[ext_resource type="Script" path="res://ScalePoint_.gd" id="3"]
|
|
[ext_resource type="PackedScene" path="res://SetPiece.tscn" id="4"]
|
|
[ext_resource type="Texture2D" uid="uid://bj528xb64cklt" path="res://dragon.png" id="5"]
|
|
[ext_resource type="Texture2D" uid="uid://b4d7yvslxq2dw" path="res://scenes/house/rock.png" id="6"]
|
|
|
|
[sub_resource type="NavigationPolygon" id="5"]
|
|
vertices = PackedVector2Array(3222.14, 1449.29, 3505.71, 1502.86, 3296.14, 1518.29, 3109.14, 1225.29, 2892.14, 1182.29, 2911.14, 1157.29, 3215.71, 1225.71, 3191.14, 1251.29, 3108.14, 1450.29, 3147.14, 1577.29, 3015.14, 1510.29, 2051.43, 1457.14, 2270, 1475.71, 2670.14, 1621.29, 2862.86, 1735.71, 2874.29, 1890, 2015.71, 1690, 1312.86, 1398.57, 3092.86, 1371.43, 3258.14, 1297.29, 3205.14, 1367.29, 1330, 1234.29, 1418.57, 1180, 1505.71, 1190, 1471.43, 1321.43, 1255.71, 1267.14)
|
|
polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2), PackedInt32Array(3, 4, 5, 6), PackedInt32Array(7, 3, 6), PackedInt32Array(8, 0, 2, 9, 10), PackedInt32Array(11, 12, 13, 14, 15, 16, 17), PackedInt32Array(18, 7, 6, 19, 20, 8), PackedInt32Array(21, 22, 23, 24, 17), PackedInt32Array(8, 20, 0), PackedInt32Array(10, 9, 14, 13), PackedInt32Array(24, 11, 17), PackedInt32Array(21, 17, 25)])
|
|
outlines = Array[PackedVector2Array]([PackedVector2Array(2670.14, 1621.29, 2270, 1475.71, 2051.43, 1457.14, 1471.43, 1321.43, 1505.71, 1190, 1418.57, 1180, 1330, 1234.29, 1255.71, 1267.14, 1312.86, 1398.57, 2015.71, 1690, 2874.29, 1890, 2862.86, 1735.71, 3147.14, 1577.29, 3296.14, 1518.29, 3505.71, 1502.86, 3222.14, 1449.29, 3205.14, 1367.29, 3258.14, 1297.29, 3215.71, 1225.71, 2911.14, 1157.29, 2892.14, 1182.29, 3109.14, 1225.29, 3191.14, 1251.29, 3092.86, 1371.43, 3108.14, 1450.29, 3015.14, 1510.29)])
|
|
source_geometry_group_name = &"navigation_polygon_source_group"
|
|
|
|
[node name="background" type="Node2D"]
|
|
scale = Vector2(0.5, 0.5)
|
|
script = ExtResource("2")
|
|
|
|
[node name="bg" type="Sprite2D" parent="."]
|
|
texture = ExtResource("1")
|
|
centered = false
|
|
|
|
[node name="pathfind" type="NavigationRegion2D" parent="."]
|
|
position = Vector2(2.85714, 5.71428)
|
|
navigation_polygon = SubResource("5")
|
|
|
|
[node name="pasture-exit" parent="." instance=ExtResource("4")]
|
|
position = Vector2(2161.43, 308.571)
|
|
color = Color(1, 1, 1, 0.392157)
|
|
polygon = PackedVector2Array(413.57, 588.429, 436.57, 931.429, 1130.57, 901.429, 1074.57, 535.429)
|
|
label = "To Pasture"
|
|
|
|
[node name="pasture-exit-point" type="Node2D" parent="."]
|
|
position = Vector2(2912, 1184)
|
|
|
|
[node name="StartScalePoint" type="Node2D" parent="."]
|
|
position = Vector2(3057, 1152)
|
|
script = ExtResource("3")
|
|
target_scale = 0.4
|
|
|
|
[node name="EndScalePoint" type="Node2D" parent="."]
|
|
position = Vector2(2927, 1933)
|
|
script = ExtResource("3")
|
|
target_scale = 1.0
|
|
|
|
[node name="Dragon" type="Sprite2D" parent="."]
|
|
visible = false
|
|
position = Vector2(2734, 1796)
|
|
texture = ExtResource("5")
|
|
offset = Vector2(3, -175)
|
|
flip_h = true
|
|
|
|
[node name="default-starting-point" type="Node2D" parent="."]
|
|
position = Vector2(2163, 1571)
|
|
|
|
[node name="Rock" type="Sprite2D" parent="."]
|
|
position = Vector2(2980, 1205)
|
|
texture = ExtResource("6")
|
|
offset = Vector2(-182, -136)
|
|
|
|
[node name="Mushrooms" parent="." instance=ExtResource("4")]
|
|
color = Color(1, 1, 1, 0.411765)
|
|
polygon = PackedVector2Array(2567, 1356, 2417, 1335, 2354, 1386, 2501, 1444, 2661, 1426, 2656, 1360)
|
|
label = "Mushrooms"
|
|
|
|
[connection signal="interacted" from="pasture-exit" to="." method="_on_forestexit_interacted"]
|
|
[connection signal="interacted" from="Mushrooms" to="." method="_on_Mushrooms_interacted"]
|