Making a splash
A splash menu adds a touch of class to your game and also does a little bragging. Typically, the splash screen shows off your company logo. In fact, many game projects have multiple studios that work on them, so there are often multiple splash screens. We will use just one!
It is important to get the splash screen up and running as soon as possible, so we will do that before we perform any other loading. Part of the function of a splash screen is to give the player something pretty to look at while the rest of the game is loading.
Creating the splash screen
It's up to you to create a splash screen that defines your game. For convenience, we have included one in the code resource package for this chapter called splash.png
. Make sure ...
Get OpenGL Game Development By Example 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.