-
Notifications
You must be signed in to change notification settings - Fork 0
/
TitleScreen.tscn
35 lines (29 loc) · 1.05 KB
/
TitleScreen.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[gd_scene load_steps=4 format=3 uid="uid://c228exutmk5t4"]
[ext_resource type="Texture2D" uid="uid://bgms547oujdy2" path="res://resources/titlescreen.png" id="1_024pu"]
[ext_resource type="Script" path="res://TitleScreen.gd" id="1_xw5tc"]
[ext_resource type="AudioStream" uid="uid://cy2ucghg7id3g" path="res://resources/piano_solo.mp3" id="3_tokww"]
[node name="Control" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_xw5tc")
[node name="TextureRect" type="TextureRect" parent="."]
layout_mode = 0
offset_right = 1151.0
offset_bottom = 647.0
texture = ExtResource("1_024pu")
[node name="Button" type="Button" parent="TextureRect"]
layout_mode = 0
offset_left = 525.0
offset_top = 431.0
offset_right = 571.0
offset_bottom = 462.0
text = "Start"
flat = true
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource("3_tokww")
autoplay = true
[connection signal="pressed" from="TextureRect/Button" to="." method="_on_button_pressed"]