-
Notifications
You must be signed in to change notification settings - Fork 0
/
title.tscn
48 lines (41 loc) · 1.24 KB
/
title.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
36
37
38
39
40
41
42
43
44
45
46
47
48
[gd_scene load_steps=2 format=3 uid="uid://c3yf2vv845078"]
[ext_resource type="Script" path="res://multiplayer/title.gd" id="1_q0q5u"]
[node name="title" 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_q0q5u")
[node name="bg" type="ColorRect" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0.154876, 0.154876, 0.154876, 1)
[node name="buttons" type="VBoxContainer" parent="."]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -149.0
offset_top = -82.0
offset_right = 149.0
offset_bottom = 82.0
grow_horizontal = 2
grow_vertical = 2
[node name="singleplayer" type="Button" parent="buttons"]
custom_minimum_size = Vector2(0, 80)
layout_mode = 2
text = "Singleplayer"
[node name="multiplayer" type="Button" parent="buttons"]
custom_minimum_size = Vector2(0, 80)
layout_mode = 2
text = "Multiplayer"
[connection signal="pressed" from="buttons/singleplayer" to="." method="_on_singleplayer_pressed"]
[connection signal="pressed" from="buttons/multiplayer" to="." method="_on_multiplayer_pressed"]