Звуковая подсистема, звуки шагов, музыка.
This commit is contained in:
parent
aa948eb252
commit
7ca54bdb38
15 changed files with 272 additions and 35 deletions
|
@ -1,10 +1,11 @@
|
|||
[gd_scene load_steps=16 format=3 uid="uid://dwii5fob7qy7c"]
|
||||
[gd_scene load_steps=18 format=3 uid="uid://dwii5fob7qy7c"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://b5baxx5o21qy1" path="res://resources/sprites/Sub/Sub.png" id="1_81pua"]
|
||||
[ext_resource type="PackedScene" uid="uid://dfdsnwub212o6" path="res://prefabs/Player.tscn" id="2_mmd6a"]
|
||||
[ext_resource type="SpriteFrames" uid="uid://e8ybb7seykdx" path="res://resources/sprites/player/player.tres" id="3_cqsbi"]
|
||||
[ext_resource type="PackedScene" uid="uid://c5ndo6b0unkst" path="res://prefabs/NPC.tscn" id="3_cu4p0"]
|
||||
[ext_resource type="PackedScene" uid="uid://coogmsw6rsdun" path="res://prefabs/Door.tscn" id="4_22581"]
|
||||
[ext_resource type="AudioStream" uid="uid://be35iuapayv0u" path="res://resources/music/Day1.wav" id="6_jvwn3"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_h0540"]
|
||||
size = Vector2(640, 24)
|
||||
|
@ -36,6 +37,10 @@ size = Vector2(32.75, 104)
|
|||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_bafxi"]
|
||||
size = Vector2(640, 24)
|
||||
|
||||
[sub_resource type="AudioStreamPlaylist" id="AudioStreamPlaylist_7838k"]
|
||||
stream_count = 1
|
||||
stream_0 = ExtResource("6_jvwn3")
|
||||
|
||||
[node name="Test" type="Node2D"]
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
|
@ -111,7 +116,43 @@ shape = SubResource("RectangleShape2D_i40av")
|
|||
position = Vector2(1032, -221)
|
||||
shape = SubResource("RectangleShape2D_bafxi")
|
||||
|
||||
[node name="Npc" parent="." instance=ExtResource("3_cu4p0")]
|
||||
[node name="Doors" type="Node2D" parent="."]
|
||||
|
||||
[node name="Door_3F" parent="Doors" node_paths=PackedStringArray("Exit") instance=ExtResource("4_22581")]
|
||||
position = Vector2(788, 14)
|
||||
Exit = NodePath("../Door_3F2")
|
||||
|
||||
[node name="Door_3F2" parent="Doors" node_paths=PackedStringArray("Exit") instance=ExtResource("4_22581")]
|
||||
position = Vector2(790, 134)
|
||||
Exit = NodePath("../Door_3F")
|
||||
|
||||
[node name="Door_MEDBAY" parent="Doors" node_paths=PackedStringArray("Exit") instance=ExtResource("4_22581")]
|
||||
position = Vector2(474, 134)
|
||||
Exit = NodePath("../Door_MEDBAY2")
|
||||
|
||||
[node name="Door_MEDBAY2" parent="Doors" node_paths=PackedStringArray("Exit") instance=ExtResource("4_22581")]
|
||||
position = Vector2(474, 255)
|
||||
Exit = NodePath("../Door_MEDBAY")
|
||||
|
||||
[node name="Door_SONAR" parent="Doors" node_paths=PackedStringArray("Exit") instance=ExtResource("4_22581")]
|
||||
position = Vector2(1180, 134)
|
||||
Exit = NodePath("../Door_SONAR2")
|
||||
|
||||
[node name="Door_SONAR2" parent="Doors" node_paths=PackedStringArray("Exit") instance=ExtResource("4_22581")]
|
||||
position = Vector2(1179, 14)
|
||||
Exit = NodePath("../Door_SONAR")
|
||||
|
||||
[node name="Door_QUOTERS" parent="Doors" node_paths=PackedStringArray("Exit") instance=ExtResource("4_22581")]
|
||||
position = Vector2(1436, 134)
|
||||
Exit = NodePath("../Door_QUOTERS2")
|
||||
|
||||
[node name="Door_QUOTERS2" parent="Doors" node_paths=PackedStringArray("Exit") instance=ExtResource("4_22581")]
|
||||
position = Vector2(1442, 255)
|
||||
Exit = NodePath("../Door_QUOTERS")
|
||||
|
||||
[node name="NPCs" type="Node2D" parent="."]
|
||||
|
||||
[node name="Npc" parent="NPCs" instance=ExtResource("3_cu4p0")]
|
||||
position = Vector2(752, 16)
|
||||
NPCName = "Test"
|
||||
Frames = ExtResource("3_cqsbi")
|
||||
|
@ -120,34 +161,7 @@ Frames = ExtResource("3_cqsbi")
|
|||
position = Vector2(263, 14)
|
||||
Speed = 100.0
|
||||
|
||||
[node name="Door_3F" parent="." node_paths=PackedStringArray("Exit") instance=ExtResource("4_22581")]
|
||||
position = Vector2(788, 14)
|
||||
Exit = NodePath("../Door_3F2")
|
||||
|
||||
[node name="Door_3F2" parent="." node_paths=PackedStringArray("Exit") instance=ExtResource("4_22581")]
|
||||
position = Vector2(790, 134)
|
||||
Exit = NodePath("../Door_3F")
|
||||
|
||||
[node name="Door_MEDBAY" parent="." node_paths=PackedStringArray("Exit") instance=ExtResource("4_22581")]
|
||||
position = Vector2(474, 134)
|
||||
Exit = NodePath("../Door_MEDBAY2")
|
||||
|
||||
[node name="Door_MEDBAY2" parent="." node_paths=PackedStringArray("Exit") instance=ExtResource("4_22581")]
|
||||
position = Vector2(474, 255)
|
||||
Exit = NodePath("../Door_MEDBAY")
|
||||
|
||||
[node name="Door_SONAR" parent="." node_paths=PackedStringArray("Exit") instance=ExtResource("4_22581")]
|
||||
position = Vector2(1180, 134)
|
||||
Exit = NodePath("../Door_SONAR2")
|
||||
|
||||
[node name="Door_SONAR2" parent="." node_paths=PackedStringArray("Exit") instance=ExtResource("4_22581")]
|
||||
position = Vector2(1179, 14)
|
||||
Exit = NodePath("../Door_SONAR")
|
||||
|
||||
[node name="Door_QUOTERS" parent="." node_paths=PackedStringArray("Exit") instance=ExtResource("4_22581")]
|
||||
position = Vector2(1436, 134)
|
||||
Exit = NodePath("../Door_QUOTERS2")
|
||||
|
||||
[node name="Door_QUOTERS2" parent="." node_paths=PackedStringArray("Exit") instance=ExtResource("4_22581")]
|
||||
position = Vector2(1442, 255)
|
||||
Exit = NodePath("../Door_QUOTERS")
|
||||
[node name="Music" type="AudioStreamPlayer" parent="."]
|
||||
stream = SubResource("AudioStreamPlaylist_7838k")
|
||||
autoplay = true
|
||||
bus = &"Music"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue