Example damage label
This commit is contained in:
16
battle/ui/DamageLabel.tscn
Normal file
16
battle/ui/DamageLabel.tscn
Normal 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
|
||||
Reference in New Issue
Block a user