Added indoor ending

This commit is contained in:
2025-06-15 20:05:53 +02:00
committed by cblech
parent 2226b859df
commit 0ebd0c46a0
6 changed files with 63 additions and 11 deletions
+26 -1
View File
@@ -1,5 +1,6 @@
[gd_scene load_steps=19 format=3 uid="uid://bm21nqepnwaik"]
[gd_scene load_steps=23 format=3 uid="uid://bm21nqepnwaik"]
[ext_resource type="Script" uid="uid://cssdu8viimwm6" path="res://scripts/CSharp/Common/SceneTransition.cs" id="1_aivb2"]
[ext_resource type="PackedScene" uid="uid://c25udixd5m6l0" path="res://prefabs/characters/Player2D.tscn" id="2_a2ood"]
[ext_resource type="Texture2D" uid="uid://waqmjrxduxfq" path="res://art/indoor/room export/Room_01_walls.png" id="3_a2ood"]
[ext_resource type="Texture2D" uid="uid://cnhsxxps2cw5" path="res://art/indoor/room export/Room_01_table.png" id="3_je1cl"]
@@ -14,6 +15,8 @@
[ext_resource type="Texture2D" uid="uid://tyypifpte0pb" path="res://art/indoor/room export/Room_01_chugun.png" id="11_atjbs"]
[ext_resource type="Texture2D" uid="uid://x7trh4dgsvoe" path="res://art/indoor/room export/Room_01_assets.png" id="13_j5d18"]
[ext_resource type="Texture2D" uid="uid://ckvytnpi8gcxq" path="res://art/eyes_atlas.png" id="14_j5d18"]
[ext_resource type="PackedScene" uid="uid://dfvgp1my5rydh" path="res://prefabs/characters/Yeli.tscn" id="15_ciwvv"]
[ext_resource type="Script" uid="uid://cvkw4qd2hxksi" path="res://scripts/GdScript/dialogic_toggle.gd" id="17_835kg"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_a2ood"]
resource_local_to_scene = true
@@ -104,8 +107,13 @@ _data = {
&"hand_stretch": SubResource("Animation_8o6or")
}
[sub_resource type="CircleShape2D" id="CircleShape2D_wuntg"]
resource_local_to_scene = true
radius = 300.0
[node name="IndoorTest" type="Node2D"]
y_sort_enabled = true
script = ExtResource("1_aivb2")
[node name="BackWall" type="Node" parent="."]
@@ -318,4 +326,21 @@ offset = Vector2(0, -296)
region_enabled = true
region_rect = Rect2(2576, 802, 219, 64)
[node name="Yeli" parent="." instance=ExtResource("15_ciwvv")]
position = Vector2(-2912, 432)
[node name="CollisionShape3D" parent="Yeli/InteractionArea/Area2D" index="0"]
shape = SubResource("CircleShape2D_wuntg")
[node name="TalkingControl" parent="Yeli" index="1"]
_timelinesToPlay = PackedStringArray("yeli_intro_05")
[node name="dialogic_toggle" type="Node2D" parent="Yeli"]
script = ExtResource("17_835kg")
metadata/_custom_type_script = "uid://cvkw4qd2hxksi"
[connection signal="timelineEnded" from="Yeli/dialogic_toggle" to="." method="Quit"]
[editable path="Player2d"]
[editable path="Yeli"]
[editable path="Yeli/InteractionArea"]