Example damage label

This commit is contained in:
2026-01-11 20:08:44 -06:00
parent 561ab5a983
commit 7defac68c4
11 changed files with 109 additions and 25 deletions

View File

@@ -0,0 +1,16 @@
[gd_scene load_steps=2 format=3 uid="uid://baxswkivvo5rs"]
[ext_resource type="Script" uid="uid://b86wqbqmsrv5b" path="res://battle/ui/DamageLabel.gd" id="1_6dg8x"]
[node name="DamageLabel" type="Label3D" node_paths=PackedStringArray("timer")]
billboard = 1
render_priority = 1
outline_modulate = Color(1, 0, 0, 1)
text = "-%%%%%"
script = ExtResource("1_6dg8x")
timer = NodePath("Timer")
metadata/_custom_type_script = "uid://b86wqbqmsrv5b"
[node name="Timer" type="Timer" parent="."]
one_shot = true
autostart = true