diff options
Diffstat (limited to 'scenes/room')
| -rw-r--r-- | scenes/room/kitchen.tscn | 32 | ||||
| -rw-r--r-- | scenes/room/room.gd | 7 | ||||
| -rw-r--r-- | scenes/room/room.gd.uid | 1 | ||||
| -rw-r--r-- | scenes/room/room.tscn | 19 | ||||
| -rw-r--r-- | scenes/room/spawnpoint.gd | 1 | ||||
| -rw-r--r-- | scenes/room/spawnpoint.gd.uid | 1 | ||||
| -rw-r--r-- | scenes/room/spawnpoint.tscn | 6 | ||||
| -rw-r--r-- | scenes/room/start.tscn | 78 |
8 files changed, 0 insertions, 145 deletions
diff --git a/scenes/room/kitchen.tscn b/scenes/room/kitchen.tscn deleted file mode 100644 index 74fabf4..0000000 --- a/scenes/room/kitchen.tscn +++ /dev/null @@ -1,32 +0,0 @@ -[gd_scene format=3 uid="uid://c40vhh8wtss4b"] - -[ext_resource type="PackedScene" uid="uid://b1s6v121kb2mi" path="res://scenes/room/room.tscn" id="1_4qnmt"] -[ext_resource type="Texture2D" uid="uid://domalafsxaubx" path="res://room/kitchen/kitchen.png" id="2_6oufn"] -[ext_resource type="PackedScene" uid="uid://ldwt8qv482qa" path="res://scenes/item/door.tscn" id="3_u4rop"] - -[sub_resource type="NavigationPolygon" id="NavigationPolygon_6oufn"] -vertices = PackedVector2Array(856.2578, 1032.0703, 817.2578, 913.3281, 916.02344, 900.28906, 1515.4922, 1038.9609, 1701.0469, 888.5078, 1123.5625, 563.03906, 1748.4766, 567.9219, 1755.3672, 703.6172, 1910, 916.5625, 1910, 748.5) -polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2, 3), PackedInt32Array(4, 3, 2, 5, 6, 7), PackedInt32Array(8, 4, 7, 9)]) -outlines = Array[PackedVector2Array]([PackedVector2Array(1704, 899, 1519, 1049, 849, 1042, 804, 905, 910, 891, 1118, 553, 1758, 558, 1765, 696, 1920, 741, 1920, 928)]) - -[node name="Kitchen" unique_id=2088608692 instance=ExtResource("1_4qnmt")] - -[node name="Room" parent="." index="0" unique_id=1997957082] -texture = ExtResource("2_6oufn") - -[node name="Weener" parent="." index="1" unique_id=1834042649] -position = Vector2(1671, 837) - -[node name="NavigationRegion2D" parent="." index="2" unique_id=1498960834] -navigation_polygon = SubResource("NavigationPolygon_6oufn") - -[node name="Spawnpoint" parent="." index="3" unique_id=1413507405] -position = Vector2(1671, 822) - -[node name="Door" parent="." index="4" unique_id=359892745 instance=ExtResource("3_u4rop")] -target_scene = "uid://cec247tmm7ait" - -[node name="CollisionPolygon2D" parent="Door" index="1" unique_id=348112285] -polygon = PackedVector2Array(1803, 702, 1799, 927, 1920, 928, 1920, 705) - -[editable path="Door"] diff --git a/scenes/room/room.gd b/scenes/room/room.gd deleted file mode 100644 index fe8cf70..0000000 --- a/scenes/room/room.gd +++ /dev/null @@ -1,7 +0,0 @@ -extends Node2D - -@export var entrances: Array[Marker2D] = [] - -func _ready() -> void: - if $Weener.spawnpoint != -1: - $Weener.position = entrances[$Weener.spawnpoint].global_position diff --git a/scenes/room/room.gd.uid b/scenes/room/room.gd.uid deleted file mode 100644 index 05233ba..0000000 --- a/scenes/room/room.gd.uid +++ /dev/null @@ -1 +0,0 @@ -uid://drthtcpmeydm6 diff --git a/scenes/room/room.tscn b/scenes/room/room.tscn deleted file mode 100644 index 145ee48..0000000 --- a/scenes/room/room.tscn +++ /dev/null @@ -1,19 +0,0 @@ -[gd_scene format=3 uid="uid://b1s6v121kb2mi"] - -[ext_resource type="Script" uid="uid://drthtcpmeydm6" path="res://scenes/room/room.gd" id="1_kxljb"] -[ext_resource type="PackedScene" uid="uid://bt4utdbe577mj" path="res://scenes/char/weener.tscn" id="2_vaubn"] -[ext_resource type="PackedScene" uid="uid://chwbsexrxbi4a" path="res://scenes/room/spawnpoint.tscn" id="3_y1kpu"] - -[node name="Room" type="Node2D" unique_id=2088608692 node_paths=PackedStringArray("entrances")] -script = ExtResource("1_kxljb") -entrances = [NodePath("Spawnpoint")] - -[node name="Room" type="Sprite2D" parent="." unique_id=1997957082] -centered = false - -[node name="Weener" parent="." unique_id=1834042649 instance=ExtResource("2_vaubn")] -position = Vector2(1127, 956) - -[node name="NavigationRegion2D" type="NavigationRegion2D" parent="." unique_id=1498960834] - -[node name="Spawnpoint" parent="." unique_id=1413507405 instance=ExtResource("3_y1kpu")] diff --git a/scenes/room/spawnpoint.gd b/scenes/room/spawnpoint.gd deleted file mode 100644 index fd74c79..0000000 --- a/scenes/room/spawnpoint.gd +++ /dev/null @@ -1 +0,0 @@ -extends Marker2D diff --git a/scenes/room/spawnpoint.gd.uid b/scenes/room/spawnpoint.gd.uid deleted file mode 100644 index c1ecb4c..0000000 --- a/scenes/room/spawnpoint.gd.uid +++ /dev/null @@ -1 +0,0 @@ -uid://j2ctii1213or diff --git a/scenes/room/spawnpoint.tscn b/scenes/room/spawnpoint.tscn deleted file mode 100644 index 9c217ab..0000000 --- a/scenes/room/spawnpoint.tscn +++ /dev/null @@ -1,6 +0,0 @@ -[gd_scene format=3 uid="uid://chwbsexrxbi4a"] - -[ext_resource type="Script" uid="uid://j2ctii1213or" path="res://scenes/room/spawnpoint.gd" id="1_xdtlq"] - -[node name="Spawnpoint" type="Marker2D" unique_id=1413507405] -script = ExtResource("1_xdtlq") diff --git a/scenes/room/start.tscn b/scenes/room/start.tscn deleted file mode 100644 index df92143..0000000 --- a/scenes/room/start.tscn +++ /dev/null @@ -1,78 +0,0 @@ -[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://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="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)]) - -[node name="Room" unique_id=2088608692 node_paths=PackedStringArray("entrances") instance=ExtResource("1_c20yv")] -entrances = [NodePath("Spawnpoint"), NodePath("From Corridor")] - -[node name="Room" parent="." index="0" unique_id=1997957082] -texture = ExtResource("1_ft2pm") - -[node name="NavigationRegion2D" parent="." index="2" unique_id=1498960834] -visible = false -navigation_polygon = SubResource("NavigationPolygon_tspce") - -[node name="Kitchen" parent="." index="3" unique_id=359892745 instance=ExtResource("3_tspce")] -position = Vector2(90, 864) -target_scene = "uid://c40vhh8wtss4b" - -[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="." 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) - -[editable path="Kitchen"] -[editable path="Item"] -[editable path="Item3"] -[editable path="Item2"] -[editable path="Item4"] -[editable path="Spawnpoint"] |
