54 lines
2.4 KiB
Text
54 lines
2.4 KiB
Text
[gd_scene load_steps=9 format=3 uid="uid://ca2cali2s1y6x"]
|
|
|
|
[ext_resource type="SpriteFrames" uid="uid://bwssm27bm14s7" path="res://resources/sprites/npcs/captain.tres" id="1_pra77"]
|
|
[ext_resource type="Script" path="res://scripts/Day1Cutscene.cs" id="1_ryay5"]
|
|
[ext_resource type="PackedScene" uid="uid://c5ndo6b0unkst" path="res://prefabs/NPC.tscn" id="3_c46dh"]
|
|
[ext_resource type="AudioStream" uid="uid://dtbu8f2sp1lql" path="res://resources/sounds/spook8.wav" id="4_dfp4a"]
|
|
[ext_resource type="AudioStream" uid="uid://cb0344er3onkq" path="res://resources/sounds/door/doorOpen_1.ogg" id="5_2n8ga"]
|
|
[ext_resource type="AudioStream" uid="uid://87caolv1uksk" path="res://resources/sounds/door/doorClose_3.ogg" id="6_6tavv"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_yoe65"]
|
|
size = Vector2(23, 20)
|
|
|
|
[sub_resource type="AudioStreamPlaylist" id="AudioStreamPlaylist_ruuga"]
|
|
loop = false
|
|
stream_count = 2
|
|
stream_0 = ExtResource("5_2n8ga")
|
|
stream_1 = ExtResource("6_6tavv")
|
|
|
|
[node name="Day1Cutscene" type="Node2D"]
|
|
script = ExtResource("1_ryay5")
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
|
sprite_frames = ExtResource("1_pra77")
|
|
|
|
[node name="Area2D" type="Area2D" parent="."]
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
|
position = Vector2(-1.5, 0)
|
|
shape = SubResource("RectangleShape2D_yoe65")
|
|
|
|
[node name="NPC1" parent="." instance=ExtResource("3_c46dh")]
|
|
position = Vector2(225, -339)
|
|
NPCName = "Eugene"
|
|
DialogLines = ["Captain, I have found a quite strange signal.", "Listen"]
|
|
|
|
[node name="NPC2" parent="." instance=ExtResource("3_c46dh")]
|
|
position = Vector2(361, -342)
|
|
NPCName = "Captain"
|
|
DialogLines = ["...", "Quite intresting", "Process this signal on main computer", "We will set cource on source of this signal", "Keep up the good work"]
|
|
|
|
[node name="Spook" type="AudioStreamPlayer" parent="."]
|
|
stream = ExtResource("4_dfp4a")
|
|
bus = &"Spook"
|
|
|
|
[node name="DoorSounds" type="AudioStreamPlayer" parent="."]
|
|
stream = SubResource("AudioStreamPlaylist_ruuga")
|
|
volume_db = -10.0
|
|
bus = &"Sound"
|
|
|
|
[connection signal="body_entered" from="Area2D" to="." method="Stage1"]
|
|
[connection signal="DialogEnded" from="NPC1" to="." method="Stage2"]
|
|
[connection signal="DialogEnded" from="NPC2" to="." method="Stage4"]
|
|
[connection signal="finished" from="Spook" to="." method="Stage3"]
|
|
[connection signal="finished" from="DoorSounds" to="." method="Final"]
|