mirror of
https://github.com/PfandBoss/SemesterGameJam2022.git
synced 2025-11-12 04:16:12 +01:00
Added shooting sound
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://byo1m0n20yl45"]
|
||||
[gd_scene load_steps=4 format=3 uid="uid://byo1m0n20yl45"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/Modules/Cannon.gd" id="1_vdn0s"]
|
||||
[ext_resource type="AudioStream" uid="uid://fj0v7v4wuymk" path="res://Assets/Sounds/_SOUNDFX_/Explosion.wav" id="2_embm1"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_sm3et"]
|
||||
size = Vector3(3.10406, 3, 2)
|
||||
@@ -10,3 +11,8 @@ script = ExtResource("1_vdn0s")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
shape = SubResource("BoxShape3D_sm3et")
|
||||
|
||||
[node name="AudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="."]
|
||||
stream = ExtResource("2_embm1")
|
||||
volume_db = 19.048
|
||||
pitch_scale = 0.66
|
||||
|
||||
Reference in New Issue
Block a user