Made common room into hub area and ajdusted Yeli dialogue

This commit is contained in:
2025-12-10 16:02:38 +01:00
parent 982178d89a
commit 59489e4a17
4 changed files with 106 additions and 91 deletions
+13 -16
View File
@@ -1,7 +1,8 @@
[gd_scene load_steps=9 format=3 uid="uid://bvp5ju36h1vl2"]
[gd_scene load_steps=10 format=3 uid="uid://bvp5ju36h1vl2"]
[ext_resource type="Script" uid="uid://cssdu8viimwm6" path="res://scripts/CSharp/Common/SceneTransition.cs" id="1_ftmt4"]
[ext_resource type="Texture2D" uid="uid://da67c7avarwq2" path="res://art/indoor/kitchen_bgAssets.png" id="2_qsw8g"]
[ext_resource type="Texture2D" uid="uid://x7trh4dgsvoe" path="res://art/indoor/room export/Room_01_assets.png" id="5_3wvmt"]
[ext_resource type="PackedScene" uid="uid://cqc72e4hq6bcd" path="res://prefabs/interactions/interaction_area_2d.tscn" id="7_6mpmc"]
[ext_resource type="PackedScene" uid="uid://c25udixd5m6l0" path="res://prefabs/characters/Vesna.tscn" id="25_58hm8"]
[ext_resource type="Script" uid="uid://bqomwxclsbhd3" path="res://scripts/CSharp/Common/Camera/CameraController.cs" id="30_wqpex"]
@@ -19,7 +20,7 @@ radius = 300.0
z_index = 1
y_sort_enabled = true
script = ExtResource("1_ftmt4")
_sceneNamesToLoad = PackedStringArray("res://scenes/Babushka_scene_farm_outside_2d.tscn", "res://scenes/Babushka_scene_indoor_common_room.tscn")
_sceneNamesToLoad = PackedStringArray("res://scenes/Babushka_scene_indoor_common_room.tscn")
[node name="Foreground" type="Node" parent="."]
@@ -171,18 +172,6 @@ texture = ExtResource("2_qsw8g")
region_enabled = true
region_rect = Rect2(0, 2246, 3840, 912)
[node name="Room01DorrR" type="Sprite2D" parent="Background"]
position = Vector2(-250, -216)
texture = ExtResource("2_qsw8g")
region_enabled = true
region_rect = Rect2(3009, 666, 679, 1050)
[node name="OutsideDoor" parent="Background/Room01DorrR" node_paths=PackedStringArray("_spritesToOutline") instance=ExtResource("7_6mpmc")]
position = Vector2(-7, 248)
scale = Vector2(1.5, 1.5)
_spritesToOutline = [NodePath("..")]
_id = 0
[node name="Room01DoorL" type="Sprite2D" parent="Background"]
position = Vector2(-4000, -221)
texture = ExtResource("2_qsw8g")
@@ -191,7 +180,7 @@ region_rect = Rect2(92, 458, 641, 1050)
[node name="CommonRoomDoor" parent="Background/Room01DoorL" node_paths=PackedStringArray("_spritesToOutline") instance=ExtResource("7_6mpmc")]
_spritesToOutline = [NodePath("..")]
_id = 1
_id = 0
[node name="CollisionShape3D" parent="Background/Room01DoorL/CommonRoomDoor/Area2D" index="0"]
shape = SubResource("CircleShape2D_yd2gv")
@@ -246,6 +235,15 @@ flip_h = true
region_enabled = true
region_rect = Rect2(3037, 440, 701, 170)
[node name="vase" type="Sprite2D" parent="BackItems/wallshelf"]
z_index = -10
y_sort_enabled = true
position = Vector2(42, 124)
texture = ExtResource("5_3wvmt")
offset = Vector2(0, -296)
region_enabled = true
region_rect = Rect2(2748, 432, 174, 191)
[node name="FrontItems" type="Node2D" parent="."]
z_index = 50
@@ -276,7 +274,6 @@ texture = ExtResource("2_qsw8g")
region_enabled = true
region_rect = Rect2(1599, 1107, 1351, 418)
[connection signal="InteractedTool" from="Background/Room01DorrR/OutsideDoor" to="." method="LoadSceneAtIndex"]
[connection signal="InteractedTool" from="Background/Room01DoorL/CommonRoomDoor" to="." method="LoadSceneAtIndex"]
[connection signal="Interacted" from="FrontItems/Stove/Firetoggle" to="FrontItems/Stove/Fireleft" method="hide"]
[connection signal="Interacted" from="FrontItems/Stove/Firetoggle" to="FrontItems/Stove/FireRight" method="hide"]