Implement achievement system: add achievement controller, UI components, and tests

This commit is contained in:
Kirill
2026-10-18 20:14:27 +03:00
parent e41d652631
commit e1782c7b10
8 changed files with 358 additions and 10 deletions
+10 -3
View File
@@ -11,15 +11,17 @@
[ext_resource type="Texture2D" uid="uid://bmp7e6lmtaex0" path="res://ui/achievements/icons/10g.png" id="9_3xyrb"]
[node name="AchievementItem" type="Control" unique_id=1273881744]
custom_minimum_size = Vector2(1080, 128)
custom_minimum_size = Vector2(0, 128)
layout_mode = 3
anchors_preset = 0
size_flags_horizontal = 3
script = ExtResource("1_w8f20")
[node name="Row" type="HBoxContainer" parent="." unique_id=2025386077]
layout_mode = 0
offset_right = 1080.0
offset_bottom = 128.0
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
[node name="Icon1c" type="TextureRect" parent="Row" unique_id=2146478339]
visible = false
@@ -72,3 +74,8 @@ texture = ExtResource("9_3xyrb")
[node name="Label" type="RichTextLabel" parent="Row" unique_id=230945261]
layout_mode = 2
size_flags_horizontal = 3
bbcode_enabled = true
fit_content = true
scroll_active = false
theme_override_font_sizes/normal_font_size = 30
theme_override_font_sizes/bold_font_size = 30