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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.