Add audio to title screen
Likely going to skip the other audio bits (page 154/135).
This commit is contained in:
parent
0fa1536efb
commit
3551ba846a
|
@ -1,9 +1,10 @@
|
|||
[gd_scene load_steps=8 format=3 uid="uid://bqb0ccbvsye1i"]
|
||||
[gd_scene load_steps=9 format=3 uid="uid://bqb0ccbvsye1i"]
|
||||
|
||||
[ext_resource type="Script" path="res://ui/title.gd" id="1_h6jgx"]
|
||||
[ext_resource type="Texture2D" uid="uid://b3tvlo0v6j4bi" path="res://assets/environment/back.png" id="1_rpjij"]
|
||||
[ext_resource type="Texture2D" uid="uid://d0rqiaxuha1p6" path="res://assets/environment/middle.png" id="2_tfyow"]
|
||||
[ext_resource type="FontFile" uid="uid://cxp0s6ifyv2ue" path="res://assets/Kenney Thick.ttf" id="3_glnlm"]
|
||||
[ext_resource type="AudioStream" uid="uid://cfvn6ne2j8hps" path="res://assets/audio/Intro Theme.ogg" id="5_cpy1d"]
|
||||
|
||||
[sub_resource type="Animation" id="Animation_0aske"]
|
||||
length = 0.001
|
||||
|
@ -100,10 +101,10 @@ anchor_left = 0.5
|
|||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = 216.0
|
||||
offset_top = 282.0
|
||||
offset_right = 936.0
|
||||
offset_bottom = 366.0
|
||||
offset_left = -360.0
|
||||
offset_top = -42.0
|
||||
offset_right = 360.0
|
||||
offset_bottom = 42.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
|
||||
|
@ -135,3 +136,7 @@ autoplay = "intro"
|
|||
libraries = {
|
||||
"": SubResource("AnimationLibrary_7l1v6")
|
||||
}
|
||||
|
||||
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
||||
stream = ExtResource("5_cpy1d")
|
||||
autoplay = true
|
||||
|
|
Loading…
Reference in New Issue