summaryrefslogtreecommitdiff
path: root/scenes
diff options
context:
space:
mode:
Diffstat (limited to 'scenes')
-rw-r--r--scenes/char/weener.gd110
-rw-r--r--scenes/char/weener.gd.uid1
-rw-r--r--scenes/char/weener.tscn109
-rw-r--r--scenes/item/door.gd14
-rw-r--r--scenes/item/door.gd.uid1
-rw-r--r--scenes/item/door.tscn14
-rw-r--r--scenes/item/inventory.gd12
-rw-r--r--scenes/item/inventory.gd.uid1
-rw-r--r--scenes/item/inventory.tscn3
-rw-r--r--scenes/item/inventory_item.gd1
-rw-r--r--scenes/item/inventory_item.gd.uid1
-rw-r--r--scenes/item/item.gd42
-rw-r--r--scenes/item/item.gd.uid1
-rw-r--r--scenes/item/item.tscn19
-rw-r--r--scenes/room/kitchen.tscn32
-rw-r--r--scenes/room/room.gd7
-rw-r--r--scenes/room/room.gd.uid1
-rw-r--r--scenes/room/room.tscn19
-rw-r--r--scenes/room/spawnpoint.gd1
-rw-r--r--scenes/room/spawnpoint.gd.uid1
-rw-r--r--scenes/room/spawnpoint.tscn6
-rw-r--r--scenes/room/start.tscn78
-rw-r--r--scenes/ui/menu.gd42
-rw-r--r--scenes/ui/menu.gd.uid1
-rw-r--r--scenes/ui/menu.tscn76
-rw-r--r--scenes/ui/options.gd7
-rw-r--r--scenes/ui/options.gd.uid1
-rw-r--r--scenes/ui/options.tscn54
-rw-r--r--scenes/ui/title.tscn72
-rw-r--r--scenes/ui/title_button.tscn8
30 files changed, 0 insertions, 735 deletions
diff --git a/scenes/char/weener.gd b/scenes/char/weener.gd
deleted file mode 100644
index b970b20..0000000
--- a/scenes/char/weener.gd
+++ /dev/null
@@ -1,110 +0,0 @@
-class_name Weener extends CharacterBody2D
-
-@onready var sprite := $Sprite
-@onready var nav2d := $NavigationAgent2D
-
-const ref_speed := 500.0
-@onready var speed := ref_speed
-@onready var target := position
-
-@onready var interactions := []
-var door: Door = null
-#@onready var inventory := []
-
-static var spawnpoint: int = -1
-static var sprite_flip: bool
-
-var input_listen := true
-
-func _physics_process(delta: float) -> void:
- set_target()
- if input_listen:
- navigate(delta)
-
-
-func _ready() -> void:
- nav2d.navigation_finished.connect(func() -> void:
- if door != null:
- travel(door)
- )
- sprite.flip_h = sprite_flip
-
-
-func _exit_tree() -> void:
- sprite_flip = sprite.flip_h
-
-
-func set_target() -> void:
- if Input.is_action_just_pressed("set_target"):
- if !interactions.is_empty() and interactions[0].mouse_in:
- interact(interactions[0])
- else:
- nav2d.target_position = get_global_mouse_position()
- if position.distance_to(nav2d.target_position) > 750:
- speed = ref_speed * 1.8
- else:
- speed = ref_speed
-
-
-func navigate(delta: float) -> void:
- if nav2d.is_navigation_finished():
- sprite.play("stand")
- return
- var next_path_position: Vector2 = nav2d.get_next_path_position()
- velocity = global_position.direction_to(next_path_position) * speed
- sprite.flip_h = velocity.x > 0
- position += velocity * delta
- if speed > ref_speed:
- sprite.play("run")
- else:
- sprite.play("walk")
-
-
-func _on_area_entered(area):
- interactions.insert(0, area)
-
-
-func _on_area_exited(area):
- interactions.erase(area)
-
-
-func _on_walk_detect_area_entered(area: Area2D) -> void:
- door = area as Door
-
-
-func _on_walk_detect_area_exited(_area: Area2D) -> void:
- door = null
-
-
-func interact(item: Item) -> void:
- match item.item_type:
- Item.ItemTypes.NONE:
- return
- Item.ItemTypes.TALK:
- print(" ".join(item.text))
- Item.ItemTypes.PICKUP:
- input_listen = false
- sprite.play("grab")
- sprite.animation_finished.connect(func() -> void: input_listen = true)
- Inventory.inventory.set(item.item_id, false)
- item.queue_free()
- print(Inventory.inventory)
- Item.ItemTypes.USE:
- #item.execute(item.uses)
- for use in item.uses:
- match use:
- Item.UseTypes.TAKE_ITEM:
- if item.useable_item in Inventory.inventory:
- Inventory.inventory.set(item.useable_item, true)
- print(Inventory.inventory)
- item.used = true
- Item.UseTypes.CLEAR:
- if item.used:
- item.queue_free()
- _:
- break
-
-
-func travel(d: Door) -> void:
- spawnpoint = d.go_to_spawnpoint
- get_tree().change_scene_to_file(d.target_scene)
diff --git a/scenes/char/weener.gd.uid b/scenes/char/weener.gd.uid
deleted file mode 100644
index 170ef28..0000000
--- a/scenes/char/weener.gd.uid
+++ /dev/null
@@ -1 +0,0 @@
-uid://bmudq0wqybjnw
diff --git a/scenes/char/weener.tscn b/scenes/char/weener.tscn
deleted file mode 100644
index 8ed1a80..0000000
--- a/scenes/char/weener.tscn
+++ /dev/null
@@ -1,109 +0,0 @@
-[gd_scene format=3 uid="uid://bt4utdbe577mj"]
-
-[ext_resource type="Script" uid="uid://bmudq0wqybjnw" path="res://scenes/char/weener.gd" id="1_5hljh"]
-[ext_resource type="Texture2D" uid="uid://bje5rius281oi" path="res://spr/weener/crouch.png" id="1_6smxx"]
-[ext_resource type="Texture2D" uid="uid://dk3ulxm2i0qm6" path="res://spr/weener/stand.png" id="1_b3dvs"]
-[ext_resource type="Texture2D" uid="uid://cr80vs56knlqh" path="res://spr/weener/grab.png" id="1_ka3oh"]
-[ext_resource type="Texture2D" uid="uid://bbcs52esee2pt" path="res://spr/weener/walk.png" id="2_tfg2r"]
-[ext_resource type="Texture2D" uid="uid://b1bn5hf6uxfiw" path="res://spr/weener/run1.png" id="5_rsd08"]
-[ext_resource type="Texture2D" uid="uid://0pued7jac5i2" path="res://spr/weener/run2.png" id="6_xgxdw"]
-
-[sub_resource type="SpriteFrames" id="SpriteFrames_ka3oh"]
-animations = [{
-"frames": [{
-"duration": 1.0,
-"texture": ExtResource("1_6smxx")
-}],
-"loop": true,
-"name": &"crouch",
-"speed": 5.0
-}, {
-"frames": [{
-"duration": 1.0,
-"texture": ExtResource("1_ka3oh")
-}],
-"loop": false,
-"name": &"grab",
-"speed": 2.0
-}, {
-"frames": [{
-"duration": 1.0,
-"texture": ExtResource("5_rsd08")
-}, {
-"duration": 1.0,
-"texture": ExtResource("1_b3dvs")
-}, {
-"duration": 1.0,
-"texture": ExtResource("6_xgxdw")
-}, {
-"duration": 1.0,
-"texture": ExtResource("1_b3dvs")
-}],
-"loop": true,
-"name": &"run",
-"speed": 5.0
-}, {
-"frames": [{
-"duration": 1.0,
-"texture": ExtResource("1_b3dvs")
-}],
-"loop": false,
-"name": &"stand",
-"speed": 5.0
-}, {
-"frames": [{
-"duration": 1.0,
-"texture": ExtResource("2_tfg2r")
-}, {
-"duration": 1.0,
-"texture": ExtResource("1_b3dvs")
-}],
-"loop": true,
-"name": &"walk",
-"speed": 3.0
-}]
-
-[sub_resource type="RectangleShape2D" id="RectangleShape2D_rsd08"]
-size = Vector2(65.5, 150.25)
-
-[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_rsd08"]
-radius = 116.0
-height = 444.0
-
-[node name="Weener" type="CharacterBody2D" unique_id=1834042649]
-script = ExtResource("1_5hljh")
-
-[node name="Sprite" type="AnimatedSprite2D" parent="." unique_id=918466208]
-position = Vector2(0, -190)
-sprite_frames = SubResource("SpriteFrames_ka3oh")
-animation = &"stand"
-autoplay = "stand"
-
-[node name="WalkCollision" type="CollisionShape2D" parent="." unique_id=1548923938]
-rotation = 1.5707964
-shape = SubResource("RectangleShape2D_rsd08")
-
-[node name="NavigationAgent2D" type="NavigationAgent2D" parent="." unique_id=2038637548]
-
-[node name="InteractDetect" type="Area2D" parent="." unique_id=1466530066]
-collision_mask = 2
-
-[node name="InteractCollision" type="CollisionShape2D" parent="InteractDetect" unique_id=526603123]
-position = Vector2(0, -205)
-shape = SubResource("CapsuleShape2D_rsd08")
-
-[node name="WalkDetect" type="Area2D" parent="." unique_id=1208097571]
-
-[node name="WalkCollision" type="CollisionShape2D" parent="WalkDetect" unique_id=1174332734]
-rotation = 1.5707964
-shape = SubResource("RectangleShape2D_rsd08")
-
-[node name="Inventory" type="Label" parent="." unique_id=1503183978]
-offset_top = -471.0
-offset_right = 40.0
-offset_bottom = -448.0
-
-[connection signal="area_entered" from="InteractDetect" to="." method="_on_area_entered"]
-[connection signal="area_exited" from="InteractDetect" to="." method="_on_area_exited"]
-[connection signal="area_entered" from="WalkDetect" to="." method="_on_walk_detect_area_entered"]
-[connection signal="area_exited" from="WalkDetect" to="." method="_on_walk_detect_area_exited"]
diff --git a/scenes/item/door.gd b/scenes/item/door.gd
deleted file mode 100644
index 75b8d84..0000000
--- a/scenes/item/door.gd
+++ /dev/null
@@ -1,14 +0,0 @@
-class_name Door extends Area2D
-
-@export_file var target_scene
-@export var go_to_spawnpoint: int
-@export var flip_sprite: bool = false
-
-var mouse_in := false
-
-#func _on_mouse_entered() -> void:
- #mouse_in = true
-#
-#
-#func _on_mouse_exited() -> void:
- #mouse_in = false
diff --git a/scenes/item/door.gd.uid b/scenes/item/door.gd.uid
deleted file mode 100644
index e0ea3be..0000000
--- a/scenes/item/door.gd.uid
+++ /dev/null
@@ -1 +0,0 @@
-uid://br4thmxp67m51
diff --git a/scenes/item/door.tscn b/scenes/item/door.tscn
deleted file mode 100644
index 901f8e1..0000000
--- a/scenes/item/door.tscn
+++ /dev/null
@@ -1,14 +0,0 @@
-[gd_scene format=3 uid="uid://ldwt8qv482qa"]
-
-[ext_resource type="Script" uid="uid://br4thmxp67m51" path="res://scenes/item/door.gd" id="1_tbo8r"]
-
-[node name="Door" type="Area2D" unique_id=359892745]
-collision_mask = 0
-script = ExtResource("1_tbo8r")
-
-[node name="Sprite" type="Sprite2D" parent="." unique_id=89747108]
-
-[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="." unique_id=348112285]
-
-[connection signal="mouse_entered" from="." to="." method="_on_mouse_entered"]
-[connection signal="mouse_exited" from="." to="." method="_on_mouse_exited"]
diff --git a/scenes/item/inventory.gd b/scenes/item/inventory.gd
deleted file mode 100644
index 84bf1e2..0000000
--- a/scenes/item/inventory.gd
+++ /dev/null
@@ -1,12 +0,0 @@
-extends Node
-
-var inventory = {}
-
-# structure
-# item, dictionary of:
-# prop 1
-# prop 2 etc...
-# inventory, dictionary of dictionaries with value used
-# inventory items have a used property
-# on scene load, if item exists in inventory, do not spawn
-# once item is expended, used is true, then the item also does not spawn
diff --git a/scenes/item/inventory.gd.uid b/scenes/item/inventory.gd.uid
deleted file mode 100644
index 8d523c7..0000000
--- a/scenes/item/inventory.gd.uid
+++ /dev/null
@@ -1 +0,0 @@
-uid://dsnx5a3q0ffv0
diff --git a/scenes/item/inventory.tscn b/scenes/item/inventory.tscn
deleted file mode 100644
index 1d8f705..0000000
--- a/scenes/item/inventory.tscn
+++ /dev/null
@@ -1,3 +0,0 @@
-[gd_scene format=3 uid="uid://ccrfeohraf7yl"]
-
-[node name="Inventory" type="Node2D" unique_id=739717319]
diff --git a/scenes/item/inventory_item.gd b/scenes/item/inventory_item.gd
deleted file mode 100644
index 10d18f8..0000000
--- a/scenes/item/inventory_item.gd
+++ /dev/null
@@ -1 +0,0 @@
-class_name InventoryItem extends Node
diff --git a/scenes/item/inventory_item.gd.uid b/scenes/item/inventory_item.gd.uid
deleted file mode 100644
index 8cf1b07..0000000
--- a/scenes/item/inventory_item.gd.uid
+++ /dev/null
@@ -1 +0,0 @@
-uid://dlyiamkvjhmkt
diff --git a/scenes/item/item.gd b/scenes/item/item.gd
deleted file mode 100644
index dc37a40..0000000
--- a/scenes/item/item.gd
+++ /dev/null
@@ -1,42 +0,0 @@
-class_name Item extends Area2D
-
-enum ItemTypes { NONE, TALK, PICKUP, SCRIPT, USE, ANIM }
-
-enum UseTypes { TAKE_ITEM, FLAG, ANIM, CLEAR }
-
-# play a little animation, check for received item and:
-# take item
-# trigger flag -> global flag for a door unlock, etc
-# change sprite
-# instantiate an item (flag?)
-# clear item
-
-@export var item_type := ItemTypes.NONE
-@export var item_id := ""
-
-@export var text: Array[String]
-@export var item_script: Script
-
-@export var interact_anim := ""
-
-@export var uses: Array[UseTypes]
-@export var useable_item := ""
-@export var use_anim := ""
-static var used := false
-
-var mouse_in := false
-
-func _ready() -> void:
- if (item_type == ItemTypes.PICKUP and item_id in Inventory.inventory) or (item_type == ItemTypes.USE and used):
- queue_free()
-
-
-func _on_mouse_entered() -> void:
- mouse_in = true
-
-
-func _on_mouse_exited() -> void:
- mouse_in = false
-
-
-#func execute(uses) -> void:
diff --git a/scenes/item/item.gd.uid b/scenes/item/item.gd.uid
deleted file mode 100644
index 8200bc7..0000000
--- a/scenes/item/item.gd.uid
+++ /dev/null
@@ -1 +0,0 @@
-uid://bw4bw3o6okiy4
diff --git a/scenes/item/item.tscn b/scenes/item/item.tscn
deleted file mode 100644
index c2d21d8..0000000
--- a/scenes/item/item.tscn
+++ /dev/null
@@ -1,19 +0,0 @@
-[gd_scene format=3 uid="uid://xn4bxjj1vuim"]
-
-[ext_resource type="Script" uid="uid://bw4bw3o6okiy4" path="res://scenes/item/item.gd" id="1_vcqat"]
-
-[sub_resource type="CircleShape2D" id="CircleShape2D_vijbe"]
-radius = 76.105194
-
-[node name="Item" type="Area2D" unique_id=359892745]
-collision_layer = 2
-collision_mask = 0
-script = ExtResource("1_vcqat")
-
-[node name="Sprite" type="Sprite2D" parent="." unique_id=89747108]
-
-[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=574625641]
-shape = SubResource("CircleShape2D_vijbe")
-
-[connection signal="mouse_entered" from="." to="." method="_on_mouse_entered"]
-[connection signal="mouse_exited" from="." to="." method="_on_mouse_exited"]
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"]
diff --git a/scenes/ui/menu.gd b/scenes/ui/menu.gd
deleted file mode 100644
index a60336b..0000000
--- a/scenes/ui/menu.gd
+++ /dev/null
@@ -1,42 +0,0 @@
-extends CanvasLayer
-
-func pause() -> void:
- Menu.visible = true
- get_tree().paused = true
-
-
-func resume() -> void:
- Menu.visible = false
- get_tree().paused = false
-
-
-func _ready() -> void:
- resume()
-
-
-func _input(event: InputEvent) -> void:
- if event.is_action_pressed("ui_menu") and get_tree().current_scene.scene_file_path != "res://scenes/ui/title.tscn":
- if get_tree().paused:
- resume()
- else:
- pause()
-
-func _on_start_pressed() -> void:
- get_tree().change_scene_to_file("res://scenes/room/start.tscn")
-
-
-func _on_main_menu_pressed() -> void:
- resume()
- get_tree().change_scene_to_file("res://scenes/ui/title.tscn")
-
-
-func _on_quit_pressed() -> void:
- get_tree().quit()
-
-
-func _on_options_pressed() -> void:
- if !has_node("Options"):
- var options = load("res://scenes/ui/options.tscn").instantiate()
- add_child(options)
- options.menu_node = self
- process_mode = Node.PROCESS_MODE_DISABLED
diff --git a/scenes/ui/menu.gd.uid b/scenes/ui/menu.gd.uid
deleted file mode 100644
index 45d6d4f..0000000
--- a/scenes/ui/menu.gd.uid
+++ /dev/null
@@ -1 +0,0 @@
-uid://befvsvog6282s
diff --git a/scenes/ui/menu.tscn b/scenes/ui/menu.tscn
deleted file mode 100644
index cc25d7b..0000000
--- a/scenes/ui/menu.tscn
+++ /dev/null
@@ -1,76 +0,0 @@
-[gd_scene format=3 uid="uid://dqhxjaxlgy4yf"]
-
-[ext_resource type="Script" uid="uid://befvsvog6282s" path="res://scenes/ui/menu.gd" id="1_wedc3"]
-[ext_resource type="PackedScene" uid="uid://dj2dk1g7jnk23" path="res://scenes/ui/title_button.tscn" id="2_c2n5p"]
-
-[node name="Menu" type="CanvasLayer" unique_id=1912348469]
-process_mode = 3
-script = ExtResource("1_wedc3")
-
-[node name="ColorRect" type="ColorRect" parent="." unique_id=1816673840]
-anchors_preset = 15
-anchor_right = 1.0
-anchor_bottom = 1.0
-grow_horizontal = 2
-grow_vertical = 2
-color = Color(0, 0, 0, 0.60784316)
-
-[node name="Menu" type="Control" parent="." unique_id=115089705]
-layout_mode = 3
-anchors_preset = 8
-anchor_left = 0.5
-anchor_top = 0.5
-anchor_right = 0.5
-anchor_bottom = 0.5
-grow_horizontal = 2
-grow_vertical = 2
-size_flags_horizontal = 4
-size_flags_vertical = 4
-
-[node name="PanelContainer" type="PanelContainer" parent="Menu" unique_id=1414562164]
-layout_mode = 1
-anchors_preset = 8
-anchor_left = 0.5
-anchor_top = 0.5
-anchor_right = 0.5
-anchor_bottom = 0.5
-offset_left = -260.5
-offset_top = -318.25
-offset_right = 260.5
-offset_bottom = 318.25
-grow_horizontal = 2
-grow_vertical = 2
-
-[node name="VBoxContainer" type="VBoxContainer" parent="Menu/PanelContainer" unique_id=604076564]
-layout_mode = 2
-
-[node name="Label" type="Label" parent="Menu/PanelContainer/VBoxContainer" unique_id=1102397096]
-layout_mode = 2
-theme_override_font_sizes/font_size = 100
-text = "MENU!!!!!!!!"
-horizontal_alignment = 1
-uppercase = true
-
-[node name="Save" parent="Menu/PanelContainer/VBoxContainer" unique_id=1597537067 instance=ExtResource("2_c2n5p")]
-layout_mode = 2
-text = "Save"
-
-[node name="Load" parent="Menu/PanelContainer/VBoxContainer" unique_id=1726486889 instance=ExtResource("2_c2n5p")]
-layout_mode = 2
-text = "Load"
-
-[node name="Options" parent="Menu/PanelContainer/VBoxContainer" unique_id=674602521 instance=ExtResource("2_c2n5p")]
-layout_mode = 2
-text = "Options"
-
-[node name="Main Menu" parent="Menu/PanelContainer/VBoxContainer" unique_id=1904714546 instance=ExtResource("2_c2n5p")]
-layout_mode = 2
-text = "Main Menu"
-
-[node name="Quit" parent="Menu/PanelContainer/VBoxContainer" unique_id=1892162088 instance=ExtResource("2_c2n5p")]
-layout_mode = 2
-text = "Quit"
-
-[connection signal="pressed" from="Menu/PanelContainer/VBoxContainer/Options" to="." method="_on_options_pressed"]
-[connection signal="pressed" from="Menu/PanelContainer/VBoxContainer/Main Menu" to="." method="_on_main_menu_pressed"]
-[connection signal="pressed" from="Menu/PanelContainer/VBoxContainer/Quit" to="." method="_on_quit_pressed"]
diff --git a/scenes/ui/options.gd b/scenes/ui/options.gd
deleted file mode 100644
index c172e04..0000000
--- a/scenes/ui/options.gd
+++ /dev/null
@@ -1,7 +0,0 @@
-extends CanvasLayer
-
-var menu_node: CanvasLayer
-
-func _on_close_pressed() -> void:
- menu_node.process_mode = Node.PROCESS_MODE_ALWAYS
- queue_free()
diff --git a/scenes/ui/options.gd.uid b/scenes/ui/options.gd.uid
deleted file mode 100644
index f0c89ba..0000000
--- a/scenes/ui/options.gd.uid
+++ /dev/null
@@ -1 +0,0 @@
-uid://ck4twnv274ivh
diff --git a/scenes/ui/options.tscn b/scenes/ui/options.tscn
deleted file mode 100644
index f2c0278..0000000
--- a/scenes/ui/options.tscn
+++ /dev/null
@@ -1,54 +0,0 @@
-[gd_scene format=3 uid="uid://i8ml66ykc8eh"]
-
-[ext_resource type="PackedScene" uid="uid://dj2dk1g7jnk23" path="res://scenes/ui/title_button.tscn" id="1_ad3a0"]
-[ext_resource type="Script" uid="uid://ck4twnv274ivh" path="res://scenes/ui/options.gd" id="1_lr2b1"]
-
-[node name="Options" type="CanvasLayer" unique_id=1868787303]
-process_mode = 3
-script = ExtResource("1_lr2b1")
-
-[node name="Control" type="Control" parent="." unique_id=1010669591]
-layout_mode = 3
-anchors_preset = 8
-anchor_left = 0.5
-anchor_top = 0.5
-anchor_right = 0.5
-anchor_bottom = 0.5
-offset_left = -20.0
-offset_top = -20.0
-offset_right = 20.0
-offset_bottom = 20.0
-grow_horizontal = 2
-grow_vertical = 2
-
-[node name="VBoxContainer" type="VBoxContainer" parent="Control" unique_id=551513181]
-layout_mode = 1
-anchors_preset = 8
-anchor_left = 0.5
-anchor_top = 0.5
-anchor_right = 0.5
-anchor_bottom = 0.5
-offset_left = -50.0
-offset_top = -92.5
-offset_right = 50.0
-offset_bottom = 92.5
-grow_horizontal = 2
-grow_vertical = 2
-
-[node name="Label" type="Label" parent="Control/VBoxContainer" unique_id=1111325079]
-layout_mode = 2
-theme_override_font_sizes/font_size = 50
-text = "OPTIONS"
-
-[node name="Button" parent="Control/VBoxContainer" unique_id=1597537067 instance=ExtResource("1_ad3a0")]
-layout_mode = 2
-
-[node name="Button2" parent="Control/VBoxContainer" unique_id=932377545 instance=ExtResource("1_ad3a0")]
-layout_mode = 2
-
-[node name="Close" parent="Control/VBoxContainer" unique_id=1306792286 instance=ExtResource("1_ad3a0")]
-layout_mode = 2
-text = "Close
-"
-
-[connection signal="pressed" from="Control/VBoxContainer/Close" to="." method="_on_close_pressed"]
diff --git a/scenes/ui/title.tscn b/scenes/ui/title.tscn
deleted file mode 100644
index 91d47e9..0000000
--- a/scenes/ui/title.tscn
+++ /dev/null
@@ -1,72 +0,0 @@
-[gd_scene format=3 uid="uid://c2cmda8vfq0lb"]
-
-[ext_resource type="Script" uid="uid://befvsvog6282s" path="res://scenes/ui/menu.gd" id="1_g80e2"]
-[ext_resource type="PackedScene" uid="uid://dj2dk1g7jnk23" path="res://scenes/ui/title_button.tscn" id="1_t6us6"]
-
-[node name="Title" type="CanvasLayer" unique_id=1428349657]
-script = ExtResource("1_g80e2")
-
-[node name="Control" type="Control" parent="." unique_id=930849088]
-layout_mode = 3
-anchors_preset = 15
-anchor_right = 1.0
-anchor_bottom = 1.0
-grow_horizontal = 2
-grow_vertical = 2
-
-[node name="Title" type="MarginContainer" parent="Control" unique_id=22126455]
-layout_mode = 1
-anchors_preset = 5
-anchor_left = 0.5
-anchor_right = 0.5
-offset_left = -359.5
-offset_right = 359.5
-offset_bottom = 273.0
-grow_horizontal = 2
-theme_override_constants/margin_top = 50
-
-[node name="Label" type="Label" parent="Control/Title" unique_id=1066740590]
-layout_mode = 2
-size_flags_horizontal = 0
-theme_override_font_sizes/font_size = 200
-text = "MULCH"
-uppercase = true
-
-[node name="MarginContainer" type="MarginContainer" parent="Control" unique_id=1839328694]
-layout_mode = 1
-anchors_preset = 12
-anchor_top = 1.0
-anchor_right = 1.0
-anchor_bottom = 1.0
-offset_top = -219.0
-grow_horizontal = 2
-grow_vertical = 0
-theme_override_constants/margin_left = 10
-theme_override_constants/margin_top = 10
-theme_override_constants/margin_right = 10
-theme_override_constants/margin_bottom = 10
-
-[node name="Hbox" type="HBoxContainer" parent="Control/MarginContainer" unique_id=728577623]
-layout_mode = 2
-theme_override_constants/separation = 25
-alignment = 1
-
-[node name="Start" parent="Control/MarginContainer/Hbox" unique_id=1597537067 instance=ExtResource("1_t6us6")]
-layout_mode = 2
-text = "Start"
-
-[node name="Load" parent="Control/MarginContainer/Hbox" unique_id=1936574972 instance=ExtResource("1_t6us6")]
-layout_mode = 2
-text = "Load"
-
-[node name="Options" parent="Control/MarginContainer/Hbox" unique_id=1664031607 instance=ExtResource("1_t6us6")]
-layout_mode = 2
-text = "Options"
-
-[node name="Quit" parent="Control/MarginContainer/Hbox" unique_id=443491275 instance=ExtResource("1_t6us6")]
-layout_mode = 2
-text = "Quit"
-
-[connection signal="pressed" from="Control/MarginContainer/Hbox/Start" to="." method="_on_start_pressed"]
-[connection signal="pressed" from="Control/MarginContainer/Hbox/Options" to="." method="_on_options_pressed"]
-[connection signal="pressed" from="Control/MarginContainer/Hbox/Quit" to="." method="_on_quit_pressed"]
diff --git a/scenes/ui/title_button.tscn b/scenes/ui/title_button.tscn
deleted file mode 100644
index 8c876d3..0000000
--- a/scenes/ui/title_button.tscn
+++ /dev/null
@@ -1,8 +0,0 @@
-[gd_scene format=3 uid="uid://dj2dk1g7jnk23"]
-
-[node name="Button" type="Button" unique_id=1597537067]
-custom_minimum_size = Vector2(100, 50)
-offset_right = 8.0
-offset_bottom = 8.0
-size_flags_horizontal = 3
-size_flags_vertical = 3