Text opacity
Travis Peterson

Well howdy

First post here.. looked all over how to adjust alpha channel on al_draw_text/al_draw_textf to make text fade to fully transparent.. Wondering if anyone knows how to adjust alpha on ALLEGRO_FONT

Preciate it

Edit::didnt mean to post twice mah b

Eric Johnson

Just decrease the alpha value in al_map_rgba over time to fade to fully transparent when drawing with al_draw_text.

Elias

Or maybe even al_premul_rgba if you want to fade colored text.

Travis Peterson

Got it working using the al_map_rgba method appreciate the help everyone

Thread #617106. Printed from Allegro.cc