官术网_书友最值得收藏!

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 bar, the dynamic (changeable) text, the clickable icons, and the flashing helper text—can all be built in the Unity game engine. Skip ahead to Chapter 4, Code Comfort if you're dying to try it!

主站蜘蛛池模板: 丹棱县| 静乐县| 当阳市| 葵青区| 原平市| 兴国县| 武汉市| 黔南| 绥阳县| 韶山市| 桐庐县| 交城县| 西盟| 彭州市| 理塘县| 金门县| 甘孜| 东源县| 印江| 昌乐县| 山阴县| 崇阳县| 当涂县| 民和| 明光市| 南城县| 榕江县| 潞西市| 嘉荫县| 铜梁县| 达日县| 柳林县| 铁力市| 高密市| 乳山市| 泌阳县| 广饶县| 富平县| 洛川县| 铜梁县| 井冈山市|