Of course in any game you want to be able to write text to the display. Agate provides a painless way of loading fonts: The above line of code creates a font object using 12-point Arial. Drawing text to the screen is simple, using the DrawText function
FontSurfaces also have the same Alpha, Color, ScaleWidth, and ScaleHeight properties that Surfaces and Sprites have.
|
|||
|
|
