Chapter 5. Finishing Up the Support Code

Before you can get into the intricacies of this game, you first need to add some utility functionality to the application. You need to include a high-resolution timer in your application, and it would be a good idea to add some debug output that you can see when running the game.

Also, because the default project configuration is to run in debug mode, more than likely you've only seen your scene being rendered in windowed mode. Because running in full screen might behave slightly differently, it would be wise to run the game in release mode as well.

Finally, you want to display some type of user interface (UI) in the game rather than use the “ugly” graphics device interface (GDI) controls that Windows ...

Get Beginning 3D Game Programming 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.