Add more sound effect implementations

This commit is contained in:
2026-06-16 21:17:23 -07:00
parent bbadf9ccec
commit 8158156f09
13 changed files with 689 additions and 695 deletions
@@ -1,10 +1,11 @@
[gd_scene load_steps=19 format=4 uid="uid://bn5egdkg03f5d"]
[gd_scene load_steps=20 format=4 uid="uid://bn5egdkg03f5d"]
[ext_resource type="Texture2D" uid="uid://c6bcwd1ym1dcg" path="res://src/map/overworld/Models/Overworld Re-Scaled (Missing Distance Objects)_outside_darker_brick.png" id="2_0srsp"]
[ext_resource type="Shader" uid="uid://6vedw540l3p2" path="res://src/map/dungeon/door/GlowDoor.gdshader" id="2_xvocd"]
[ext_resource type="Texture2D" uid="uid://ypb8vnmolp7e" path="res://src/map/overworld/Models/Overworld Re-Scaled (Missing Distance Objects)_OW_Worked-Stone-Outside.png" id="3_xvocd"]
[ext_resource type="Texture2D" uid="uid://s8y4xcx33gh8" path="res://src/map/overworld/Models/Overworld Re-Scaled (Missing Distance Objects)_stone_column_carved.png" id="4_jxt4s"]
[ext_resource type="Script" uid="uid://bxs2sugex0p0i" path="res://src/map/UnlockableDoor.cs" id="4_om2kn"]
[ext_resource type="AudioStream" uid="uid://dp4as5on1t8db" path="res://src/audio/sfx/player_UNLOCK.ogg" id="6_jxt4s"]
[sub_resource type="CylinderShape3D" id="CylinderShape3D_ng7o6"]
height = 4.92334
@@ -171,6 +172,21 @@ tracks/1/keys = {
"update": 0,
"values": [1.0, 0.0]
}
tracks/2/type = "audio"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("AudioStreamPlayer3D")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"clips": [{
"end_offset": 0.0,
"start_offset": 0.0,
"stream": ExtResource("6_jxt4s")
}],
"times": PackedFloat32Array(0)
}
tracks/2/use_blend = true
[sub_resource type="AnimationLibrary" id="AnimationLibrary_xvocd"]
_data = {
@@ -226,3 +242,6 @@ collision_mask = 64
[node name="CollisionShape3D" type="CollisionShape3D" parent="EnterArea"]
transform = Transform3D(0.834127, 0, 0.551573, 0, 1, 0, -0.551573, 0, 0.834127, -2.05607, 0.398102, -1.44671)
shape = SubResource("BoxShape3D_xvocd")
[node name="AudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="."]
bus = &"SFX"