Creating game settings
I've noticed with modern games that I don't always like the default settings in terms of sound, visuals, controls, or even difficulty. I always go through the options menu to adjust everything and I know I'm not alone. It is because of this desire to customize your play experience that game developers add these options to the games they create. Now, this can be something as simple as controlling the music volume or as complicated as setting custom control macros, but I find how I play to be important. Let's take a look at how we can create a simple settings menu with audio options.
Getting ready
For this recipe, you can continue with the game from the previous chapter, or you can start with a new one. Either way, you'll need three rooms: rm_splash
, rm_title
, and rm_settings
, in this particular order. As before, set rm_splash
to move on to rm_title
after a few seconds or once you hit the Spacebar. Your title screen should have a Settings button (obj_btn_settings
) that...