Added chuga dialog to fight scene

This commit is contained in:
cblech
2025-07-11 03:00:47 +02:00
parent 69cb63ad89
commit e8850ca7c5
6 changed files with 140 additions and 21 deletions
+18 -11
View File
@@ -1,7 +1,6 @@
[gd_scene load_steps=69 format=3 uid="uid://dfyb4dckoltpw"]
[gd_scene load_steps=70 format=3 uid="uid://dfyb4dckoltpw"]
[ext_resource type="Script" uid="uid://cssdu8viimwm6" path="res://scripts/CSharp/Common/SceneTransition.cs" id="1_vl6d5"]
[ext_resource type="PackedScene" uid="uid://bm21nqepnwaik" path="res://scenes/Babushka_scene_indoor_common_room.tscn" id="2_5evxf"]
[ext_resource type="Script" uid="uid://bqomwxclsbhd3" path="res://scripts/CSharp/Common/Camera/CameraController.cs" id="3_jrqoq"]
[ext_resource type="Texture2D" uid="uid://8sr11ex30n0m" path="res://art/mockups/Kenney_Backgrounds/Samples/uncolored_hills.png" id="4_6el7d"]
[ext_resource type="Texture2D" uid="uid://be1nofeo7an0" path="res://art/mockups/Kenney_Backgrounds/PNG/cloud2.png" id="5_253jf"]
@@ -29,6 +28,7 @@
[ext_resource type="PackedScene" uid="uid://hk8ahyp6dgl6" path="res://prefabs/fight/fight_base_scene.tscn" id="27_55b52"]
[ext_resource type="PackedScene" uid="uid://bp64p6y72j71w" path="res://prefabs/fight/fighters/enemy_blob_fighter.tscn" id="27_hfhye"]
[ext_resource type="PackedScene" uid="uid://c25udixd5m6l0" path="res://prefabs/characters/Player2D.tscn" id="29_3jjxs"]
[ext_resource type="PackedScene" uid="uid://ddpl8cbck7e6s" path="res://prefabs/characters/Chugar.tscn" id="29_26tkn"]
[ext_resource type="PackedScene" uid="uid://cr66tpdr5rma5" path="res://prefabs/fight/fighters/enemy_mavkha_fighter.tscn" id="29_hfhye"]
[ext_resource type="Resource" uid="uid://dlcmqfjvgphqu" path="res://resources/items/rake.tres" id="30_l10vl"]
[ext_resource type="Resource" uid="uid://cndd64batns31" path="res://resources/items/wateringcan.tres" id="31_c2gvt"]
@@ -104,6 +104,10 @@ noise = SubResource("FastNoiseLite_wgikv")
[sub_resource type="RectangleShape2D" id="RectangleShape2D_hfhye"]
size = Vector2(1054.5, 2334.5)
[sub_resource type="CircleShape2D" id="CircleShape2D_hfhye"]
resource_local_to_scene = true
radius = 345.552
[sub_resource type="ShaderMaterial" id="ShaderMaterial_bcdgk"]
shader = ExtResource("39_mp3tl")
shader_parameter/speed = 1.0
@@ -134,7 +138,6 @@ stream_2/stream = ExtResource("61_qkd2b")
[node name="BabushkaSceneFarmOutside2d" type="Node2D"]
script = ExtResource("1_vl6d5")
_sceneToLoad = ExtResource("2_5evxf")
[node name="Camera2D" type="Camera2D" parent="." node_paths=PackedStringArray("_followNode")]
position = Vector2(3180, 1961)
@@ -856,6 +859,13 @@ position = Vector2(178, 594)
z_index = 1
y_sort_enabled = true
[node name="Chuga" parent="YSorted" instance=ExtResource("29_26tkn")]
position = Vector2(6402, 1956)
_timelinesToPlay = PackedStringArray("quest5_forest_start", "quest5_forest_end")
[node name="CollisionShape3D" parent="YSorted/Chuga/InteractionArea/Area2D" index="0"]
shape = SubResource("CircleShape2D_hfhye")
[node name="Vesna" parent="YSorted" instance=ExtResource("29_3jjxs")]
z_index = 1
position = Vector2(3180, 2125)
@@ -2061,14 +2071,6 @@ polygon = PackedVector2Array(5543, 1787, 8663, 1938, 15008, 1914, 15121, 2882, 1
[node name="CanvasLayer" parent="." instance=ExtResource("50_r0n5l")]
[node name="Inventory" parent="CanvasLayer" index="1"]
anchors_preset = 7
anchor_top = 1.0
anchor_bottom = 1.0
offset_left = -116.0
offset_top = -53.0
offset_right = 231.82
offset_bottom = 141.4
grow_vertical = 0
size_flags_horizontal = 6
size_flags_vertical = 10
@@ -2179,18 +2181,23 @@ script = ExtResource("56_bjj0f")
[connection signal="body_entered" from="Fight1/FightStarter/TriggerArea" to="Fight1/FightStarter" method="Start"]
[connection signal="FightEnded" from="Fight1/FightBaseScene" to="YSorted/Vesna" method="show"]
[connection signal="FightEnded" from="Fight1/FightBaseScene" to="YSorted/Vesna" method="EnableMovement"]
[connection signal="FightStarted" from="Fight1/FightBaseScene" to="YSorted/Chuga" method="hide"]
[connection signal="FightStarted" from="Fight1/FightBaseScene" to="YSorted/Vesna" method="hide"]
[connection signal="FightStarted" from="Fight1/FightBaseScene" to="YSorted/Vesna" method="DisableMovement"]
[connection signal="body_entered" from="Fight2/FightStarter/TriggerArea" to="Fight2/FightStarter" method="Start"]
[connection signal="FightEnded" from="Fight2/FightBaseScene" to="YSorted/Chuga" method="show"]
[connection signal="FightEnded" from="Fight2/FightBaseScene" to="YSorted/Vesna" method="show"]
[connection signal="FightEnded" from="Fight2/FightBaseScene" to="YSorted/Vesna" method="EnableMovement"]
[connection signal="FightStarted" from="Fight2/FightBaseScene" to="YSorted/Vesna" method="hide"]
[connection signal="FightStarted" from="Fight2/FightBaseScene" to="YSorted/Vesna" method="DisableMovement"]
[connection signal="timelineEnded" from="YSorted/Chuga/Dialogic starter/DialogicToggle" to="YSorted/Chuga" method="set_position" binds= [Vector2(14579, 2951)]]
[connection signal="FilledWateringCan" from="YSorted/Vesna" to="Audio/SFX/FillWater SFX2" method="PlayOneShot"]
[connection signal="WateringField" from="YSorted/Vesna/FarmingControls" to="Audio/SFX/Watering SFX" method="PlayOneShot"]
[connection signal="finished" from="Audio/Background Music Ramp up" to="Audio/Background Music loop" method="PlayFromOffset"]
[editable path="Fight1/FightBaseScene"]
[editable path="Fight2/FightBaseScene"]
[editable path="YSorted/Chuga"]
[editable path="YSorted/Chuga/InteractionArea"]
[editable path="YSorted/Vesna"]
[editable path="CanvasLayer"]