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

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"]