Where to go now

It's clear the most interesting missing feature is the smooth movement. To add it, you will need an ENTER_FRAME listener because it's the easiest way you can manage gems movements and disappearings. I would point you to this script I published on my blog: bit.ly/dJNPq2. Here you will find a complete yet quite unreadable code (it was created to make the entire game in less than 2KB) of a Bejeweled game with some kind of movement. With the concepts learned in this chapter and that code, you should be able to create your perfect

Get Flash Game Development by Example now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.