Files
ai-game-2/scenes/entrance/entrance.tscn
2024-05-29 13:26:31 -07:00

72 lines
3.6 KiB
Plaintext

[gd_scene load_steps=8 format=3]
[ext_resource type="Script" path="res://ScalePoint_.gd" id="1"]
[ext_resource type="Script" path="res://scenes/entrance/entrance.gd" id="2"]
[ext_resource type="Script" path="res://SetPiece_.gd" id="3"]
[ext_resource type="Texture2D" uid="uid://bt71v74d7262v" path="res://scenes/entrance/entrance.png" id="4"]
[ext_resource type="Texture2D" uid="uid://dm073a7haso5u" path="res://scenes/entrance/entrance-wall.png" id="5"]
[ext_resource type="PackedScene" path="res://SetPiece.tscn" id="6"]
[sub_resource type="NavigationPolygon" id=5]
vertices = PackedVector2Array( 3380.25, 1922.25, 3766, 2036, 2440, 2053, 3547.25, 1630.25, 3736.25, 1625.25, 3578.25, 1723.25, 3350.25, 1758.25, 3196.25, 1765.25, 3276.25, 1844.25, 2466.25, 1904.25, 2710.25, 1790.25, 452, 2036, 650.25, 1819.25, 933.25, 1644.25, 1548.25, 1698.25, 559, 1708, 253.25, 1736.25, 326.25, 1523.25, 1860, 1701, 2266.25, 1752.25, 2333.25, 1853.25 )
polygons = [ PackedInt32Array( 0, 1, 2 ), PackedInt32Array( 3, 4, 5, 6, 7 ), PackedInt32Array( 8, 0, 2, 9, 10 ), PackedInt32Array( 2, 11, 12, 13, 14 ), PackedInt32Array( 15, 16, 17, 13 ), PackedInt32Array( 12, 15, 13 ), PackedInt32Array( 2, 14, 18, 19, 20 ), PackedInt32Array( 2, 20, 9 ), PackedInt32Array( 8, 10, 7, 6 ) ]
outlines = [ PackedVector2Array( 3736.25, 1625.25, 3547.25, 1630.25, 3196.25, 1765.25, 2710.25, 1790.25, 2466.25, 1904.25, 2333.25, 1853.25, 2266.25, 1752.25, 1860, 1701, 1548.25, 1698.25, 933.25, 1644.25, 326.25, 1523.25, 253.25, 1736.25, 559, 1708, 650.25, 1819.25, 452, 2036, 2440, 2053, 3766, 2036, 3380.25, 1922.25, 3276.25, 1844.25, 3350.25, 1758.25, 3578.25, 1723.25 ) ]
[node name="background" type="Node2D"]
script = ExtResource( 2 )
__meta__ = {
"_edit_lock_": true
}
background_scale = 0.55
[node name="pathfind" type="NavigationRegion2D" parent="."]
navigation_polygon = SubResource( 5 )
[node name="farmhouse-exit-point" type="Node2D" parent="."]
position = Vector2( 1801, 1735 )
[node name="bedroom-exit-point" type="Node2D" parent="."]
position = Vector2( 3713, 1660 )
[node name="bedroom-exit" type="Polygon2D" parent="." groups=["set-piece"]]
position = Vector2( 2375, -720 )
color = Color( 1, 1, 1, 0.262745 )
polygon = PackedVector2Array( 950, 1468, 821, 2058, 874, 2494, 1255, 2506, 1644, 2556, 1644, 1968, 1637, 1494 )
script = ExtResource( 3 )
label = "To bedroom"
[node name="farmhouse-exit" type="Polygon2D" parent="." groups=["set-piece"]]
position = Vector2( -1299, -838 )
color = Color( 1, 1, 1, 0.262745 )
polygon = PackedVector2Array( 2941, 1998, 2938.57, 2175.71, 2934, 2560, 3211, 2525, 3395, 2567, 3430, 2164.29, 3391.43, 1940, 3430.83, 1609.17, 3207.5, 1565.83, 2914.17, 1689.17 )
script = ExtResource( 3 )
label = "Outside"
[node name="StartScalePoint" type="Node2D" parent="."]
position = Vector2( 1766, 1622 )
script = ExtResource( 1 )
target_scale = 1.4
[node name="EndScalePoint" type="Node2D" parent="."]
position = Vector2( 1832, 2060 )
script = ExtResource( 1 )
target_scale = 1.8
[node name="Entrance-wall" type="Sprite2D" parent="."]
position = Vector2( 3435, 1889 )
texture = ExtResource( 5 )
offset = Vector2( 138, -725 )
[node name="bg" type="Sprite2D" parent="."]
texture = ExtResource( 4 )
centered = false
[node name="Node2D" parent="." instance=ExtResource( 6 )]
color = Color( 1, 1, 1, 0.270588 )
polygon = PackedVector2Array( 1026, 1049, 1004, 1312, 1396, 1330, 1464, 1013 )
label = "Books"
[connection signal="interacted" from="bedroom-exit" to="." method="_on_bedroomexit_interacted"]
[connection signal="interacted" from="farmhouse-exit" to="." method="_on_farmhouseexit_interacted"]
[connection signal="interacted" from="Node2D" to="." method="_on_Node2D_interacted"]