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 isn't important; I just thought it was more fun.
What you'll really need in order to make this work is two objects: obj_control
and obj_pause
. Neither of these objects requires a sprite, as they are both control objects, working in the background.