FloatingText ​
Inherits: Label
A short text that floats up from an entity's nameplate marker and fades out: damage numbers, "Dodge", "Immune", heals. It follows the marker on screen while it rises (the camera may move), independent of the nameplate itself (which can be hidden by the settings). Created by the NameplateManager from the combat results.
Methods ​
void | setup( anchor: Node3D, camera_controller: CameraController, text_to_show: String, color: Color, jitter: Vector2 = Vector2.ZERO ) |
Constants ​
floatDURATION =1.1- How many seconds the text floats before it is gone.floatRISE =48.0- How far it rises, in pixels
Method descriptions ​
void setup( anchor: Node3D, camera_controller: CameraController, text_to_show: String, color: Color, jitter: Vector2 = Vector2.ZERO ) ​
Starts the text over anchor (a Node3D, usually the entity's nameplate marker)