Archive for the 'Actionscript 2' Category

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 in Tetris… [...]

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 an image, [...]

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 this game is [...]

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, the "twist" is [...]

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, and [...]

How to use a Flash game tutorial to make your own game

When I stated writing tutorials, I did not expect I would have to write a tutorial about... using a tutorial.
If you look at the most recent games published, you'll find a lot of games are useless clones of some of my tutorials or some of Tony Pa's ones.
I said "useless" because a tutorial is not [...]

Flash sending, manipulating and receiving data with sendAndLoad

This is a very importat thing to know when you are about to design Flash forms, or any application that needs to manage data such as an highscore table.
This is a standalone tutorial, but the basics explained will be useful in the Creation of a Flash highscores API course.
The only method we need to know [...]

Managing multiple balls collisions with Flash

The first post of the new year (you should know the new year starts on May, 27th) is made by Sunil Changrani and it's about managing multiple balls collisions with Flash.
I already published a tutorial about Managing ball vs ball collision with Flash but this time we'll manage any number of balls.
Sunil was just making [...]

Creation of a Flash highscores API - Step 2

Now that you know how to communicate between two Flash movies thanks to the Creation of a Flash highscores API tutorial, it's time to introduce the next step that will make you save your highest score on your computer.
It's not an hard prototype once you read Create an Eskiv Flash game tutorial (in order to [...]

Creation of a Flash highscores API

More and more game portals are developing their own Flash API to manage high scores.

Having high scores means giving players the opportunity to compete for a leaderboard, making them play your game more and more. And making you earn more and more.
I am showing you how to make one. I'll use LocalConnection, like, as example, [...]