Initial commit

This commit is contained in:
Matthew Barbour
2026-08-30 01:17:38 -05:00
parent f983ab64ce
commit 17cedb8bf1
68 changed files with 2035 additions and 0 deletions
Binary file not shown.
@@ -0,0 +1,24 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://cmb2foaqsx4av"
path="res://.godot/imported/Sink.wav-f7668a8793e1ac29fd99ca4ad1763c69.sample"
[deps]
source_file="res://scenes/kitchen/audio/effects/Sink.wav"
dest_files=["res://.godot/imported/Sink.wav-f7668a8793e1ac29fd99ca4ad1763c69.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=1
edit/loop_begin=0
edit/loop_end=-1
compress/mode=2
Binary file not shown.
+40
View File
@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dyjimwqh6nf3b"
path="res://.godot/imported/kitchen.png-1c4be3f0f06244b5bfca89413b3ff655.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://scenes/kitchen/images/kitchen.png"
dest_files=["res://.godot/imported/kitchen.png-1c4be3f0f06244b5bfca89413b3ff655.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
+130
View File
@@ -0,0 +1,130 @@
[gd_scene format=3 uid="uid://ccbwrgaojccam"]
[ext_resource type="Script" uid="uid://cyebbcwew3oq5" path="res://scenes/kitchen/scripts/kitchen.gd" id="1_hwcho"]
[ext_resource type="Script" uid="uid://77kbxobqvmqp" path="res://scenes/kitchen/scripts/west_exit_trigger.gd" id="1_yi3jr"]
[ext_resource type="Script" uid="uid://cvx3b5jt4dluc" path="res://scenes/kitchen/scripts/sink.gd" id="4_8xxd6"]
[ext_resource type="LabelSettings" uid="uid://dkpp84p885g8h" path="res://shared/resources/standard_label_settings.tres" id="4_hwcho"]
[ext_resource type="Script" uid="uid://b7u48u6urn7pt" path="res://scenes/kitchen/scripts/east_exit_trigger.gd" id="5_hwcho"]
[ext_resource type="PackedScene" uid="uid://cuc5q5cao3vjx" path="res://player/player.tscn" id="5_lmija"]
[ext_resource type="Texture2D" uid="uid://dyjimwqh6nf3b" path="res://scenes/kitchen/images/kitchen.png" id="5_yi3jr"]
[ext_resource type="AudioStream" uid="uid://cmb2foaqsx4av" path="res://scenes/kitchen/audio/effects/Sink.wav" id="6_a4owj"]
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_5t4nn"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_4nnu7"]
size = Vector2(2002, 28.5)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_5t4nn"]
size = Vector2(40.5, 310.5)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_d67dk"]
size = Vector2(17.5, 309)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_y2vya"]
size = Vector2(98, 285.5)
[node name="Node2D" type="Node2D" unique_id=396398678]
y_sort_enabled = true
script = ExtResource("1_hwcho")
[node name="Movement Collision" type="StaticBody2D" parent="." unique_id=352975622]
position = Vector2(130, 164)
physics_material_override = SubResource("PhysicsMaterial_5t4nn")
[node name="Everything else" type="CollisionPolygon2D" parent="Movement Collision" unique_id=1786835918]
position = Vector2(-2, 3)
polygon = PackedVector2Array(-139, 616, 37, 670, 291, 593, 488, 508, 1351, 615, 1353, 928, 1822, 926, 1806, 51, 456, 21, -169, 30)
[node name="Island" type="CollisionPolygon2D" parent="Movement Collision" unique_id=506849821]
polygon = PackedVector2Array(359, 784, 717, 864, 782, 807, 912, 824, 1027, 720, 491, 674, 358, 720)
[node name="Bottom" type="CollisionShape2D" parent="Movement Collision" unique_id=1295111135]
position = Vector2(841, 992)
shape = SubResource("RectangleShape2D_4nnu7")
[node name="Table" type="CollisionPolygon2D" parent="Movement Collision" unique_id=1468659186]
polygon = PackedVector2Array(-139, 834, 231, 922, 231, 984, -142, 988)
[node name="West Exit Trigger" type="Area2D" parent="." unique_id=1623086752]
collision_layer = 32768
collision_mask = 32768
script = ExtResource("1_yi3jr")
[node name="CollisionShape2D" type="CollisionShape2D" parent="West Exit Trigger" unique_id=926854248]
position = Vector2(-1, 940)
shape = SubResource("RectangleShape2D_5t4nn")
[node name="East Exit Trigger" type="Area2D" parent="." unique_id=1533846235]
collision_layer = 32768
collision_mask = 32768
script = ExtResource("5_hwcho")
[node name="CollisionShape2D" type="CollisionShape2D" parent="East Exit Trigger" unique_id=1119900302]
position = Vector2(1904, 1050)
shape = SubResource("RectangleShape2D_d67dk")
[node name="Sink" type="Area2D" parent="." unique_id=404554411]
position = Vector2(1461, 569)
collision_layer = 32768
collision_mask = 32768
script = ExtResource("4_8xxd6")
[node name="CollisionShape2D" type="CollisionShape2D" parent="Sink" unique_id=115520028]
position = Vector2(31, 165)
shape = SubResource("RectangleShape2D_y2vya")
[node name="Label" type="Label" parent="Sink" unique_id=419035073]
visible = false
offset_left = 36.0
offset_top = -25.0
offset_right = 76.0
offset_bottom = -2.0
text = "Drink"
label_settings = ExtResource("4_hwcho")
[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="Sink" unique_id=1873898426]
stream = ExtResource("6_a4owj")
[node name="Kitchen" type="Sprite2D" parent="." unique_id=1426636203]
texture = ExtResource("5_yi3jr")
centered = false
region_enabled = true
region_rect = Rect2(0, 0, 1920, 1080)
[node name="Island" type="Sprite2D" parent="." unique_id=1469135755]
y_sort_enabled = true
position = Vector2(418, 987)
texture = ExtResource("5_yi3jr")
centered = false
offset = Vector2(0, -412)
region_enabled = true
region_rect = Rect2(7, 1094, 728, 412)
[node name="Chair" type="Sprite2D" parent="." unique_id=869791031]
y_sort_enabled = true
position = Vector2(1, 1079)
texture = ExtResource("5_yi3jr")
centered = false
offset = Vector2(0, -322)
region_enabled = true
region_rect = Rect2(860, 1109, 408, 322)
[node name="Player" parent="." unique_id=1952104269 instance=ExtResource("5_lmija")]
unique_name_in_owner = true
y_sort_enabled = true
position = Vector2(107.00003, 941.00006)
scale = Vector2(3, 3)
[node name="West Entrance" type="Marker2D" parent="." unique_id=1551250499]
position = Vector2(107, 943)
[node name="East Entrance" type="Marker2D" parent="." unique_id=2066137134]
position = Vector2(1693, 1122)
[node name="South Entrance" type="Marker2D" parent="." unique_id=1120897992]
position = Vector2(1109, 1032)
[connection signal="body_entered" from="West Exit Trigger" to="West Exit Trigger" method="_on_body_entered"]
[connection signal="body_entered" from="East Exit Trigger" to="East Exit Trigger" method="_on_body_entered"]
[connection signal="body_entered" from="Sink" to="Sink" method="_on_body_entered"]
[connection signal="body_exited" from="Sink" to="Sink" method="_on_body_exited"]
@@ -0,0 +1,16 @@
extends Area2D
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass
func _on_body_entered(body: Node2D) -> void:
Global.player_entrance_name = "West Entrance"
get_tree().change_scene_to_file("res://scenes/kitchen_mirror/kitchen_mirror.tscn")
@@ -0,0 +1 @@
uid://b7u48u6urn7pt
+11
View File
@@ -0,0 +1,11 @@
extends Node2D
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
if Global.player_entrance_name:
$Player.global_position = get_node(Global.player_entrance_name).global_position
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass
+1
View File
@@ -0,0 +1 @@
uid://cyebbcwew3oq5
+27
View File
@@ -0,0 +1,27 @@
extends Area2D
var inside = false
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass
func _input(event):
if inside and Input.is_action_just_pressed("interact"):
$AudioStreamPlayer2D.play()
%Player.play_animation("drink",2100)
func _on_body_entered(body: Node2D) -> void:
$Label.visible = true
inside = true
func _on_body_exited(body: Node2D) -> void:
$Label.visible = false
inside = true
+1
View File
@@ -0,0 +1 @@
uid://cvx3b5jt4dluc
@@ -0,0 +1,16 @@
extends Area2D
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass
func _on_body_entered(body: Node2D) -> void:
Global.player_entrance_name = "South Entrance"
get_tree().change_scene_to_file("res://scenes/kitchen_mirror/kitchen_mirror.tscn")
@@ -0,0 +1 @@
uid://bhc2174723t3m
@@ -0,0 +1,16 @@
extends Area2D
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass
func _on_body_entered(body: Node2D) -> void:
Global.player_entrance_name = "East Entrance"
get_tree().change_scene_to_file("res://scenes/kitchen_mirror/kitchen_mirror.tscn")
@@ -0,0 +1 @@
uid://77kbxobqvmqp