forked from interstellar_development/freettrpg
32 lines
830 B
Text
32 lines
830 B
Text
[gd_scene load_steps=2 format=3 uid="uid://0eb22uw5jthn"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/menu.gd" id="1_xc6y7"]
|
|
|
|
[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_xc6y7")
|
|
|
|
[node name="Button" type="Button" parent="."]
|
|
layout_mode = 0
|
|
offset_left = 3.05176e-05
|
|
offset_top = 1.52588e-05
|
|
offset_right = 90.0
|
|
offset_bottom = 32.0
|
|
scale = Vector2(5, 5)
|
|
text = "Test"
|
|
|
|
[node name="Button2" type="Button" parent="."]
|
|
layout_mode = 0
|
|
offset_top = 192.0
|
|
offset_right = 90.0
|
|
offset_bottom = 224.0
|
|
scale = Vector2(5, 5)
|
|
text = "Test2"
|
|
|
|
[connection signal="pressed" from="Button" to="." method="_on_button_pressed"]
|
|
[connection signal="pressed" from="Button2" to="." method="_on_button_2_pressed"]
|