ABSTRACT

By default, “Jem Matcher” will be played on an 8 × 8 grid, with six different types of gems that will disappear whenever sequences of at least three gems of the same type are aligned next to each other, either horizontally or vertically. The game allows combos by shifting down remaining gems where underlying ones have been destroyed and filling up the resulting empty spaces with new random gems. This chapter discusses the graphics for match-3 game and the properties for imported graphical assets. It explains how to define the Gem objects and tag them with a “Tile” identifier. The chapter describes initialization of grid manager and swapping of gems within the rows and columns of the grid.