Hello allegro.cc !!
I would like to draw text from a variable with a simple function in allegro 5 but i can't find anything in the manual.
Could you tell me if there is a substitute or an easy way to emulate the following function from allegro 4.4.2 ?
void textprintf_ex(BITMAP *bmp, const FONT *f, int x, int y, int color, int bg, const char *fmt, ...);
textprintf_ex(screen, font, 10, 10, makecol(255, 100, 200),-1, "Score: %d", player_score);
Also i wonder why this function dit not make it into v5, was it because of it inefficiency ?