Here is the problem. I want to create floating damage text. When target takes damage, around it there will be floating numbers indicating the damage done by causer (player).
So far I using Slate I got it the point, where the Widget is attached at more or less right place, and show damage. But there are number of issues with my current implementation, which I’m trying to solve:
- I want text to automatically disappear after set amount of time, so it can make space for incoming numbers.
- When radial damage is applied, only last damaged target have displayed text.
Should I pack damage into single widget (which will do nothing expect display text and maybe animate it), and spawn new widget every time target takes damage, and then destroy it after set amount of time ?
If so, how do I spawn new widget at runtime ?