implemented death sounds
This commit is contained in:
parent
d35c97905a
commit
fa8861d6a1
6 changed files with 69 additions and 1 deletions
|
@ -1,9 +1,11 @@
|
|||
[gd_scene load_steps=6 format=3 uid="uid://ckau5s2tsb3oc"]
|
||||
[gd_scene load_steps=8 format=3 uid="uid://ckau5s2tsb3oc"]
|
||||
|
||||
[ext_resource type="Script" path="res://src/game/player_controller.gd" id="1_g4ij8"]
|
||||
[ext_resource type="Texture2D" uid="uid://d1t1g7hyil82v" path="res://assets/spracer.png" id="2_xal47"]
|
||||
[ext_resource type="Texture2D" uid="uid://ceqcsof04vhqs" path="res://assets/light.png" id="3_qosw5"]
|
||||
[ext_resource type="AudioStream" uid="uid://cc4ffx6b0xjvk" path="res://assets/sounds/sfx/engine_loop.wav" id="4_4ajo8"]
|
||||
[ext_resource type="AudioStream" uid="uid://c7laud048l1is" path="res://assets/sounds/sfx/damage.wav" id="5_rvolc"]
|
||||
[ext_resource type="AudioStream" uid="uid://c6dy6nea6vaa4" path="res://assets/sounds/sfx/death_sound.wav" id="6_i0vg5"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_w2nj7"]
|
||||
size = Vector2(36, 20)
|
||||
|
@ -44,3 +46,11 @@ rotation_smoothing_speed = 10.0
|
|||
stream = ExtResource("4_4ajo8")
|
||||
volume_db = -40.467
|
||||
autoplay = true
|
||||
|
||||
[node name="damage_sounds" type="AudioStreamPlayer" parent="."]
|
||||
stream = ExtResource("5_rvolc")
|
||||
volume_db = -25.297
|
||||
|
||||
[node name="death_sound" type="AudioStreamPlayer" parent="."]
|
||||
stream = ExtResource("6_i0vg5")
|
||||
volume_db = -25.297
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue