85 lines
2.6 KiB
Text
85 lines
2.6 KiB
Text
[gd_scene load_steps=5 format=3 uid="uid://cy8e1vaygbu1j"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://cb2fx5lgc7utw" path="res://GraphicalAssets/UIElements/interfacepack32Atlas.tres" id="1_7clig"]
|
|
[ext_resource type="Script" path="res://Scripts/UI/Main_Menu.gd" id="1_odwte"]
|
|
[ext_resource type="Texture2D" uid="uid://bu6nkh5h71ili" path="res://GraphicalAssets/UIElements/RedButton32Pressed.tres" id="2_omk5v"]
|
|
|
|
[sub_resource type="LabelSettings" id="LabelSettings_ml5te"]
|
|
font_size = 19
|
|
|
|
[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_odwte")
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = -1
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = 100.0
|
|
offset_top = 100.0
|
|
offset_right = -100.0
|
|
offset_bottom = -100.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="Control" type="Control" parent="MarginContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="BoxContainer" type="BoxContainer" parent="MarginContainer/Control"]
|
|
layout_mode = 1
|
|
anchors_preset = -1
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
scale = Vector2(2, 2)
|
|
alignment = 1
|
|
|
|
[node name="BoxContainer" type="BoxContainer" parent="MarginContainer/Control/BoxContainer"]
|
|
layout_mode = 2
|
|
vertical = true
|
|
|
|
[node name="TextureButton" type="TextureButton" parent="MarginContainer/Control/BoxContainer/BoxContainer"]
|
|
texture_filter = 1
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
size_flags_vertical = 4
|
|
texture_normal = ExtResource("1_7clig")
|
|
texture_pressed = ExtResource("2_omk5v")
|
|
|
|
[node name="Label" type="Label" parent="MarginContainer/Control/BoxContainer/BoxContainer/TextureButton"]
|
|
texture_filter = 1
|
|
layout_mode = 1
|
|
anchors_preset = -1
|
|
anchor_left = 0.049
|
|
anchor_top = 0.176
|
|
anchor_right = 0.951
|
|
anchor_bottom = 0.681
|
|
offset_left = 1.0
|
|
offset_top = 10.0
|
|
offset_right = 81.0
|
|
offset_bottom = 5.208
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
scale = Vector2(0.5, 0.5)
|
|
text = "Play"
|
|
label_settings = SubResource("LabelSettings_ml5te")
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 2
|
|
|
|
[node name="TextureButton2" type="TextureButton" parent="MarginContainer/Control/BoxContainer/BoxContainer"]
|
|
texture_filter = 1
|
|
layout_mode = 2
|
|
texture_normal = ExtResource("1_7clig")
|
|
texture_pressed = ExtResource("2_omk5v")
|
|
|
|
[node name="TextureButton3" type="TextureButton" parent="MarginContainer/Control/BoxContainer/BoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[connection signal="pressed" from="MarginContainer/Control/BoxContainer/BoxContainer/TextureButton" to="." method="_on_play_button_pressed"]
|