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,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