summaryrefslogtreecommitdiff
path: root/scenes/room
diff options
context:
space:
mode:
authorRadio <radiohotline@disroot.org>2026-05-31 00:17:01 +0300
committerRadio <radiohotline@disroot.org>2026-05-31 00:17:01 +0300
commit7f437327b25be23b1cdcd4aa3898d428421e533f (patch)
tree555cece0119bd0673712cd4304a3a28ba0cc3c82 /scenes/room
parent9d87bc7922f76dc835ac4d4e99115b204cbfdea7 (diff)
menu fixes, options menu, and movement mechanic
Diffstat (limited to 'scenes/room')
-rw-r--r--scenes/room/kitchen.tscn29
-rw-r--r--scenes/room/room.tscn13
-rw-r--r--scenes/room/start.tscn32
3 files changed, 74 insertions, 0 deletions
diff --git a/scenes/room/kitchen.tscn b/scenes/room/kitchen.tscn
new file mode 100644
index 0000000..5284629
--- /dev/null
+++ b/scenes/room/kitchen.tscn
@@ -0,0 +1,29 @@
+[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"]
+
+[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)])
+
+[sub_resource type="RectangleShape2D" id="RectangleShape2D_6oufn"]
+size = Vector2(170, 232)
+
+[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="Bedroom" type="Area2D" parent="." index="3" unique_id=904050755]
+
+[node name="CollisionShape2D" type="CollisionShape2D" parent="Bedroom" index="0" unique_id=1414369935]
+position = Vector2(1845, 819)
+shape = SubResource("RectangleShape2D_6oufn")
diff --git a/scenes/room/room.tscn b/scenes/room/room.tscn
new file mode 100644
index 0000000..6c867d8
--- /dev/null
+++ b/scenes/room/room.tscn
@@ -0,0 +1,13 @@
+[gd_scene format=3 uid="uid://b1s6v121kb2mi"]
+
+[ext_resource type="PackedScene" uid="uid://bt4utdbe577mj" path="res://scenes/char/weener.tscn" id="2_vaubn"]
+
+[node name="Room" type="Node2D" unique_id=2088608692]
+
+[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]
diff --git a/scenes/room/start.tscn b/scenes/room/start.tscn
index b7ad877..32a8bcd 100644
--- a/scenes/room/start.tscn
+++ b/scenes/room/start.tscn
@@ -1,9 +1,41 @@
[gd_scene format=3 uid="uid://cec247tmm7ait"]
[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://xn4bxjj1vuim" path="res://scenes/item/item.tscn" id="3_uxhtn"]
+
+[sub_resource type="RectangleShape2D" id="RectangleShape2D_q15md"]
+size = Vector2(125.15787, 285.6711)
+
+[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="Start" type="Node2D" unique_id=2088608692]
[node name="Room" type="Sprite2D" parent="." 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="Weener" parent="." unique_id=1834042649 instance=ExtResource("2_d0alr")]
+position = Vector2(1127, 956)
+
+[node name="NavigationRegion2D" type="NavigationRegion2D" parent="." unique_id=1498960834]
+navigation_polygon = SubResource("NavigationPolygon_d0alr")
+
+[node name="Item" parent="." unique_id=724668915 instance=ExtResource("3_uxhtn")]
+position = Vector2(1626, 608)
+
+[node name="Item2" parent="." unique_id=1487046604 instance=ExtResource("3_uxhtn")]
+position = Vector2(394, 458)