O'Reilly logo

Game Coding Complete, Fourth Edition by David Graham, Mike McShaffry

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 10USER INTERFACE PROGRAMMING

by Mike McShaffry

image

After exploring input devices in the previous chapter, we’re ready to move a little deeper and see what happens when the raw input messages are passed from the application layer to your game.

Games usually have a small set of user interface components, and they are almost always custom coded. Games don’t use the operating system’s native user interface API, like Windows GDI, to create their menus, dialogs, or radar screens. These special controls are almost always home grown. Sure, the number of controls you can attach to dialog boxes and screens is overwhelming, but most games don’t need ...

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