Friday, April 6, 2018

Allegro Fonts

In your blog, describe the steps you used to write words of different font types in your game window.


  1. download your fonts
  2. put both fonts file in the program file 
  3. set up the font allegro code(create a game window, type in the add ons, al_load, render section, clear to color, al_draws, flip display, al_rest, and al_destroy_display.
  4. type ALLEGRO_FONT *font = al_load_ttf_font("font.ttf", 20, 0); two times.

No comments:

Post a Comment