chill-jam-10-2024/prefabs/Day1Cutscene.tscn

37 lines
1.5 KiB
Text

[gd_scene load_steps=6 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"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_yoe65"]
size = Vector2(53, 20)
[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(-16.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"
[connection signal="body_entered" from="Area2D" to="." method="Stage1"]