Катсцена первого дня финальная версия
This commit is contained in:
parent
32f09f08f3
commit
d92d6f629b
8 changed files with 110 additions and 42 deletions
|
@ -1,12 +1,20 @@
|
|||
[gd_scene load_steps=6 format=3 uid="uid://ca2cali2s1y6x"]
|
||||
[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(53, 20)
|
||||
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")
|
||||
|
@ -17,7 +25,7 @@ sprite_frames = ExtResource("1_pra77")
|
|||
[node name="Area2D" type="Area2D" parent="."]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
||||
position = Vector2(-16.5, 0)
|
||||
position = Vector2(-1.5, 0)
|
||||
shape = SubResource("RectangleShape2D_yoe65")
|
||||
|
||||
[node name="NPC1" parent="." instance=ExtResource("3_c46dh")]
|
||||
|
@ -34,4 +42,13 @@ DialogLines = ["...", "Quite intresting", "Process this signal on main computer"
|
|||
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"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue