progress
This commit is contained in:
8
scenes/kq4_017_spooky_house_exterior/house_polygon.tres
Normal file
8
scenes/kq4_017_spooky_house_exterior/house_polygon.tres
Normal file
@@ -0,0 +1,8 @@
|
||||
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://j7s02kx0ru0m"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_ppr")
|
||||
points = PackedVector2Array(0, 1391, 0, 0, 2495, 0, 2495, 1391)
|
||||
metadata/_custom_type_script = "uid://dtemboas3bi8y"
|
||||
@@ -0,0 +1,8 @@
|
||||
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://2vgpfkv8f2tr"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_ppr")
|
||||
points = PackedVector2Array(882, 0, 228, 447, 811, 957, 293, 1014, 1052, 1378, 0, 1391, 0, 0)
|
||||
metadata/_custom_type_script = "uid://dtemboas3bi8y"
|
||||
@@ -0,0 +1,8 @@
|
||||
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://3ahmhpj2iq2t"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_ppr")
|
||||
points = PackedVector2Array(2495, 1391, 1443, 1388, 2171, 1108, 1618, 1037, 2200, 634, 2069, 0, 2495, 0)
|
||||
metadata/_custom_type_script = "uid://dtemboas3bi8y"
|
||||
@@ -0,0 +1,8 @@
|
||||
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://1pa1muindps"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_ppr")
|
||||
points = PackedVector2Array(978, 0, 2044, 0, 1992, 28, 1999, 181, 1879, 45, 978, 49, 976, 26)
|
||||
metadata/_custom_type_script = "uid://dtemboas3bi8y"
|
||||
@@ -0,0 +1,8 @@
|
||||
[gd_resource type="Resource" script_class="PolygonPointsResource" format=3 uid="uid://s8bt0fvboqi4"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dtemboas3bi8y" path="res://PolygonPointsResource.gd" id="1_ppr"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_ppr")
|
||||
points = PackedVector2Array(1709, 873, 1701, 881, 1706, 888, 1750, 909, 1739, 910, 1699, 885, 1683, 890)
|
||||
metadata/_custom_type_script = "uid://dtemboas3bi8y"
|
||||
@@ -15,3 +15,15 @@ func _on_forest_path_with_cottage_interacted() -> void:
|
||||
|
||||
func _on_cemetery_interacted() -> void:
|
||||
$kq4_018_cemetery.default_script(self)
|
||||
|
||||
|
||||
func _on_room_looked() -> void:
|
||||
start_main_script(ScriptBuilder.init(
|
||||
ScriptBuilder.say(ego, "Indeed, this is a spooky old house! It looks as if no one has lived here for many years. Flanking the old house on both sides is a run-down cemetery. A thick forest looms all around.")
|
||||
).build(self, "_on_script_complete"))
|
||||
|
||||
|
||||
func _on_house_looked() -> void:
|
||||
start_main_script(ScriptBuilder.init(
|
||||
ScriptBuilder.say(ego, "The old house looks abandoned and decrepit. Windows are boarded up and the door hangs off its hinges.")
|
||||
).build(self, "_on_script_complete"))
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
[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="Script" uid="uid://bounwnqg34t5k" path="res://SetPiece_.gd" id="6_setpiece"]
|
||||
|
||||
[sub_resource type="NavigationPolygon" id="NavigationPolygon_ppo6b"]
|
||||
vertices = PackedVector2Array(374.47656, 1145.0078, -140.75781, 1180.2031, -76.11719, 588.6797, -53.679688, 490.4922, 1222.4688, 227.3125, 1994.2422, 468.4297, 2012.7031, 1020.2031, 1268.1875, 1113.0234)
|
||||
@@ -93,6 +95,16 @@ position = Vector2(-64, 534)
|
||||
[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"]]
|
||||
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)
|
||||
script = ExtResource("6_setpiece")
|
||||
label = "Spooky House"
|
||||
points_resource = ExtResource("5_house")
|
||||
|
||||
[connection signal="looked" from="house" to="." method="_on_house_looked"]
|
||||
|
||||
[editable path="kq4_011_enchanted_grove"]
|
||||
[editable path="kq4_018_cemetery"]
|
||||
[editable path="kq4_023_forest_path_with_cottage"]
|
||||
|
||||
Reference in New Issue
Block a user