diff options
Diffstat (limited to 'scenes/room/start.tscn')
| -rw-r--r-- | scenes/room/start.tscn | 91 |
1 files changed, 64 insertions, 27 deletions
diff --git a/scenes/room/start.tscn b/scenes/room/start.tscn index 32a8bcd..df92143 100644 --- a/scenes/room/start.tscn +++ b/scenes/room/start.tscn @@ -1,41 +1,78 @@ [gd_scene format=3 uid="uid://cec247tmm7ait"] +[ext_resource type="PackedScene" uid="uid://b1s6v121kb2mi" path="res://scenes/room/room.tscn" id="1_c20yv"] [ext_resource type="Texture2D" uid="uid://cfn3ctcvyfjn0" path="res://room/start/room.jpg" id="1_ft2pm"] -[ext_resource type="PackedScene" uid="uid://bt4utdbe577mj" path="res://scenes/char/weener.tscn" id="2_d0alr"] +[ext_resource type="PackedScene" uid="uid://ldwt8qv482qa" path="res://scenes/item/door.tscn" id="3_tspce"] [ext_resource type="PackedScene" uid="uid://xn4bxjj1vuim" path="res://scenes/item/item.tscn" id="3_uxhtn"] +[ext_resource type="Texture2D" uid="uid://det86lqkb5y4p" path="res://room/start/testprop.png" id="4_q15md"] +[ext_resource type="PackedScene" uid="uid://chwbsexrxbi4a" path="res://scenes/room/spawnpoint.tscn" id="5_c20yv"] -[sub_resource type="RectangleShape2D" id="RectangleShape2D_q15md"] -size = Vector2(125.15787, 285.6711) +[sub_resource type="NavigationPolygon" id="NavigationPolygon_tspce"] +vertices = PackedVector2Array(9.0234375, 884.4922, 196.39844, 766.34375, 211.64844, 814.03125, 1180.5234, 843, 1738.7969, 863.5625, 1910, 981.2578, 1910, 1070, 9.953125, 1070, 699.8828, 843, 619.5703, 725.96094, 674.9297, 724.25, 344.52344, 807.15625, 1243.9688, 699.21875, 1524.6563, 749.5469, 302.3672, 769.89844) +polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2), PackedInt32Array(3, 4, 5, 6, 7, 0, 8), PackedInt32Array(9, 10, 8, 11), PackedInt32Array(3, 12, 13, 4), PackedInt32Array(2, 14, 11), PackedInt32Array(11, 8, 0, 2)]) +outlines = Array[PackedVector2Array]([PackedVector2Array(202, 751, 217.65723, 799.9918, 304, 758, 347, 796, 618, 716, 683, 714, 708, 833, 1174, 833, 1238, 688, 1528, 740, 1744, 855, 1920, 976, 1920, 1080, 0, 1080, -1, 879)]) -[sub_resource type="NavigationPolygon" id="NavigationPolygon_d0alr"] -vertices = PackedVector2Array(10, 824.25, 195.53125, 763.6328, 211.64844, 814.03125, 10, 1070, 1738.7969, 863.5625, 1910, 981.2578, 1910, 1070, 699.8828, 843, 1180.5234, 843, 344.52344, 807.15625, 619.5703, 725.96094, 674.9297, 724.25, 1243.9688, 699.21875, 1524.6563, 749.5469, 302.3672, 769.89844) -polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2, 3), PackedInt32Array(4, 5, 6, 3, 7, 8), PackedInt32Array(9, 10, 11, 7, 3), PackedInt32Array(8, 12, 13, 4), PackedInt32Array(2, 14, 9, 3)]) -outlines = Array[PackedVector2Array]([PackedVector2Array(202, 751, 217.65723, 799.9918, 304, 758, 347, 796, 618, 716, 683, 714, 708, 833, 1174, 833, 1238, 688, 1528, 740, 1744, 855, 1920, 976, 1920, 1080, 0, 1080, 0, 817)]) +[node name="Room" unique_id=2088608692 node_paths=PackedStringArray("entrances") instance=ExtResource("1_c20yv")] +entrances = [NodePath("Spawnpoint"), NodePath("From Corridor")] -[node name="Start" type="Node2D" unique_id=2088608692] - -[node name="Room" type="Sprite2D" parent="." unique_id=1997957082] +[node name="Room" parent="." index="0" unique_id=1997957082] texture = ExtResource("1_ft2pm") -centered = false - -[node name="Kitchen" type="StaticBody2D" parent="." unique_id=357217904] -collision_layer = 0 -collision_mask = 0 -[node name="CollisionShape2D" type="CollisionShape2D" parent="Kitchen" unique_id=727728769] -position = Vector2(93.75002, 862.75) -rotation = 0.7853982 -scale = Vector2(0.9999999, 0.9999999) -shape = SubResource("RectangleShape2D_q15md") +[node name="NavigationRegion2D" parent="." index="2" unique_id=1498960834] +visible = false +navigation_polygon = SubResource("NavigationPolygon_tspce") -[node name="Weener" parent="." unique_id=1834042649 instance=ExtResource("2_d0alr")] -position = Vector2(1127, 956) +[node name="Kitchen" parent="." index="3" unique_id=359892745 instance=ExtResource("3_tspce")] +position = Vector2(90, 864) +target_scene = "uid://c40vhh8wtss4b" -[node name="NavigationRegion2D" type="NavigationRegion2D" parent="." unique_id=1498960834] -navigation_polygon = SubResource("NavigationPolygon_d0alr") +[node name="CollisionPolygon2D" parent="Kitchen" index="1" unique_id=348112285] +polygon = PackedVector2Array(-90, 91, -1, 107, 101, 80, 139, -4, 119, -62, 96, -523, -90, -445) -[node name="Item" parent="." unique_id=724668915 instance=ExtResource("3_uxhtn")] +[node name="Item" parent="." index="4" unique_id=1732180617 instance=ExtResource("3_uxhtn")] position = Vector2(1626, 608) +item_type = 2 +item_id = "test1" + +[node name="Sprite" parent="Item" index="0" unique_id=89747108] +texture = ExtResource("4_q15md") + +[node name="Item3" parent="." index="5" unique_id=1012362187 instance=ExtResource("3_uxhtn")] +position = Vector2(1806, 649) +item_type = 2 +item_id = "test3" + +[node name="Sprite" parent="Item3" index="0" unique_id=89747108] +texture = ExtResource("4_q15md") + +[node name="Item2" parent="." index="6" unique_id=740081124 instance=ExtResource("3_uxhtn")] +position = Vector2(500, 417) +item_type = 1 +item_id = "test2" +text = Array[String](["abababab"]) + +[node name="Sprite" parent="Item2" index="0" unique_id=89747108] +texture = ExtResource("4_q15md") + +[node name="Item4" parent="." index="7" unique_id=811205574 instance=ExtResource("3_uxhtn")] +position = Vector2(789, 956) +item_type = 4 +item_id = "test4" +uses = Array[int]([0, 3]) +useable_item = "test1" + +[node name="Sprite" parent="Item4" index="0" unique_id=89747108] +texture = ExtResource("4_q15md") + +[node name="From Corridor" parent="." index="8" unique_id=1847337443 instance=ExtResource("5_c20yv")] +position = Vector2(1355, 763) + +[node name="Spawnpoint" parent="." index="9" unique_id=1413507405] +position = Vector2(209, 890) -[node name="Item2" parent="." unique_id=1487046604 instance=ExtResource("3_uxhtn")] -position = Vector2(394, 458) +[editable path="Kitchen"] +[editable path="Item"] +[editable path="Item3"] +[editable path="Item2"] +[editable path="Item4"] +[editable path="Spawnpoint"] |
