Flash Tutorials | AS3, AS2 Flash game tutorials roundup part 2

1.Create a Flash Game like Nano War

Some days ago I played a bit Nano War.

nanowar

It’s an interesting RTS, and pretty easy to delvelop.

In this part we’ll analyze the unit selection system.

In Nano War your units are circles, and this helps a lot because it’s very easy to determine collisions knowing radius and center.

Anyway, you can select units in these ways:

Click on an unselected unit: you select the unit

Click on an selected unit: you keep selecting the unit (good!)

Click outside an unit: you deselect all units

Click outside an unit and drag mouse: you select all units whose center is inside the shape you are drawing bby dragging the mouse.

Read more

2.Create a Flash game like Cirplosion

cirplosion

It was quite successful some time ago, and now it’s time to create a game like it.

In this tutorial we’ll design the main engine. When you are going to design a game, or to write whatever script, try to explain yourself what you are about to do.

Let me try to explain with simple words what the does the script do:

* There are some blue orbs running everywhere with a linear motion
* You control a red orb moving it with the mouse
* If you click and hold mouse button, your orb start growing
* While growing, you can’t touch stage border or other orbs, or you will return small
* When you release mouse button you are ready to explode
* Pressing again mouse button will make you explode and kill all orbs you are touching
* Orbs close to explosion will move faster from now on

That’s about 75% of the original game… of course you will need to polish it and add new features

Read more

3.Create a Flash game like PixelField

I spent some time on PixelField and I liked the way you control the “player” and the overall concept.

pixelfield

So here I am ready to clone it for Tony Pa’s pleasure…

In this first step I’ll show you how to control the player.

In this version you control a square (in the original one it was a triangle, so don’t say I did’t add something to the original concept… I added a side…) that will move wherever you click the mouse.

Attached to the square there are four little squares that will follow the main square with an elastic effect.

Read more

4.Make a Rhythm Game in AS2

Ok, this may not seem to be the most exciting step, but it is pretty important. Because this game is going to take a while to make, brainstorming is key.

So, we have to figure out what movieclips we are going to have to make. What are the key symbols that we need for gameplay? If anything, it’s going to be the arrows.

So far on the MovieClip list:
  • Left Arrow
  • Up Arrow
  • Right Arrow
  • Down Arrow

Of course, the arrows are going to have to have a receptor that it hits when you have to press the certain key.

So far on the MovieClip List:
  • Left Arrow
  • Up Arrow
  • Right Arrow
  • Down Arrow
  • Receptors

There are four final MovieClips that we are going to have to create, and all of them have to do with scoring. One of them is the health bar, the second is the combo counter, the third is the players score, and the fourth is the word that tells the user how accurately they hit the key (Perfect, Awesome, Good, OK, Bad).

The Final MovieClip List:
  • Left Arrow
  • Up Arrow
  • Right Arrow
  • Down Arrow
  • Receptors
  • Health Bar
  • Combo Counter
  • Score
  • Accuracy Meter

8-22-2008 9-56-19 PM

Part 1 | Part 2 | Part 3 | Part 4 | Part 5 | Part 6 | Part 7

5.Simple Jigsaw Puzzle Tutorial

The aim of the project is to demonstrate the object oriented capabilities of Flash. This is a simple four piece jigsaw puzzle, programmed with ActionScript. The coding is done in such a way that new puzzles can be created using the same file, with very little effort.

18jigzaw

Read more

  • Share/Save/Bookmark
digg delicious stumbleupon technorati Google live facebook Sphinn Mixx newsvine reddit yahoomyweb
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...