Yahtzee/MainMenu.tscn

68 lines
1.7 KiB
Plaintext
Raw Normal View History

2024-08-19 09:33:32 +02:00
[gd_scene load_steps=2 format=3 uid="uid://bnx03xo45brr1"]
[ext_resource type="Script" path="res://MainMenu.gd" id="1_5nykg"]
[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_5nykg")
[node name="ColorRect" 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.113725, 0.133333, 0.160784, 1)
[node name="Label" type="Label" parent="."]
layout_mode = 2
offset_top = 1.0
offset_right = 1081.0
offset_bottom = 172.0
theme_override_font_sizes/font_size = 125
text = "Kniffel
"
horizontal_alignment = 1
vertical_alignment = 1
[node name="ScrollContainer" type="ScrollContainer" parent="."]
layout_mode = 1
anchors_preset = -1
anchor_top = 0.102
anchor_right = 1.0
anchor_bottom = 0.102
offset_top = -7.84001
offset_bottom = 1255.16
[node name="VBoxContainer" type="VBoxContainer" parent="ScrollContainer"]
custom_minimum_size = Vector2(1080, 1526)
layout_mode = 2
theme_override_constants/separation = 30
[node name="Button" type="Button" parent="ScrollContainer/VBoxContainer"]
custom_minimum_size = Vector2(0, 175)
layout_mode = 2
theme_override_font_sizes/font_size = 120
text = "Add Player"
[node name="Button" type="Button" parent="."]
layout_mode = 1
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -203.0
grow_horizontal = 2
grow_vertical = 0
theme_override_font_sizes/font_size = 100
text = "Play"
[connection signal="pressed" from="ScrollContainer/VBoxContainer/Button" to="." method="_on_button_pressed"]
[connection signal="pressed" from="Button" to="." method="_on_button_play_pressed"]