Chapter 4. HUD and Text Display
In this chapter, we will learn about text output. We will look deeper into how fonts are created and stored and analyze the possible problems of AndEngine's way of displaying text characters. We will also learn how to create multilingual games and how to localize them.
We will see how to put text on a screen utilizing a heads-up display (HUD) in order to display the score of the game. Alternative ways of displaying text messages will also be discussed.
Finally, we will cover the basics of Android and AndEngine logging and debugging output.
Fonts and text
A font is a file that defines the characters and sometimes special glyphs and symbols that can be printed on the screen. Fonts are typically defined as vectors. Because ...
Get Learning AndEngine now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.