Initial setup w. basic scene(s)
This commit is contained in:
36
evolve-die-repeat/main_menu.tscn
Normal file
36
evolve-die-repeat/main_menu.tscn
Normal file
@@ -0,0 +1,36 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://drgv154ei1vrl"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dxc66bci2ivrj" path="res://main_menu.gd" id="1_06t4h"]
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_rhts7"]
|
||||
font_size = 64
|
||||
|
||||
[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_06t4h")
|
||||
|
||||
[node name="PlayButton" type="Button" parent="."]
|
||||
layout_mode = 0
|
||||
offset_left = 448.0
|
||||
offset_top = 256.0
|
||||
offset_right = 768.0
|
||||
offset_bottom = 314.0
|
||||
text = "Play"
|
||||
|
||||
[node name="MainMenuText" type="Label" parent="."]
|
||||
layout_mode = 0
|
||||
offset_left = 320.0
|
||||
offset_top = 32.0
|
||||
offset_right = 904.0
|
||||
offset_bottom = 151.0
|
||||
text = "The Main Menu"
|
||||
label_settings = SubResource("LabelSettings_rhts7")
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[connection signal="pressed" from="PlayButton" to="." method="_on_play_button_pressed"]
|
||||
Reference in New Issue
Block a user