teststrecke-game/scenes/enginesound.tscn
2024-11-10 17:18:11 +01:00

13 lines
430 B
Text

[gd_scene load_steps=3 format=3 uid="uid://dl7r8s5sxyvlw"]
[ext_resource type="Script" path="res://scripts/enginesound.gd" id="1_1xhsl"]
[sub_resource type="AudioStreamGenerator" id="AudioStreamGenerator_kj4va"]
buffer_length = 0.05
[node name="Enginesound" type="Node"]
script = ExtResource("1_1xhsl")
[node name="Player" type="AudioStreamPlayer" parent="."]
stream = SubResource("AudioStreamGenerator_kj4va")
bus = &"Motor"