Creating user interfaces in the 3D environment

One of the three components of a great game is the user interface, with the others being a challenge and an intuitive concept. Console games come with their own controllers, which now include motion sensors such as in the Wii. Some games have their own controllers, such as the guitar for Guitar Hero. Smart phones beginning with the iPhone introduced the touch screen, leaving only a few simple buttons on the sides and the bottom. With few external buttons, the user interface will reside inside the game—this is an ideal scenario for WebGL.

Prepare for lift off

There are two basic types of user interfaces inside 3D environments: Head-Mounted Display (HMD) and billboarding. HMD is often depicted as glasses ...

Get WebGL HOTSHOT 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.