 |

 How to write colored words in messages?
The HudDrawText() function, used to display the texts in all dialog messages,
supports a series of special commands. Check them all in this function reference, from the DizzyAGE book.
Here is an example of displaying a part of a text, with a different color:
 How to paint graphic tiles in messages?
As in the previous article, you must use the special commands supported by the HudDrawText() function.
See them in the function reference chapters.
Here is an example on how to display a tile inside a message:
The numbers following the {t} command are the tile's id and the position,
relative to the top left corner of the text area.
 How to make my own font?
The font used to draw text messages is represented by a tile.
This font tile is given as parameter (it's id) to the HudDrawText() function.
By default, it uses the 4 font.tga tile, found in the tiles\menu folder.
So, to use a different font, just edit this tile as you like.
You must keep the order and the cell size of characters (8x8 pixels).
You can have different characters for upper and lower case if you need
and you can even have small symbols on some special characters.
|
 |