freeftf/menus/main_menu.tscn

81 lines
2.1 KiB
Text
Raw Normal View History

2024-08-31 14:58:41 +02:00
[gd_scene load_steps=3 format=3 uid="uid://csemv5nsltino"]
2024-08-02 20:13:42 +02:00
[ext_resource type="Script" path="res://scripts/main_menu.gd" id="1_hvi3a"]
2024-08-31 14:58:41 +02:00
[ext_resource type="Texture2D" uid="uid://caj5uyx2ejf7w" path="res://assets/textures/GPLv3_Logo.svg" id="2_243a7"]
2024-08-02 20:13:42 +02:00
[node name="main_menu" 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_hvi3a")
[node name="main_content" 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 = -179.0
offset_top = -123.0
offset_right = 179.0
offset_bottom = 123.0
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 4
size_flags_vertical = 4
[node name="Label" type="Label" parent="main_content"]
layout_mode = 2
theme_override_font_sizes/font_size = 96
text = "FreeFTF"
horizontal_alignment = 1
2024-08-02 20:13:42 +02:00
[node name="join" type="Button" parent="main_content"]
layout_mode = 2
size_flags_vertical = 8
theme_override_font_sizes/font_size = 32
text = "Join Lobby"
[node name="settings" type="Button" parent="main_content"]
layout_mode = 2
size_flags_vertical = 8
theme_override_font_sizes/font_size = 32
text = "Settings"
2024-08-02 20:13:42 +02:00
[node name="ver_string" type="VBoxContainer" parent="."]
layout_mode = 1
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -40.0
offset_top = -40.0
grow_horizontal = 0
grow_vertical = 0
[node name="Label" type="Label" parent="ver_string"]
layout_mode = 2
theme_override_font_sizes/font_size = 32
2024-08-24 14:44:33 +02:00
text = "M9 Development"
horizontal_alignment = 2
2024-08-02 20:13:42 +02:00
2024-08-31 14:58:41 +02:00
[node name="Control" type="Control" parent="."]
layout_mode = 1
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
grow_vertical = 0
[node name="GpLv3Logo" type="Sprite2D" parent="Control"]
position = Vector2(96, -48)
scale = Vector2(0.25, 0.25)
texture = ExtResource("2_243a7")
2024-08-02 20:13:42 +02:00
[connection signal="pressed" from="main_content/join" to="." method="_on_join_pressed"]
[connection signal="pressed" from="main_content/settings" to="." method="_on_settings_pressed"]