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

Setting up asynchronous play for a turn-based game

I have a confession to make: Some of my favorite games are turn-based. That's right, I said it. I love games such as XCOM and Heroes of Might and Magic. When I was 13, I would unknowingly spend my entire day playing Sid Meier's Civilization II. I would go to the computer room (where there were no windows) in the morning and not come out until dark. I would mostly play against the game's AI but with faster Internet speeds and a greater focus on social gaming, I can enjoy these games with anyone, anywhere. Let's take a look at how to create a 2 two-player turn-based minesweeper game using GameMaker.

Getting ready

This recipe requires only one project file, though you'll need to run it twice in order ...

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