All posts about Actionscript 2

Create a Flash game like Deflection

Multipart tutorial: available parts 1, 2, 3 Today I spent some time with a game called Deflection. According to his author, it’s an addictive physics based game where the objective is to deflect the ball into the goal by creating deflection walls. I bet I scared most of you with the word “physics”. This means […]

Make a game like Lumines with Flash – part 2

In the first part we managed to move and rotate a 2×2 square made (obviously) by 4 bricks. Now we’ll see how to make them fall when we press SPACE key. Notice that you move and rotate blocks by tapping arrow keys, but you make them fall by pressing SPACE. This because timing is essential, […]

Make a game like Lumines with Flash

I have to admit it… I got completely addicted to this game… so I decided to make my own Flash version. If you don’t know what is Lumines, it’s a casual game you can download from Steam. The game is simple: control squares made by 2×2 bricks of different colors falling from the top like […]

Playing with getPixel

Today I played a bit with getPixel function and I want to share with you some considerations about it. First, you have to know getPixel(x,y) returns an integer that represents an RGB pixel value from a BitmapData object at a specific point (x, y). Then, I wanted to know the percentage of a color in […]

Create a Flash game like ColorFill – part 1

If you play all successful Flash games (and you should, if you want to be a Flash game developer), surely you played ColorFill. In this game, you have to fill 80% of the stage with colors while avoiding collisions with enemies. Play the game a bit then follow this prototype The main idea to create […]

Adding a new twist to the prototype of a Flash game like Poux

Do you remember the Poux tutorial series? If not, then read parts 1, 2 and 3 and take a look at the finished project known as Christmas Couples. I always say using prototypes to create games is a good idea, and the almost 7,000,000 plays Christmas Couples had since its release confirm my theory. Anyway, […]

Flash flood fill implementation

Do you know what is the flood fill algorithm? From Wikipedia: Flood fill, also called seed fill, is an algorithm that determines the area connected to a given node in a multi-dimensional array. It is used in the “bucket” fill tool of paint programs to determine which parts of a bitmap to fill with color, […]