added version info to menu

This commit is contained in:
Tabby 2025-05-18 10:39:52 +10:00
parent 8de322825c
commit 8d6da7bf7e
2 changed files with 27 additions and 8 deletions

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=4 format=3 uid="uid://0ajx46iu2l51"]
[gd_scene load_steps=5 format=3 uid="uid://0ajx46iu2l51"]
[ext_resource type="Script" uid="uid://bjkqa4cowhacd" path="res://menu/menu.gd" id="1_j0t7f"]
@ -16,6 +16,9 @@ fill_from = Vector2(0.825082, 0.657132)
fill_to = Vector2(0.610561, 0.569124)
repeat = 2
[sub_resource type="LabelSettings" id="LabelSettings_j0t7f"]
font_size = 9
[node name="Menu" type="Control" node_paths=PackedStringArray("menu_container", "credits_container", "exit_button")]
layout_mode = 3
anchors_preset = 15
@ -139,6 +142,22 @@ fit_content = true
layout_mode = 2
text = "Go Back"
[node name="Label" type="Label" parent="."]
layout_mode = 1
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -128.0
offset_top = -23.0
grow_horizontal = 0
grow_vertical = 0
text = "V 1.0.1 (Postjam)"
label_settings = SubResource("LabelSettings_j0t7f")
horizontal_alignment = 2
vertical_alignment = 2
[connection signal="pressed" from="MenuContainer/PanelContainer/MarginContainer/VBoxContainer/IntroButton" to="." method="_on_intro_button_pressed"]
[connection signal="pressed" from="MenuContainer/PanelContainer/MarginContainer/VBoxContainer/SkipButton" to="." method="_on_skip_button_pressed"]
[connection signal="pressed" from="MenuContainer/PanelContainer/MarginContainer/VBoxContainer/CreditsButton" to="." method="_on_credits_button_pressed"]