Sterted work on a Sound playback scene.
parent
1aec5602bc
commit
ca22ffae29
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=10 format=2]
|
||||
[gd_scene load_steps=11 format=2]
|
||||
|
||||
[ext_resource path="res://Player.gd" type="Script" id=1]
|
||||
[ext_resource path="res://Assets/Weapons/Handgun/Handgun.tscn" type="PackedScene" id=2]
|
||||
|
@ -6,6 +6,7 @@
|
|||
[ext_resource path="res://Assets/SFX/Player-Step-Concrete-02.wav" type="AudioStream" id=4]
|
||||
[ext_resource path="res://Assets/SFX/Player-Step-Concrete-04.wav" type="AudioStream" id=5]
|
||||
[ext_resource path="res://Assets/SFX/Player-Step-Concrete-03.wav" type="AudioStream" id=6]
|
||||
[ext_resource path="res://SoundPlayer.gd" type="Script" id=7]
|
||||
|
||||
[sub_resource type="CapsuleShape" id=1]
|
||||
radius = 0.33
|
||||
|
@ -66,6 +67,11 @@ stream = ExtResource( 6 )
|
|||
[node name="Footstep-Concrete-04" type="AudioStreamPlayer3D" parent="Sounds"]
|
||||
stream = ExtResource( 5 )
|
||||
|
||||
[node name="SoundPlayer" type="Spatial" parent="Sounds"]
|
||||
script = ExtResource( 7 )
|
||||
|
||||
[node name="AudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="Sounds/SoundPlayer"]
|
||||
|
||||
[node name="CrosshairContainer" type="CenterContainer" parent="."]
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
|
|
Reference in New Issue