Fix Bat Sounds' Volume
parent
c20248f972
commit
e09462b424
|
@ -22,7 +22,7 @@ script = ExtResource( 2 )
|
||||||
use_parent_material = true
|
use_parent_material = true
|
||||||
frames = ExtResource( 1 )
|
frames = ExtResource( 1 )
|
||||||
animation = "idle"
|
animation = "idle"
|
||||||
frame = 2
|
frame = 1
|
||||||
playing = true
|
playing = true
|
||||||
centered = false
|
centered = false
|
||||||
|
|
||||||
|
@ -43,6 +43,8 @@ texture = ExtResource( 3 )
|
||||||
|
|
||||||
[node name="AudioDamage" type="AudioStreamPlayer" parent="."]
|
[node name="AudioDamage" type="AudioStreamPlayer" parent="."]
|
||||||
stream = ExtResource( 4 )
|
stream = ExtResource( 4 )
|
||||||
|
volume_db = -15.0
|
||||||
|
|
||||||
[node name="AudioScream" type="AudioStreamPlayer" parent="."]
|
[node name="AudioScream" type="AudioStreamPlayer" parent="."]
|
||||||
stream = ExtResource( 5 )
|
stream = ExtResource( 5 )
|
||||||
|
volume_db = -15.0
|
||||||
|
|
|
@ -203,7 +203,7 @@ func _physics_process(delta):
|
||||||
$Sprite.playing = true
|
$Sprite.playing = true
|
||||||
invincibility_timer += delta
|
invincibility_timer += delta
|
||||||
|
|
||||||
if not stunned:
|
if not stunned and target != null:
|
||||||
if recharge_timer <= get_recharge():
|
if recharge_timer <= get_recharge():
|
||||||
recharge_timer += delta
|
recharge_timer += delta
|
||||||
if not $AudioCast.playing:
|
if not $AudioCast.playing:
|
||||||
|
|
Loading…
Reference in New Issue