Godsim/scenes/UI/main_menu.tscn

60 lines
1.3 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=2 format=3 uid="uid://byrk15nhm7h45"]
[ext_resource type="Script" path="res://scripts/menu_button.gd" id="1_48nxl"]
[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
[node name="new_world_button" type="Button" 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 = -47.0
offset_top = -73.0
offset_right = 45.0
offset_bottom = -42.0
grow_horizontal = 2
grow_vertical = 2
text = "New world"
script = ExtResource("1_48nxl")
[node name="load_world_button" type="Button" 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 = -47.5
offset_top = -15.5
offset_right = 47.5
offset_bottom = 15.5
grow_horizontal = 2
grow_vertical = 2
text = "Load world"
script = ExtResource("1_48nxl")
[node name="quit_button" type="Button" 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 = -23.0
offset_top = 55.0
offset_right = 19.0
offset_bottom = 86.0
grow_horizontal = 2
grow_vertical = 2
text = "Quit"
script = ExtResource("1_48nxl")