O'Reilly logo

GameMaker Cookbook by Brandon Gardiner

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

Making a pause screen

What's worse than having someone interrupt you while you're playing a game you can't pause? That's right, nothing. That's why I'm sure that you'd like to add a game pause feature to the game you're working on. Let's take a look at a simple way to create a great looking pause screen.

Getting ready

We're just going to take a look at the functionality of this feature, so you won't need much for this recipe. Before I began, I created one room and placed several ball objects in it that move in random directions and bounce off the walls. Why did I do this? It's because this feature is best demonstrated with moving objects, not unlike a real game. Oh, and I made them speed up whenever they bump into a wall or each other. This part ...

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