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

54 lines
2.3 KiB
Plaintext

[gd_scene load_steps=6 format=3]
[ext_resource type="Script" path="res://SetPiece_.gd" id="1"]
[ext_resource type="Script" path="res://ScalePoint_.gd" id="2"]
[ext_resource type="Script" path="res://scenes/forest_hand/forest_hand.gd" id="3"]
[ext_resource type="Texture2D" uid="uid://da3bfbjdeiak0" path="res://scenes/forest_hand/bigscene.png" id="4"]
[sub_resource type="NavigationPolygon" id=5]
vertices = PackedVector2Array( 2852.86, 1314.29, 2980, 1325.71, 2828.57, 1377.14, 2664.29, 1370, 3138.57, 1654.29, 3115.71, 1445.71, 3474.29, 1617.14, 3575.71, 1800, 3438.57, 2102.86, 2860, 2157.14, 2938.57, 1960 )
polygons = [ PackedInt32Array( 0, 1, 2, 3 ), PackedInt32Array( 4, 3, 2, 5, 6, 7 ), PackedInt32Array( 8, 9, 10, 4, 7 ) ]
outlines = [ PackedVector2Array( 2852.86, 1314.29, 2664.29, 1370, 3138.57, 1654.29, 2938.57, 1960, 2860, 2157.14, 3438.57, 2102.86, 3575.71, 1800, 3474.29, 1617.14, 3115.71, 1445.71, 2828.57, 1377.14, 2980, 1325.71 ) ]
[node name="background" type="Sprite2D"]
texture = ExtResource( 4 )
centered = false
script = ExtResource( 3 )
background_scale = 0.7
[node name="pathfind" type="NavigationRegion2D" parent="."]
position = Vector2( -20, 1.42858 )
navigation_polygon = SubResource( 5 )
[node name="forest-exit-point" type="Node2D" parent="."]
position = Vector2( 2910, 1338.75 )
[node name="south-point" type="Node2D" parent="."]
position = Vector2( 3145.71, 2092.86 )
[node name="south_exit" type="Polygon2D" parent="." groups=["set-piece"]]
color = Color( 1, 1, 1, 0.262745 )
polygon = PackedVector2Array( 2898.33, 1688.33, 2797, 2201, 3633, 2170, 3705, 1746.67 )
script = ExtResource( 1 )
label = "To house"
[node name="forest_exit" type="Polygon2D" parent="." groups=["set-piece"]]
position = Vector2( -57.5, -835 )
color = Color( 1, 1, 1, 0.262745 )
polygon = PackedVector2Array( 2957.14, 1917.14, 2938.57, 2175.71, 3430, 2164.29, 3391.43, 1940 )
script = ExtResource( 1 )
label = "To boulder"
[node name="StartScalePoint" type="Node2D" parent="."]
position = Vector2( 3136, 1164 )
script = ExtResource( 2 )
target_scale = 0.5
[node name="EndScalePoint" type="Node2D" parent="."]
position = Vector2( 3130, 2200 )
script = ExtResource( 2 )
target_scale = 1.0
[connection signal="interacted" from="south_exit" to="." method="_on_south_exit_interacted"]
[connection signal="interacted" from="forest_exit" to="." method="_on_forest_exit_interacted"]