This week in Active Premium, we'll show you how to complete your Bejeweled-style Match 3 game, adding a title screen, a scoring system, and a Hint button; improving the game mechanics; and incorporating sound effects. In other words, a lot of polish!


Final Result Preview

Let's take a look at the final result we will be working towards:

Switch each jewel into a position where it completes a line of three the same..


Worth Noting..

  • The code in this Premium tut is divided into several folders (one per milestone) and the assets are all available in a separate folder too. Useful :)
  • We'll build on what we've already developed by adding a title screen, a scoring system, a Hint button, incorporating sound effects, adding animations and a fancier interface, increasing the number of gems and reducing lag.
  • Game mechanics are also improved. We'll add "chain matches" preventing any matches from existing "naturally" when the game board is first randomly set up.
  • Finally, we'll be adding separate game states (i.e. title or game).

Images

Take a look at a couple of the helpful diagrams sketched out to illustrate what's going on while you're coding:

flixel_game_jewels
flixel_game_jewels

Active Premium Membership

Activetuts+ Premium Membership

We run a Premium membership system which costs $19 a month which periodically gives members access to extra tutorials, like this one! You'll also get access to Psd Premium, Vector Premium, Audio Premium, Net Premium, Ae Premium, Cg Premium and Photo Premium too. If you're a Premium member, you can log in and download the tutorial. If you're not a member, you can of course join today!


Sample our Wares..

The best way to demonstrate the value of a tut is to give you a sample, so why not dive into the first 8 steps of this series right now?. This short chunk will bring you to the first milestone; going Premium will give you access to the whole lot!