freettrpg/scenes/menu/main.tscn

33 lines
830 B
Text
Raw Normal View History

2024-06-13 13:29:05 +02:00
[gd_scene load_steps=2 format=3 uid="uid://0eb22uw5jthn"]
[ext_resource type="Script" path="res://scripts/menu.gd" id="1_xc6y7"]
2024-06-14 09:42:54 +02:00
[node name="main_menu" type="Control"]
2024-06-13 13:29:05 +02:00
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
2024-06-14 09:42:54 +02:00
script = ExtResource("1_xc6y7")
2024-06-13 13:29:05 +02:00
[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"
2024-06-14 09:42:54 +02:00
[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"]