© Ben Tyers 2018
Ben TyersPractical GameMaker Projectshttps://doi.org/10.1007/978-1-4842-3745-8_9

9. Match 3

Ben Tyers1 
Worthing, West Sussex, UK

The little game you’ll make in this chapter is a basic remake of the classic Match 3 game. The aim of the game is to match three or more of the same sweet, which is done by swapping over adjacent sweets.

This game makes use of just six sprites, so go ahead and load them in now:
  • spr_block (which is a strip of seven images, 32 x 32)

  • spr_border

  • spr_make_move

  • spr_please_wait

  • spr_star

  • bg_1

The origin of all of the sprites is middle center, except for bg_1, which has a default setting of top left.

There are two sounds, snd_match and snd_no_match, which can be added now.

There are three scripts. The first ...

Get Practical GameMaker Projects: Build Games with GameMaker Studio 2 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.