Added laser shot sound

This commit is contained in:
2024-05-08 20:49:07 +01:00
parent 93f6236c71
commit 10952b6502
3 changed files with 32 additions and 1 deletions

View File

@@ -1,7 +1,8 @@
[gd_scene load_steps=4 format=3 uid="uid://dh1lp7tib4d78"]
[gd_scene load_steps=5 format=3 uid="uid://dh1lp7tib4d78"]
[ext_resource type="PhysicsMaterial" uid="uid://cql6t5hd40fgn" path="res://CorePhysics.tres" id="1_nbsxj"]
[ext_resource type="Script" path="res://Bullet.gd" id="2_ym7mu"]
[ext_resource type="AudioStream" uid="uid://swcd1jarrvlf" path="res://Sounds/LaserShot.wav" id="3_of1j8"]
[sub_resource type="Gradient" id="Gradient_gcqhp"]
colors = PackedColorArray(1, 1, 0, 1, 1, 1, 0, 0)
@@ -36,4 +37,10 @@ color_ramp = SubResource("Gradient_gcqhp")
hue_variation_min = 1.0
hue_variation_max = 1.0
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource("3_of1j8")
volume_db = -11.243
autoplay = true
bus = &"Effects"
[connection signal="body_entered" from="." to="." method="_on_body_entered"]

BIN
Sounds/LaserShot.wav Normal file

Binary file not shown.

View File

@@ -0,0 +1,24 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://swcd1jarrvlf"
path="res://.godot/imported/LaserShot.wav-cb3a838caafa0eaf301a5e15111bdc36.sample"
[deps]
source_file="res://Sounds/LaserShot.wav"
dest_files=["res://.godot/imported/LaserShot.wav-cb3a838caafa0eaf301a5e15111bdc36.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=0