I don't know how they do it but the general way is to make a box bigger than your fontstring, then position your font string within it in a loop with different coordinate values at increments that match the timing and speed you want.
BigWigs (Messages.lua) might be a good example of how to use animations.
I think the code for what they do is in ArtifactToast.lua, if you unpack the blizzard code.
Last edited by VincentSDSH : 10-01-16 at 10:32 PM.
|