Heads up!

Pay close attention to a game's Head-up display (HUD). Video game HUDs contain graphical elements that usually don't make sense within the context of the game world, but they provide vital information to the player. A great example is the heart health meter in any Zelda game, or the energy bar in any fighting game. The Motherload HUD includes draining Fuel and Hull bars. It displays dynamic money and depth tallies. Three clickable elements lead the player to the Inventory, Options, and Instructions screens. Finally, a piece of text lets the player know that there are more shops to be found past the borders of the viewable game area.

Unity has great features for building game HUDs. Every HUD item type that you see in Motherload—the graphical ...

Get Unity 4.x Game Development by Example Beginner's Guide 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.