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

Edgar Reynaldo

It should be as simple as drawing with al_map_rgba, passing that as the ALLEGRO_COLOR parameter into whatever text drawing you use, such as al_draw_text or al_draw_textf.

Travis Peterson

al_map_rgba works perfect appreciate the help

Thread #617107. Printed from Allegro.cc