added and imported music and engine sounds

This commit is contained in:
mtrx 2023-10-01 20:19:18 +02:00
parent a9351e0621
commit b464cb5dd4
7 changed files with 69 additions and 3 deletions

BIN
assets/sounds/music/death by waveshaper.wav (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,24 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://dh5jxxwim7ra8"
path="res://.godot/imported/death by waveshaper.wav-51c938cbbb32e2797b875bc10a7238da.sample"
[deps]
source_file="res://assets/sounds/music/death by waveshaper.wav"
dest_files=["res://.godot/imported/death by waveshaper.wav-51c938cbbb32e2797b875bc10a7238da.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=2
edit/loop_begin=0
edit/loop_end=-1
compress/mode=0

BIN
assets/sounds/sfx/engine_loop.wav (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,24 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://cc4ffx6b0xjvk"
path="res://.godot/imported/engine_loop.wav-259955cdefdf44f318b80661126b8c7f.sample"
[deps]
source_file="res://assets/sounds/sfx/engine_loop.wav"
dest_files=["res://.godot/imported/engine_loop.wav-259955cdefdf44f318b80661126b8c7f.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

View File

@ -16,9 +16,9 @@ dest_files=["res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.cte
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false

View File

@ -1,4 +1,4 @@
[gd_scene load_steps=9 format=3 uid="uid://c77xk0mywwt5f"]
[gd_scene load_steps=10 format=3 uid="uid://c77xk0mywwt5f"]
[ext_resource type="Script" path="res://src/game/level.gd" id="1_hv75i"]
[ext_resource type="PackedScene" uid="uid://ckau5s2tsb3oc" path="res://src/game/player.tscn" id="2_5nf51"]
@ -7,6 +7,7 @@
[ext_resource type="Texture2D" uid="uid://ds0un04pocx6i" path="res://assets/track90.png" id="3_jtw40"]
[ext_resource type="Texture2D" uid="uid://dmcrms0qu0mtt" path="res://assets/finish2.png" id="4_rxurh"]
[ext_resource type="Texture2D" uid="uid://bq151lkkfdlf4" path="res://assets/sign.png" id="7_g24mp"]
[ext_resource type="AudioStream" uid="uid://dh5jxxwim7ra8" path="res://assets/sounds/music/death by waveshaper.wav" id="8_vdrjw"]
[sub_resource type="Curve2D" id="Curve2D_ll8bj"]
_data = {
@ -77,5 +78,10 @@ color = Color(1, 0.0627451, 0.694118, 1)
energy = 20.0
texture = ExtResource("7_g24mp")
[node name="level_music" type="AudioStreamPlayer" parent="."]
stream = ExtResource("8_vdrjw")
volume_db = -29.953
autoplay = true
[connection signal="distance_changed" from="." to="CanvasLayer/hud" method="_on_level_distance_changed"]
[connection signal="speed_changed" from="player" to="CanvasLayer/hud" method="_on_player_speed_changed"]

View File

@ -1,8 +1,9 @@
[gd_scene load_steps=5 format=3 uid="uid://ckau5s2tsb3oc"]
[gd_scene load_steps=6 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"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_w2nj7"]
size = Vector2(36, 20)
@ -38,3 +39,8 @@ rotation = 1.5708
ignore_rotation = false
rotation_smoothing_enabled = true
rotation_smoothing_speed = 10.0
[node name="engine_sounds" type="AudioStreamPlayer" parent="."]
stream = ExtResource("4_4ajo8")
volume_db = -40.467
autoplay = true