small racing game im working on
Diffstat (limited to 'start.tscn')
| -rw-r--r-- | start.tscn | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -1,4 +1,4 @@ -[gd_scene load_steps=9 format=3 uid="uid://bvfqaoqjsxj73"] +[gd_scene load_steps=10 format=3 uid="uid://bvfqaoqjsxj73"] [ext_resource type="Theme" uid="uid://cru1d7n2ftrfm" path="res://ui/theme.tres" id="1_gm0ws"] [ext_resource type="Script" path="res://ui/tracks.gd" id="2_po2ce"] @@ -8,6 +8,7 @@ [ext_resource type="Resource" path="res://tracks/the fallen tramps.tres" id="5_qwie6"] [ext_resource type="PackedScene" uid="uid://demunxvqkmtwa" path="res://scenes/ghost_watcher.tscn" id="7_6ph7w"] [ext_resource type="PackedScene" uid="uid://dfvtugujgcjcw" path="res://ui/track_button.tscn" id="7_pchkj"] +[ext_resource type="AudioStream" uid="uid://bwiyphl31lwu6" path="res://assets/sounds/music.ogg" id="9_ma7kx"] [node name="start" type="Control"] layout_mode = 3 @@ -46,3 +47,8 @@ tracks = Array[Resource("res://classes/track.gd")]([ExtResource("3_0yjp1"), ExtR race = ExtResource("5_m5kci") ghost_watch = ExtResource("7_6ph7w") trackbutton = ExtResource("7_pchkj") + +[node name="music" type="AudioStreamPlayer" parent="."] +stream = ExtResource("9_ma7kx") +autoplay = true +bus = &"music" |