freettrpg/scenes/menu/main.tscn

50 lines
1.2 KiB
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_right = 96.0
2024-06-13 13:29:05 +02:00
offset_bottom = 32.0
scale = Vector2(4, 4)
text = "Play"
2024-06-13 13:29:05 +02:00
2024-06-14 09:42:54 +02:00
[node name="Button2" type="Button" parent="."]
layout_mode = 0
offset_top = 184.0
offset_right = 96.0
offset_bottom = 216.0
scale = Vector2(4, 4)
text = "View
"
[node name="Button3" type="Button" parent="."]
layout_mode = 0
offset_top = 368.0
offset_right = 96.0
offset_bottom = 400.0
scale = Vector2(4, 4)
text = "Creator"
[node name="Label" type="Label" parent="."]
layout_mode = 0
offset_left = 488.0
offset_top = 432.0
offset_right = 592.0
offset_bottom = 455.0
scale = Vector2(3, 3)
text = "Version: 0.0.2"
2024-06-14 09:42:54 +02:00
[connection signal="pressed" from="Button" to="." method="_on_button_pressed"]
[connection signal="pressed" from="Button2" to="." method="_on_button_2_pressed"]
[connection signal="pressed" from="Button3" to="." method="_on_button_3_pressed"]