Chapter 14

Saving and Loading

In This Chapter

arrow Making sense of the file system

arrow Looking at the ins and outs of INI files and text files

arrow Enabling the player to save a game

arrow Loading a saved game

arrow Mapping the gameplay keys and resetting the default

This chapter provides some basic information on how to add some functionality to your games that the player may find useful. This includes game options, such as turning the background music off or on. This type of functionality is performed using file functions within GameMaker and does require that you have some coding skills with the GameMaker Language (GML). With that said, I provide all the code that you need so that you can set up your game with some useful features for the player.

warning.eps This chapter is geared toward creating a game for the Windows target module. However, everything I discuss in this chapter works for all other platforms (with ...

Get GameMaker: Studio For Dummies 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.