-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathTitleScreen.tscn
More file actions
70 lines (57 loc) · 2.56 KB
/
Copy pathTitleScreen.tscn
File metadata and controls
70 lines (57 loc) · 2.56 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
[gd_scene load_steps=4 format=3 uid="uid://dbmyvarbknayw"]
[ext_resource type="Script" uid="uid://cfabk5blxgsbi" path="res://scripts/title_screen.gd" id="1_qyuap"]
[ext_resource type="AudioStream" uid="uid://5ejp6ij0m8as" path="res://sounds/Title_scence_background.mp3" id="2_pkhjh"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_scmep"]
size = Vector2(1920, 20)
[node name="TitleScreen" 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_qyuap")
[node name="CenterContainer" type="CenterContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer"]
custom_minimum_size = Vector2(300, 0)
layout_mode = 2
theme_override_constants/separation = 30
[node name="Title" type="Label" parent="CenterContainer/VBoxContainer"]
layout_mode = 2
theme_override_colors/font_color = Color(0.00392157, 0.2, 0.807843, 1)
theme_override_font_sizes/font_size = 120
text = "LOBO.EXE"
horizontal_alignment = 1
[node name="Control" type="Control" parent="CenterContainer/VBoxContainer"]
custom_minimum_size = Vector2(0, 125)
layout_mode = 2
[node name="Start" type="Button" parent="CenterContainer/VBoxContainer"]
custom_minimum_size = Vector2(200, 50)
layout_mode = 2
text = "Play
"
[node name="Quit" type="Button" parent="CenterContainer/VBoxContainer"]
custom_minimum_size = Vector2(200, 50)
layout_mode = 2
text = "Quit"
[node name="StaticBody2D" type="StaticBody2D" parent="."]
position = Vector2(960, 950)
collision_layer = 7
collision_mask = 7
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
shape = SubResource("RectangleShape2D_scmep")
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource("2_pkhjh")
autoplay = true
[connection signal="mouse_entered" from="CenterContainer/VBoxContainer/Start" to="." method="_on_start_mouse_entered"]
[connection signal="mouse_exited" from="CenterContainer/VBoxContainer/Start" to="." method="_on_start_mouse_exited"]
[connection signal="pressed" from="CenterContainer/VBoxContainer/Start" to="." method="_on_start_pressed"]
[connection signal="mouse_entered" from="CenterContainer/VBoxContainer/Quit" to="." method="_on_quit_mouse_entered"]
[connection signal="mouse_exited" from="CenterContainer/VBoxContainer/Quit" to="." method="_on_quit_mouse_exited"]
[connection signal="pressed" from="CenterContainer/VBoxContainer/Quit" to="." method="_on_quit_pressed"]