Add some sounds
This commit is contained in:
1 parent
d67fde5f0b
commit
8097a28cf8
4 files changed
+32
-2
No files matched your search
@@ -1,7 +1,9 @@
|
||||
[gd_scene load_steps=4 format=2]
|
||||
[gd_scene load_steps=6 format=2]
|
||||
|
||||
[ext_resource path="res://scripts/power_station.gd" type="Script" id=1]
|
||||
[ext_resource path="res://scenes/coin_machine.tscn" type="PackedScene" id=2]
|
||||
[ext_resource path="res://assets/sound/forceField_004.ogg" type="AudioStream" id=3]
|
||||
[ext_resource path="res://assets/sound/error_008.ogg" type="AudioStream" id=4]
|
||||
|
||||
[sub_resource type="CubeMesh" id=1]
|
||||
|
||||
@@ -21,4 +23,12 @@ mesh = SubResource( 1 )
|
||||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0275149, 0.721019, 1.58046 )
|
||||
billboard = 1
|
||||
|
||||
[node name="sounds" type="Node" parent="."]
|
||||
|
||||
[node name="charge_get" type="AudioStreamPlayer" parent="sounds"]
|
||||
stream = ExtResource( 3 )
|
||||
|
||||
[node name="error" type="AudioStreamPlayer" parent="sounds"]
|
||||
stream = ExtResource( 4 )
|
||||
|
||||
[connection signal="coin_requirement_met" from="coin_machine" to="." method="_on_coin_machine_coin_requirement_met"]
|
||||
Reference in new issue
Block a user