1
Fork 0
mirror of https://github.com/Steffo99/hella-farm.git synced 2024-11-22 08:04:23 +00:00
hella-farm/scenes/interface/main_menu.tscn
2024-04-13 17:58:14 +02:00

79 lines
2.4 KiB
Text

[gd_scene load_steps=3 format=3 uid="uid://3yqvhxeq03rk"]
[ext_resource type="Script" path="res://scenes/interface/main_menu.gd" id="1_jkswn"]
[ext_resource type="PackedScene" uid="uid://bc2bm8lbol18w" path="res://entities/sheep.tscn" id="2_vjm0p"]
[node name="MainMenu" 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_jkswn")
[node name="Panel" type="Panel" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="Layout" type="VBoxContainer" parent="Panel"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
alignment = 1
[node name="Title" type="MarginContainer" parent="Panel/Layout"]
layout_mode = 2
theme_override_constants/margin_left = 16
theme_override_constants/margin_top = 16
theme_override_constants/margin_right = 16
theme_override_constants/margin_bottom = 16
[node name="Label" type="RichTextLabel" parent="Panel/Layout/Title"]
layout_mode = 2
size_flags_vertical = 6
bbcode_enabled = true
text = "[center][font_size=144px]Garasauto[/font_size]
[font_size=64px]Il casello del destino[/font_size]
[font_size=32px]Un gioco del Garasautomobileclub Italia[/font_size][/center]"
fit_content = true
[node name="Buttons" type="MarginContainer" parent="Panel/Layout"]
layout_mode = 2
theme_override_constants/margin_left = 16
theme_override_constants/margin_top = 16
theme_override_constants/margin_right = 16
theme_override_constants/margin_bottom = 16
[node name="Layout" type="HBoxContainer" parent="Panel/Layout/Buttons"]
layout_mode = 2
alignment = 1
[node name="Play" type="Button" parent="Panel/Layout/Buttons/Layout"]
custom_minimum_size = Vector2(200, 0)
layout_mode = 2
theme_override_font_sizes/font_size = 36
text = "Play"
[node name="Options" type="Button" parent="Panel/Layout/Buttons/Layout"]
custom_minimum_size = Vector2(200, 0)
layout_mode = 2
theme_override_font_sizes/font_size = 36
text = "Options"
[node name="Sheep" parent="." instance=ExtResource("2_vjm0p")]
position = Vector2(413, 181)
[node name="Sheep2" parent="." instance=ExtResource("2_vjm0p")]
position = Vector2(950, 662)
[connection signal="pressed" from="Panel/Layout/Buttons/Layout/Play" to="." method="_on_play_pressed"]
[connection signal="pressed" from="Panel/Layout/Buttons/Layout/Options" to="." method="_on_options_pressed"]