fading text

Monkey Forums/Monkey Beginners/fading text

tiresius(Posted 2014) [#1]
Hello all,
Is there an easy way to create fading text animation with the text commands? I'm using fontmachine at the moment...


Paul - Taiphoz(Posted 2014) [#2]
Just change the alpha value over time.

Psudo code.
SetAlpha(FadeValue) '0-1
DrawText()
SetAlpha(1)



Paul - Taiphoz(Posted 2014) [#3]



tiresius(Posted 2014) [#4]
Goodness I didn't think it was that simple I was looking for arguments in the font stuff.

Thanks !


Paul - Taiphoz(Posted 2014) [#5]
It's something Ziggy could probably easily add to the FontMachine module you should suggest it to him.


ziggy(Posted 2014) [#6]
The BlitzMax version of the FontMachine module has sort of per-layer and per-character render actions that can be plugged in into a font to deform the drawing, add fadings, etc. I may add this to FontMachine too, as it is quite easy to do.