Added audio component
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=18 format=3 uid="uid://2lcnu3dy54lx"]
|
||||
[gd_scene load_steps=28 format=3 uid="uid://2lcnu3dy54lx"]
|
||||
|
||||
[ext_resource type="Script" path="res://player/Player.gd" id="1_8gebs"]
|
||||
[ext_resource type="PackedScene" uid="uid://c8j7t4yg7anb0" path="res://assets/female/Female.blend" id="2_8nah6"]
|
||||
@ -15,7 +15,17 @@
|
||||
[ext_resource type="PackedScene" uid="uid://d0onbq0ad1ap4" path="res://player/rotation/RotationComponent.tscn" id="9_agxqu"]
|
||||
[ext_resource type="PackedScene" uid="uid://bivxnxwi863o0" path="res://player/animation/AnimationComponent.tscn" id="10_bcaeg"]
|
||||
[ext_resource type="AnimationLibrary" uid="uid://d4n0puibh4hyt" path="res://assets/animations/human.blend" id="11_d0e6r"]
|
||||
[ext_resource type="AudioStream" uid="uid://dlqcgg8v3lvhm" path="res://assets/footsteps/Footsteps-Human-Dirt-00.wav" id="12_h5nrh"]
|
||||
[ext_resource type="AudioStream" uid="uid://bcn7rvvayhnib" path="res://assets/footsteps/Footsteps-Human-Dirt-02.wav" id="14_6dv65"]
|
||||
[ext_resource type="PackedScene" uid="uid://b8xf4ltqyorjv" path="res://player/skills/SkillsComponent.tscn" id="14_6idcf"]
|
||||
[ext_resource type="AudioStream" uid="uid://bsc8b4ltoiflu" path="res://assets/footsteps/Footsteps-Human-Dirt-03.wav" id="15_1rjwu"]
|
||||
[ext_resource type="AudioStream" uid="uid://b5xq4cfmo02vw" path="res://assets/footsteps/Footsteps-Human-Dirt-04.wav" id="16_d8yn0"]
|
||||
[ext_resource type="AudioStream" uid="uid://cpldevudwvnkt" path="res://assets/footsteps/Footsteps-Human-Dirt-05.wav" id="17_74v1j"]
|
||||
[ext_resource type="PackedScene" uid="uid://clnfp813k7lep" path="res://player/audio/AudioComponent.tscn" id="17_ovrf7"]
|
||||
[ext_resource type="AudioStream" uid="uid://biyotdu77a788" path="res://assets/footsteps/Footsteps-Human-Dirt-06.wav" id="18_qkget"]
|
||||
[ext_resource type="AudioStream" uid="uid://cdywep3dxm0y3" path="res://assets/footsteps/Footsteps-Human-Dirt-07.wav" id="19_vvmo0"]
|
||||
[ext_resource type="AudioStream" uid="uid://bp8pka7qhcetq" path="res://assets/footsteps/Footsteps-Human-Dirt-08.wav" id="20_srjtb"]
|
||||
[ext_resource type="AudioStream" uid="uid://bgdodasvt7ier" path="res://assets/footsteps/Footsteps-Human-Dirt-01.wav" id="21_a8ikg"]
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_2f50n"]
|
||||
radius = 0.3
|
||||
@ -86,6 +96,10 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
|
||||
strength = 15.0
|
||||
radius = 2.0
|
||||
|
||||
[node name="Audio" parent="." node_paths=PackedStringArray("movement") instance=ExtResource("17_ovrf7")]
|
||||
movement = NodePath("../Movement")
|
||||
footsteps = Array[AudioStream]([ExtResource("12_h5nrh"), ExtResource("21_a8ikg"), ExtResource("14_6dv65"), ExtResource("15_1rjwu"), ExtResource("16_d8yn0"), ExtResource("17_74v1j"), ExtResource("18_qkget"), ExtResource("19_vvmo0"), ExtResource("20_srjtb"), ExtResource("21_a8ikg")])
|
||||
|
||||
[node name="Health" parent="." instance=ExtResource("2_np5ag")]
|
||||
max_value = 100.0
|
||||
|
||||
|
Reference in New Issue
Block a user