Fix footstep noises

This commit is contained in:
Sofia 2026-08-07 22:06:14 +03:00
parent 99d351885e
commit 2764454967

View File

@ -1,7 +1,7 @@
[gd_scene format=3 uid="uid://cl66unms2gim0"] [gd_scene format=3 uid="uid://cl66unms2gim0"]
[ext_resource type="AudioStream" uid="uid://b3xnffwvltdey" path="res://raw_assets/sfx/footsteps/zapsplat_foley_footstep_single_on_large_fallen_tree_trunk_001_23222.mp3" id="1_hrrbg"]
[ext_resource type="AudioStream" uid="uid://bfg31e3s4jv8c" path="res://raw_assets/sfx/Hit.mp3" id="1_uh1ab"] [ext_resource type="AudioStream" uid="uid://bfg31e3s4jv8c" path="res://raw_assets/sfx/Hit.mp3" id="1_uh1ab"]
[ext_resource type="AudioStream" uid="uid://ybi7cnhxee4k" path="res://raw_assets/sfx/footsteps_fantozzi/Fantozzi-SandR2.ogg" id="2_hrrbg"]
[ext_resource type="AudioStream" uid="uid://d0lpgmlqxum4u" path="res://raw_assets/sfx/footstep.mp3" id="2_orba0"] [ext_resource type="AudioStream" uid="uid://d0lpgmlqxum4u" path="res://raw_assets/sfx/footstep.mp3" id="2_orba0"]
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_1cgct"] [sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_1cgct"]
@ -37,7 +37,8 @@ splorch = NodePath("splorch")
hit_sound = NodePath("hit_sound") hit_sound = NodePath("hit_sound")
walk_sound = NodePath("walk") walk_sound = NodePath("walk")
footstep_sounds = Dictionary[String, AudioStream]({ footstep_sounds = Dictionary[String, AudioStream]({
"Normal": ExtResource("1_hrrbg") "Normal": ExtResource("2_orba0"),
"Sand": ExtResource("2_hrrbg")
}) })
walk_sfx_cd = 0.5 walk_sfx_cd = 0.5