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

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!

主站蜘蛛池模板: 华亭县| 阿拉善左旗| 瓦房店市| 张掖市| 灌南县| 化州市| 新安县| 沅江市| 治县。| 龙山县| 浦东新区| 闽侯县| 虹口区| 商丘市| 荆州市| 昭觉县| 铜鼓县| 庆城县| 徐州市| 进贤县| 兰西县| 万宁市| 遂昌县| 芒康县| 连州市| 如皋市| 泗洪县| 大化| 龙岩市| 云安县| 上思县| 安康市| 永吉县| 开阳县| 四平市| 江阴市| 平阴县| 错那县| 台中市| 内江市| 连州市|