bordello/Scenes/main_menu.tscn

77 lines
2.0 KiB
Plaintext

[gd_scene load_steps=2 format=3 uid="uid://cohkyvbxr2gnh"]
[ext_resource type="Script" path="res://Scripts/main_menu.gd" id="1_cg0id"]
[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_cg0id")
[node name="Title" type="Label" parent="."]
layout_mode = 0
offset_left = 79.0
offset_top = 31.0
offset_right = 603.0
offset_bottom = 159.0
theme_override_font_sizes/font_size = 91
text = "Lexi's Game"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Play Game" type="Button" parent="."]
layout_mode = 0
offset_left = 31.0
offset_top = 215.0
offset_right = 281.0
offset_bottom = 273.0
theme_override_font_sizes/font_size = 36
text = "Play"
[node name="Worker Deck" type="Button" parent="."]
visible = false
layout_mode = 0
offset_left = 874.0
offset_top = 261.0
offset_right = 1124.0
offset_bottom = 319.0
theme_override_font_sizes/font_size = 36
text = "worker editor"
[node name="Task Deck" type="Button" parent="."]
visible = false
layout_mode = 0
offset_left = 874.0
offset_top = 332.0
offset_right = 1124.0
offset_bottom = 390.0
theme_override_font_sizes/font_size = 36
text = "client editor"
[node name="CheckButton" type="CheckButton" parent="."]
layout_mode = 0
offset_left = 1054.0
offset_top = 221.0
offset_right = 1098.0
offset_bottom = 245.0
scale = Vector2(1.5, 1.5)
[node name="Label" type="Label" parent="."]
layout_mode = 0
offset_left = 895.0
offset_top = 219.0
offset_right = 1055.0
offset_bottom = 253.0
theme_override_font_sizes/font_size = 22
text = "Show dev tools"
horizontal_alignment = 1
vertical_alignment = 1
[connection signal="pressed" from="Play Game" to="." method="_on_play_game_pressed"]
[connection signal="pressed" from="Worker Deck" to="." method="_on_button_pressed"]
[connection signal="pressed" from="Task Deck" to="." method="_on_button_2_pressed"]
[connection signal="toggled" from="CheckButton" to="." method="_on_check_button_toggled"]