Add more info to the info footer in the settings menu

This commit is contained in:
ChaoticByte 2025-08-06 10:34:41 +02:00
parent 27dab9775d
commit bcf32310ec
No known key found for this signature in database
3 changed files with 17 additions and 7 deletions

View file

@ -1,9 +1,10 @@
[gd_scene load_steps=10 format=3 uid="uid://dq3jysvuu7ix"]
[gd_scene load_steps=11 format=3 uid="uid://dq3jysvuu7ix"]
[ext_resource type="Shader" uid="uid://da36ryj6twm16" path="res://src/shaders/panel.gdshader" id="1_cr101"]
[ext_resource type="Script" uid="uid://dj4i6sfufsa0t" path="res://src/ui/settings_menu.gd" id="2_labj1"]
[ext_resource type="Theme" uid="uid://06umghrsjedx" path="res://resources/main_theme_overrides.tres" id="2_lwwgp"]
[ext_resource type="Texture2D" uid="uid://cbv7fmq2x6ucf" path="res://assets/icons/CloseIcon.png" id="2_wswnh"]
[ext_resource type="Script" uid="uid://ctgq6winpr3kw" path="res://src/ui/info_footer.gd" id="5_lwwgp"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_choun"]
shader = ExtResource("1_cr101")
@ -17,6 +18,7 @@ texture = SubResource("PlaceholderTexture2D_85g3d")
font_size = 24
[sub_resource type="LabelSettings" id="LabelSettings_lwwgp"]
font_size = 14
font_color = Color(1, 1, 1, 0.768627)
[node name="SettingsMenu" type="Panel"]
@ -60,23 +62,26 @@ offset_right = 92.0
offset_bottom = 96.0
text = "Reset XP"
[node name="by" type="Label" parent="."]
[node name="Info Footer" 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 = -168.0
offset_left = -240.0
offset_top = -24.0
offset_right = -10.0
offset_bottom = -8.10001
offset_right = -16.0
offset_bottom = -8.0
grow_horizontal = 0
grow_vertical = 0
text = "a game by ChaoticByte"
text = "asdsadsa"
label_settings = SubResource("LabelSettings_lwwgp")
horizontal_alignment = 2
horizontal_alignment = 1
vertical_alignment = 2
clip_text = true
text_overrun_behavior = 3
script = ExtResource("5_lwwgp")
[connection signal="pressed" from="CloseSettingsButton" to="." method="_on_close_settings_button_pressed"]
[connection signal="pressed" from="ResetXPButton" to="." method="_on_reset_xp_button_pressed"]