Add FloatingTextManager and FloatingText for displaying UI messages; update CollectableComponent and HealthComponent to utilize new floating text features

This commit is contained in:
2025-09-11 04:35:30 +02:00
parent f9cb59d182
commit f229ff5b7d
16 changed files with 131 additions and 139 deletions

View File

@@ -1,15 +0,0 @@
[gd_scene load_steps=2 format=3 uid="uid://c7mp0o2goauyy"]
[ext_resource type="Script" uid="uid://bbupymh6krrgx" path="res://scripts/UI/DamageNumber.cs" id="1_yv42p"]
[node name="DamageNumber" type="Label"]
offset_right = 40.0
offset_bottom = 8.0
theme_override_constants/outline_size = 1
theme_override_constants/shadow_outline_size = 3
theme_override_font_sizes/font_size = 8
text = "23"
horizontal_alignment = 1
vertical_alignment = 1
script = ExtResource("1_yv42p")
metadata/_custom_type_script = "uid://bbupymh6krrgx"