O'Reilly logo

GameMaker Game Programming with GML by Matthew DeLucas

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

Chapter 2. Random Organization – Creating a Puzzle Game

Now that the basics of GML scripting have been explained, it's time to reinforce those lessons and start developing a game! The game that will be created in this chapter and elaborated upon in a few of the following ones is a puzzle game. The puzzle genre is one comprised of many different types of games; the one that will be focused on is a simple, match-three puzzle game.

Most match-three puzzle games involve a grid of pieces; these pieces are usually differentiated based on some visual indicators, such as color, shape, and so on. Upon swapping two pieces, if either piece completes a row or column of three or more matching pieces, the matching sets are removed and any pieces above fall into ...

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