This commit is contained in:
Rendo 2025-07-12 07:32:31 +05:00
commit 50bbdd9363
18 changed files with 142 additions and 88 deletions

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=16 format=3 uid="uid://bfstrli64u23y"]
[gd_scene load_steps=17 format=3 uid="uid://bfstrli64u23y"]
[ext_resource type="Texture2D" uid="uid://dvldjlg0nr355" path="res://assets/sprites/atlases/atlas1.png" id="1_jk1qb"]
[ext_resource type="Script" uid="uid://drru785m4eep" path="res://scripts/gui/main_menu_rich_text.gd" id="2_5dd4i"]
@ -34,6 +34,16 @@ texture_margin_top = 6.0
texture_margin_right = 6.0
texture_margin_bottom = 6.0
[sub_resource type="GDScript" id="GDScript_flqon"]
resource_name = "version_label"
script/source = "extends Label
func _ready() -> void:
text = ProjectSettings.get_setting(\"application/config/version\")
"
[node name="MainMenu" type="Control"]
process_mode = 3
layout_mode = 3
@ -178,6 +188,21 @@ bus = &"MusicBus"
visible = false
layout_mode = 1
[node name="VersionLabel" type="Label" parent="."]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.823
anchor_top = 0.957
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 0.199982
offset_top = 0.199982
grow_horizontal = 0
grow_vertical = 0
horizontal_alignment = 2
vertical_alignment = 1
script = SubResource("GDScript_flqon")
[connection signal="meta_clicked" from="PrototypeWindow/ScrollContainer/PrototypeNotification" to="PrototypeWindow/ScrollContainer/PrototypeNotification" method="_on_meta_clicked"]
[connection signal="pressed" from="Buttons/GameButtons/PlayButton" to="Buttons" method="_on_play_button_pressed"]
[connection signal="pressed" from="Buttons/GameButtons/ExitButton" to="Buttons" method="_on_exit_button_pressed"]