O'Reilly logo

3D Game Programming All in One, Third Edition by Kenneth C. Finney

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 10CREATING GUI ELEMENTS

As you’ve seen by now, there is more to a 3D game than just the imaginary world into which the player plunks his avatar. There is the real need to provide the player with some method to make selections and otherwise control the game activities. Generally, we provide a Graphical User Interface (GUI) to the player to interact with the program. The menu we employed at the start-up of the program, where the player clicks buttons to launch the game, change the setup, or quit; the dialog box that shows the client’s loading progress; the dialog box that asks if the player really wants to quit—these screens are all examples of GUIs.

If you take a look at Figure 10.1, you can see a sample of the variety of elements found ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required