Archive for March, 2008

Understanding how AS3 manages Depths

This tutorial will explain you how to manage AS3 sprites and depths, and what's changed from AS2 to AS3.

In every Actionscript version, when two movieclips (or objects, shapes, texts...) overlap, the one with the greater depth stands in front of the other. You can think about depth as a Z coordinate.
The first difference between AS2 [...]

Create a Flash game like Bloons tutorial

One of the moust famous Flash games ever is Bloons.

Please, don't make me explain what I am talking about. Just play it. I really do not know why nobody tried to make a clone of such a simple game. Then I realized... that's because I never published a prototype of this game.
Now, it's time for [...]

Full Renju game with source code

Do you know what is Renju?
From Wikipedia: Renju or Lianzhu is the professional variant of Gomoku, a board game originated from Japan in Heian Period. It was named Renju by Japanese journalist Ruikou Kuroiwa in December 6, 1899 in a Japanese newspaper Yorozu chouhou.
Lianzhu is a Chinese translation of Renju. It is played with black [...]

Create a Flash ball game using AS3

Ok... I think it's time to start talking about Actionscript 3. Even if AS2 is way to be dead, is becoming a bit obsolete... every new library like Box2DFlashAS3 only works in AS3, so sooner or later we must learn AS3.
Obviously I won't stop talking about AS2 until it's dead and stinking... but this tutorial [...]

Playing with Box2DFlashAS3

Some time ago I told you to watch Box2DFlashAS3 physics engine.
I dont' know if you did it, but I did. While the original Box2D project come to 2.0.0 version, the AS3 porting is "still" at 1.4.3, but soon it will be upgraded.
So I think it's absolutely time to play with this library.
While I won't be [...]

Creation of a platform game with Flash - step 3

To show you how hard I am going to try wiping the vaporware out of my life, I am publishing the 3rd part of the platform game tutorial.
Read parts 1 and 2 if you don't remember what I am talking about.
In this update, I introduced two new tile types: the lava tile that kills you [...]

Wipe the vaporware out of your life

Do you know what's the so-called vaporware?
From Wikipedia: Vaporware is a software or hardware product which is announced by a developer well in advance of release, but which then fails to emerge, either with or without a protracted development cycle.
Interesting thing... they gave a name to most developers' habit... starting a project and turning it [...]

Make a Flash game like BoxHead - part 1

One of the most popular Flash games is BoxHead by Sean Cooper, that released the 5th game of the series called The Zombie Wars.

At the moment I am just giving a small prototype of the "hero" controlled with arrow keys and the "zombie" chasing the hero.
One of the interesting things about BoxHead is that all [...]

Where in the world are your Flash games being played now?

It's an interesting question, isn't it?
Maybe in the near future MochiAds guys will be able to answer this question.
This is a message from JamesonH:
Here's a little feature that one of our Computer Scientists, Emad, put together to show how global Flash games are. It's still very experimental and there are a lot of ideas that [...]

From zero to Bombuzal - step 4

One of the biggest problems of step 3 was Bombuzal waled sooo slowly.
So I added a variable called walk_speed where I assign the walking speed in pixels per frame.
Then, in the original game you have to think fast. You can't stay on the same tile for more than about 5 secods, or the tile where [...]