This commit is contained in:
2026-04-04 20:52:51 -07:00
parent 095dea3773
commit 7088f5cac2
400 changed files with 408 additions and 15010 deletions

View File

@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dv3xqbpwsmhqg"
path="res://.godot/imported/bg.png-997c6c5b781827fef76be7bdaf3299e7.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://scenes/kq4_001_beach/bg.png"
dest_files=["res://.godot/imported/bg.png-997c6c5b781827fef76be7bdaf3299e7.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

View File

@@ -71,7 +71,7 @@ position = Vector2(910, 542)
color = Color(1, 1, 1, 1)
polygon = PackedVector2Array(-108, 454, -87, 649, 376, 658, 348, 381)
appear_at_node = "kq4_004_ogres_cottage"
target = "uid://3ujj97iw54vo5"
target = "uid://bsog5s257pres"
label = "Forest Path"
[node name="entrance" parent="kq4_010_forest_path" index="0"]

View File

@@ -1,7 +1,7 @@
extends Scene
gfunc _on_dense_forest_interacted() -> void:
func _on_dense_forest_interacted() -> void:
$kq4_029_dense_forest.default_script(self)

View File

@@ -106,9 +106,6 @@ position = Vector2(350, 500)
[node name="exit" parent="kq4_009_shady_wooded_area" index="1"]
position = Vector2(100, 480)
[ext_resource type="Script" uid="uid://bounwnqg34t5k" path="res://SetPiece_.gd" id="5_setpiece"]
[ext_resource type="Resource" uid="uid://2l2s6dgizs125" path="res://scenes/kq4_010_forest_path/flowers_polygon_0.tres" id="5_flowers"]
[node name="flowers" type="Polygon2D" parent="." unique_id=123456781]
scale = Vector2(6, 6)
color = Color(0.7, 0.7, 0.7, 0.25)

View File

@@ -0,0 +1,8 @@
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://7w579iaq7ykd"]
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
[resource]
script = ExtResource("1_ppr")
points = PackedVector2Array(2495, 901, 1443, 1358, 1053, 1358, 228, 1128, 65, 945, 0, 559, 2485, 490)
metadata/_custom_type_script = "uid://dtemboas3bi8y"

View File

@@ -27,3 +27,7 @@ func _on_house_looked() -> void:
start_main_script(ScriptBuilder.init(
ScriptBuilder.narrate("The old house looks abandoned and decrepit. Windows are boarded up and the door hangs off its hinges.")
).build(self, "_on_script_complete"))
func _on_house_door_interacted() -> void:
$kq4_068_the_foyer.default_script(self)

View File

@@ -4,7 +4,7 @@
[ext_resource type="Texture2D" uid="uid://bmxs6lml73kld" path="res://scenes/kq4_017_spooky_house_exterior/caption_2_3103518838_generated.png" id="2_j6qr1"]
[ext_resource type="Script" uid="uid://xmphq3i0wbg3" path="res://ScalePoint_.gd" id="3_abc"]
[ext_resource type="PackedScene" uid="uid://c4vc1wx7k6cw" path="res://TransitionPiece.tscn" id="4_abc"]
[ext_resource type="Resource" uid="uid://24qjts0n6t644" path="res://scenes/kq4_017_spooky_house_exterior/house_polygon_0.tres" id="5_house"]
[ext_resource type="Resource" path="res://scenes/kq4_017_spooky_house_exterior/house_polygon_0.tres" id="5_house"]
[ext_resource type="Script" uid="uid://bounwnqg34t5k" path="res://SetPiece_.gd" id="6_setpiece"]
[sub_resource type="NavigationPolygon" id="NavigationPolygon_ppo6b"]
@@ -90,12 +90,7 @@ position = Vector2(506, 555)
[node name="exit" parent="kq4_016_graveyard" index="1"]
position = Vector2(-64, 534)
[connection signal="interacted" from="kq4_011_enchanted_grove" to="." method="_on_enchanted_grove_interacted"]
[connection signal="interacted" from="kq4_018_cemetery" to="." method="_on_cemetery_interacted"]
[connection signal="interacted" from="kq4_023_forest_path_with_cottage" to="." method="_on_forest_path_with_cottage_interacted"]
[connection signal="interacted" from="kq4_016_graveyard" to="." method="_on_graveyard_interacted"]
[node name="house" type="Polygon2D" parent="." groups=["set-piece"]]
[node name="house" type="Polygon2D" parent="." unique_id=1366262640 groups=["set-piece"]]
scale = Vector2(0.78, 0.78)
color = Color(0.5, 0.5, 0.5, 0.25)
polygon = PackedVector2Array(882, 0, 228, 447, 811, 957, 293, 1014, 1052, 1378, 0, 1391, 0, 0)
@@ -103,9 +98,26 @@ script = ExtResource("6_setpiece")
label = "Spooky House"
points_resource = ExtResource("5_house")
[node name="kq4_068_the_foyer" parent="." unique_id=1207243820 instance=ExtResource("4_abc")]
polygon = PackedVector2Array(822, 652, 1167, 675, 1190, 1017, 1056, 1074, 742, 1054)
appear_at_node = &"kq4_017_spooky_house_exterior"
target = "uid://bfgygdasrhic6"
[node name="entrance" parent="kq4_068_the_foyer" index="0"]
position = Vector2(967, 930)
[node name="exit" parent="kq4_068_the_foyer" index="1"]
position = Vector2(950, 1093)
[connection signal="interacted" from="kq4_011_enchanted_grove" to="." method="_on_enchanted_grove_interacted"]
[connection signal="interacted" from="kq4_018_cemetery" to="." method="_on_cemetery_interacted"]
[connection signal="interacted" from="kq4_023_forest_path_with_cottage" to="." method="_on_forest_path_with_cottage_interacted"]
[connection signal="interacted" from="kq4_016_graveyard" to="." method="_on_graveyard_interacted"]
[connection signal="looked" from="house" to="." method="_on_house_looked"]
[connection signal="interacted" from="kq4_068_the_foyer" to="." method="_on_house_door_interacted"]
[editable path="kq4_011_enchanted_grove"]
[editable path="kq4_018_cemetery"]
[editable path="kq4_023_forest_path_with_cottage"]
[editable path="kq4_016_graveyard"]
[editable path="kq4_068_the_foyer"]

View File

@@ -23,3 +23,7 @@ func _on_waterfall_looked() -> void:
start_main_script(ScriptBuilder.init(
ScriptBuilder.say(ego, "Water cascades down the rocky cliff into a crystal clear pool below. The sound of rushing water fills the air.")
).build(self, "_on_script_complete"))
func _on_waterfall_transition_interacted() -> void:
$waterfall_transition.default_script(self)

View File

@@ -4,6 +4,7 @@
[ext_resource type="Texture2D" path="res://scenes/kq4_024_waterfall_and_pool/pic_024_visual.png" id="2_abc"]
[ext_resource type="Script" uid="uid://xmphq3i0wbg3" path="res://ScalePoint_.gd" id="3_abc"]
[ext_resource type="PackedScene" uid="uid://c4vc1wx7k6cw" path="res://TransitionPiece.tscn" id="4_abc"]
[ext_resource type="Resource" uid="uid://3u3p7squxi926" path="res://scenes/kq4_024_waterfall_and_pool/waterfall_transition_polygon.tres" id="7_waterfall_trans"]
[ext_resource type="Resource" uid="uid://mxtemdg6zsnf" path="res://scenes/kq4_024_waterfall_and_pool/waterfall_polygon_0.tres" id="5_waterfall"]
[ext_resource type="Script" uid="uid://bounwnqg34t5k" path="res://SetPiece_.gd" id="6_setpiece"]
@@ -81,6 +82,16 @@ position = Vector2(-64, 534)
[connection signal="interacted" from="kq4_030_mountain_pass" to="." method="_on_mountain_pass_interacted"]
[connection signal="interacted" from="kq4_023_forest_path_with_cottage" to="." method="_on_forest_path_with_cottage_interacted"]
[node name="waterfall_transition" type="Polygon2D" parent="." groups=["set-piece"]]
scale = Vector2(6, 6)
color = Color(0.5, 0.5, 0.5, 0.25)
polygon = PackedVector2Array(288, 1, 286, 149, 281, 169, 263, 177, 120, 165, 263, 9, 281, 1)
script = ExtResource("6_setpiece")
label = "Waterfall Entrance"
points_resource = ExtResource("7_waterfall_trans")
[connection signal="interacted" from="waterfall_transition" to="." method="_on_waterfall_transition_interacted"]
[node name="waterfall" type="Polygon2D" parent="." groups=["set-piece"]]
scale = Vector2(6, 6)
color = Color(0.5, 0.5, 0.5, 0.25)

View File

@@ -0,0 +1,8 @@
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://3u3p7squxi926"]
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
[resource]
script = ExtResource("1_ppr")
points = PackedVector2Array(288, 1, 286, 149, 281, 169, 263, 177, 120, 165, 263, 9, 281, 1)
metadata/_custom_type_script = "uid://dtemboas3bi8y"

View File

@@ -4,22 +4,17 @@ class_name SevenDwarfsCottage
@onready var ego: Node2D = $"../ego"
func _ready() -> void:
pass
pass
func _on_room_looked() -> void:
pass
pass
func _on_kq4_053_seven_dwarfs_bedroom_interacted() -> void:
var target_scene = load("res://scenes/kq4_053_seven_dwarfs_bedroom/kq4_053_seven_dwarfs_bedroom.tscn")
if target_scene:
get_tree().change_scene_to_packed(target_scene)
var target_scene = load("res://scenes/kq4_053_seven_dwarfs_bedroom/kq4_053_seven_dwarfs_bedroom.tscn")
if target_scene:
get_tree().change_scene_to_packed(target_scene)
func _on_kq4_022_gnomes_cottage_interacted() -> void:
var target_scene = load("res://scenes/kq4_022_gnomes_cottage/kq4_022_gnomes_cottage.tscn")
if target_scene:
get_tree().change_scene_to_packed(target_scene)
func _on_kq4_053_seven_dwarfs_bedroom_interacted() -> void:
var target_scene = load("res://scenes/kq4_053_seven_dwarfs_bedroom/kq4_053_seven_dwarfs_bedroom.tscn")
if target_scene:
get_tree().change_scene_to_packed(target_scene)
var target_scene = load("res://scenes/kq4_022_gnomes_cottage/kq4_022_gnomes_cottage.tscn")
if target_scene:
get_tree().change_scene_to_packed(target_scene)

View File

@@ -0,0 +1,8 @@
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://o7wl45e0ok3n"]
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
[resource]
script = ExtResource("1_ppr")
points = PackedVector2Array(42, 87, 42, 32, 277, 39, 277, 90, 222, 179, 187, 187, 101, 179)
metadata/_custom_type_script = "uid://dtemboas3bi8y"

View File

@@ -1,35 +1,32 @@
extends Node2D
class_name TheFoyer
@onready var ego: Node2D = $"../ego"
func _ready() -> void:
pass
extends Scene
func _on_room_looked() -> void:
pass
pass
func _on_kq4_017_spooky_house_exterior_interacted() -> void:
var target_scene = load("res://scenes/kq4_017_spooky_house_exterior/kq4_017_spooky_house_exterior.tscn")
if target_scene:
get_tree().change_scene_to_packed(target_scene)
var target_scene = load("res://scenes/kq4_017_spooky_house_exterior/kq4_017_spooky_house_exterior.tscn")
if target_scene:
get_tree().change_scene_to_packed(target_scene)
func _on_kq4_067_the_parlor_interacted() -> void:
var target_scene = load("res://scenes/kq4_067_the_parlor/kq4_067_the_parlor.tscn")
if target_scene:
get_tree().change_scene_to_packed(target_scene)
var target_scene = load("res://scenes/kq4_067_the_parlor/kq4_067_the_parlor.tscn")
if target_scene:
get_tree().change_scene_to_packed(target_scene)
func _on_kq4_060_bedroom_interacted() -> void:
var target_scene = load("res://scenes/kq4_060_bedroom/kq4_060_bedroom.tscn")
if target_scene:
get_tree().change_scene_to_packed(target_scene)
var target_scene = load("res://scenes/kq4_060_bedroom/kq4_060_bedroom.tscn")
if target_scene:
get_tree().change_scene_to_packed(target_scene)
func _on_kq4_062_bedroom_interacted() -> void:
var target_scene = load("res://scenes/kq4_062_bedroom/kq4_062_bedroom.tscn")
if target_scene:
get_tree().change_scene_to_packed(target_scene)
var target_scene = load("res://scenes/kq4_062_bedroom/kq4_062_bedroom.tscn")
if target_scene:
get_tree().change_scene_to_packed(target_scene)
func _on_kq4_064_old_dining_room_interacted() -> void:
var target_scene = load("res://scenes/kq4_064_old_dining_room/kq4_064_old_dining_room.tscn")
if target_scene:
get_tree().change_scene_to_packed(target_scene)
var target_scene = load("res://scenes/kq4_064_old_dining_room/kq4_064_old_dining_room.tscn")
if target_scene:
get_tree().change_scene_to_packed(target_scene)
func _on_foyer_exit_interacted() -> void:
$foyer_exit.default_script(self)

View File

@@ -1,7 +1,7 @@
[gd_scene format=3 uid="uid://3hb2kqpkpvmnj"]
[gd_scene format=3 uid="uid://bfgygdasrhic6"]
[ext_resource type="Script" path="res://scenes/kq4_068_the_foyer/kq4_068_the_foyer.gd" id="1_script"]
[ext_resource type="Texture2D" path="res://scenes/kq4_068_the_foyer/pic_068_visual.png" id="2_texture"]
[ext_resource type="Script" uid="uid://dxptx7bq52a6v" path="res://scenes/kq4_068_the_foyer/kq4_068_the_foyer.gd" id="1_script"]
[ext_resource type="Texture2D" uid="uid://blpidkixyj1cs" path="res://scenes/kq4_068_the_foyer/pic_068_visual.png" id="2_texture"]
[ext_resource type="Script" uid="uid://xmphq3i0wbg3" path="res://ScalePoint_.gd" id="3_scale"]
[ext_resource type="PackedScene" uid="uid://c4vc1wx7k6cw" path="res://TransitionPiece.tscn" id="4_transition"]
@@ -10,36 +10,37 @@ vertices = PackedVector2Array(100, 800, 1800, 800, 1800, 1200, 100, 1200)
polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2, 3)])
outlines = Array[PackedVector2Array]([PackedVector2Array(100, 800, 1800, 800, 1800, 1200, 100, 1200)])
[node name="background" type="Node2D"]
[node name="background" type="Node2D" unique_id=557074478]
y_sort_enabled = true
script = ExtResource("1_script")
metadata/_custom_type_script = "uid://bq05g53bnqgou"
[node name="bg" type="Sprite2D" parent="."]
[node name="bg" type="Sprite2D" parent="." unique_id=801743455]
scale = Vector2(6, 6)
texture = ExtResource("2_texture")
centered = false
[node name="StartScalePoint" type="Node2D" parent="."]
[node name="StartScalePoint" type="Node2D" parent="." unique_id=1477543703]
position = Vector2(200, 900)
script = ExtResource("3_scale")
target_scale = 0.3
[node name="EndScalePoint" type="Node2D" parent="."]
[node name="EndScalePoint" type="Node2D" parent="." unique_id=880372180]
position = Vector2(1800, 1100)
script = ExtResource("3_scale")
target_scale = 0.4
[node name="pathfind" type="NavigationRegion2D" parent="."]
[node name="pathfind" type="NavigationRegion2D" parent="." unique_id=775494517]
navigation_polygon = SubResource("NavigationPolygon_main")
[node name="default-starting-point" type="Node2D" parent="."]
[node name="default-starting-point" type="Node2D" parent="." unique_id=1105888478]
position = Vector2(200, 900)
[node name="kq4_017_spooky_house_exterior" parent="." instance=ExtResource("4_transition")]
position = Vector2(910, 1400)
[node name="kq4_017_spooky_house_exterior" parent="." unique_id=1277671274 instance=ExtResource("4_transition")]
position = Vector2(814, 586)
polygon = PackedVector2Array(-108, 454, -87, 649, 376, 658, 348, 381)
appear_at_node = "kq4_068_the_foyer"
target = "uid://1kz9yo5f1tpc6"
target = "uid://dek2gdmwnmgsl"
label = "017 Spooky House Exterior"
[node name="entrance" parent="kq4_017_spooky_house_exterior" index="0"]
@@ -48,7 +49,7 @@ position = Vector2(133, 643)
[node name="exit" parent="kq4_017_spooky_house_exterior" index="1"]
position = Vector2(174, 519)
[node name="kq4_067_the_parlor" parent="." instance=ExtResource("4_transition")]
[node name="kq4_067_the_parlor" parent="." unique_id=857831124 instance=ExtResource("4_transition")]
position = Vector2(1766, 600)
polygon = PackedVector2Array(-108, 454, -87, 649, 376, 658, 348, 381)
appear_at_node = "kq4_068_the_foyer"
@@ -61,7 +62,7 @@ position = Vector2(133, 643)
[node name="exit" parent="kq4_067_the_parlor" index="1"]
position = Vector2(174, 519)
[node name="kq4_060_bedroom" parent="." instance=ExtResource("4_transition")]
[node name="kq4_060_bedroom" parent="." unique_id=1753644870 instance=ExtResource("4_transition")]
position = Vector2(910, 200)
polygon = PackedVector2Array(-108, 454, -87, 649, 376, 658, 348, 381)
appear_at_node = "kq4_068_the_foyer"
@@ -74,7 +75,7 @@ position = Vector2(133, 643)
[node name="exit" parent="kq4_060_bedroom" index="1"]
position = Vector2(174, 519)
[node name="kq4_062_bedroom" parent="." instance=ExtResource("4_transition")]
[node name="kq4_062_bedroom" parent="." unique_id=87527628 instance=ExtResource("4_transition")]
position = Vector2(50, 600)
polygon = PackedVector2Array(-108, 454, -87, 649, 376, 658, 348, 381)
appear_at_node = "kq4_068_the_foyer"
@@ -87,7 +88,7 @@ position = Vector2(133, 643)
[node name="exit" parent="kq4_062_bedroom" index="1"]
position = Vector2(174, 519)
[node name="kq4_064_old_dining_room" parent="." instance=ExtResource("4_transition")]
[node name="kq4_064_old_dining_room" parent="." unique_id=1636015828 instance=ExtResource("4_transition")]
position = Vector2(50, 600)
polygon = PackedVector2Array(-108, 454, -87, 649, 376, 658, 348, 381)
appear_at_node = "kq4_068_the_foyer"
@@ -100,13 +101,18 @@ position = Vector2(133, 643)
[node name="exit" parent="kq4_064_old_dining_room" index="1"]
position = Vector2(174, 519)
[node name="house_door" parent="." unique_id=2084818831 instance=ExtResource("4_transition")]
appear_at_node = &"house_door"
target = "uid://dek2gdmwnmgsl"
[connection signal="interacted" from="kq4_017_spooky_house_exterior" to="." method="_on_kq4_017_spooky_house_exterior_interacted"]
[connection signal="interacted" from="kq4_067_the_parlor" to="." method="_on_kq4_067_the_parlor_interacted"]
[connection signal="interacted" from="kq4_060_bedroom" to="." method="_on_kq4_060_bedroom_interacted"]
[connection signal="interacted" from="kq4_062_bedroom" to="." method="_on_kq4_062_bedroom_interacted"]
[connection signal="interacted" from="kq4_064_old_dining_room" to="." method="_on_kq4_064_old_dining_room_interacted"]
[editable path="kq4_017_spooky_house_exterior"]
[editable path="kq4_067_the_parlor"]
[editable path="kq4_060_bedroom"]
[editable path="kq4_062_bedroom"]
[editable path="kq4_064_old_dining_room"]
[editable path="kq4_064_old_dining_room"]

View File

@@ -0,0 +1,8 @@
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://1w9w6a2a9f3fw"]
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
[resource]
script = ExtResource("1_ppr")
points = PackedVector2Array(233, 14, 209, 133, 87, 161, 75, 153, 75, 135, 106, 17, 117, 0, 202, 0)
metadata/_custom_type_script = "uid://dtemboas3bi8y"

View File

@@ -4,12 +4,15 @@ class_name WaterfallCave
@onready var ego: Node2D = $"../ego"
func _ready() -> void:
pass
pass
func _on_room_looked() -> void:
pass
pass
func _on_kq4_071_cave_entrance_interacted() -> void:
var target_scene = load("res://scenes/kq4_071_cave_entrance/kq4_071_cave_entrance.tscn")
if target_scene:
get_tree().change_scene_to_packed(target_scene)
var target_scene = load("res://scenes/kq4_071_cave_entrance/kq4_071_cave_entrance.tscn")
if target_scene:
get_tree().change_scene_to_packed(target_scene)
func _on_cave_exit_interacted() -> void:
$cave_exit.default_script(self)

View File

@@ -1,5 +1,6 @@
[gd_scene format=3 uid="uid://jghg5u2ci9yo"]
[ext_resource type="Resource" uid="uid://1w9w6a2a9f3fw" path="res://scenes/kq4_070_waterfall_cave/cave_exit_polygon.tres" id="7_cave_exit"]
[ext_resource type="Script" path="res://scenes/kq4_070_waterfall_cave/kq4_070_waterfall_cave.gd" id="1_script"]
[ext_resource type="Texture2D" path="res://scenes/kq4_070_waterfall_cave/pic_070_visual.png" id="2_texture"]
[ext_resource type="Script" uid="uid://xmphq3i0wbg3" path="res://ScalePoint_.gd" id="3_scale"]
@@ -35,6 +36,18 @@ navigation_polygon = SubResource("NavigationPolygon_main")
[node name="default-starting-point" type="Node2D" parent="."]
position = Vector2(200, 900)
[node name="cave_exit" type="Polygon2D" parent="." groups=["set-piece"]]
scale = Vector2(6, 6)
color = Color(0.5, 0.5, 0.5, 0.25)
polygon = PackedVector2Array(233, 14, 209, 133, 87, 161, 75, 153, 75, 135, 106, 17, 117, 0, 202, 0)
script = ExtResource("4_transition")
label = "Waterfall Entrance"
points_resource = ExtResource("7_cave_exit")
appear_at_node = "kq4_024_waterfall_and_pool"
target = "uid://33baqytea2g56"
[connection signal="interacted" from="cave_exit" to="." method="_on_cave_exit_interacted"]
[node name="kq4_071_cave_entrance" parent="." instance=ExtResource("4_transition")]
position = Vector2(910, 1400)
polygon = PackedVector2Array(-108, 454, -87, 649, 376, 658, 348, 381)