pause music
This commit is contained in:
parent
cf8bfa6210
commit
394f53585e
6 changed files with 50 additions and 6 deletions
|
@ -1,7 +1,8 @@
|
|||
[gd_scene load_steps=3 format=2]
|
||||
[gd_scene load_steps=4 format=2]
|
||||
|
||||
[ext_resource path="res://autoloads/audio.gd" type="Script" id=1]
|
||||
[ext_resource path="res://audio/sounds/shard.wav" type="AudioStream" id=2]
|
||||
[ext_resource path="res://audio/music/pause.ogg" type="AudioStream" id=3]
|
||||
|
||||
[node name="Audio" type="Node"]
|
||||
pause_mode = 2
|
||||
|
@ -39,4 +40,8 @@ bus = "sound"
|
|||
volume_db = -12.0
|
||||
bus = "sound"
|
||||
|
||||
[node name="PauseMusic" type="AudioStreamPlayer" parent="."]
|
||||
stream = ExtResource( 3 )
|
||||
volume_db = -12.0
|
||||
|
||||
[connection signal="finished" from="ShardSound" to="." method="_on_ShardSound_finished"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue