Create a flash game like Security – part 2
July 27th update: part 3 released
This is the second part of the creation of a flash game like Security. In the first part we saw how to create the maze, the player and the “cop”.
Now, we’ll see how to create a “smart” cop.
I did not like how the orginal game managed the “line of sight”, so I decided to try coding something different and closer to the reality (well, if a blue circle is supposed to be a “cop” we are not so close to reality, anyway…).
The line of sight
Let’s imagine what is a “line of sight”: basically, it’s a line that connets the “cop” to the objects the cop can see. In our case, the only thing we need our cop to see, is the player. So, in next example, the line of sight is a line that goes from the cop to the player. Read more
OMG Google screwed! PR7!
I think Google must be bugged. Today I opened the browser and the toolbar marked this site as PR7.

I started complaining about spywares, viruses, trojans, spartans and so on, because I was sure some worm infected my pc.
McAfee reported no virus… so I started browsing some sites offering free PageRank calculators. Read more
Create a flash artillery game – step 1
May 25th update: 2nd part released
October 29th update: modification with a bounce effect developed by Massimo M.
Here we are with the beginning of a new tutorial. We are going to create a flash artillery game. Something like Worms. Or similar.
Well... the first thing we need in an artillery game is...
The crosshair
I created a movieclip linkaged as "crosshair", then on the first frame of the main scene entered this actionscript:
-
Mouse.hide();
-
attachMovie("crosshair", "crosshair", 1);
-
crosshair.onEnterFrame = function() {
-
this._x = _xmouse;
-
this._y = _ymouse;
-
};
Line 1: Hiding the mouse
Line 2: Attaching the movie "crosshair" instanced as "crosshair" at depth 1
Lines 3-5: Every time the crosshair is in the stage, its position is updated to _xmouse and _ymouse coordinates. This means you will move the crosshair with the mouse. Read more
Do my tutorials suck?
Today Derrick Niehaus, a blog reader, sent me this comment in Line Rider creation game tutorial 4:
"AHAHAHAHH someone stole your tutorial completely and made it into a game.. here
thats so funny! they didnt even change the line color.. or get rid of the bouce counter.. or the circle where the ball had been"
He was right... I went to the page and what I saw was the **same** example I provided in the tutorial with more "levels".
The game is on the homepage too.

The question now is: Do my tutorials suck? I mean, if you copy a game without changing anything, maybe the tutorial was not so clear. Read more
My Flash Boulderdash tribute is growing…
I am quite happy my Flash Boulderdash tribute is growing well.

As far as today I coded those items:
1) The player
2) The dirt
3) The rock
4) The diamond
5) The undestroyable wall
6) The destroyable wall
7) A enemy that does not release diamonds if killed
8) A enemy that releases diamonds if killed
And all those items seems to blend together pretty good. Read more
Create a flash draw game like Line Rider or others – A different approach – Part 2
June 15th update: part 3 released
I am glad to publish a very interesting upgrade to Create a flash draw game like Line Rider or others - A different approach by Kevin Ward.
Kevin strikes back with three very interesting prototypes I am currently studying in order to optimize his ideas.
I suggest you all to read carefully his article.
------
The physics in the file has quite a flaw in that it seems to bounce the right direction but it loses speed.
If you change it to use the variation I sent you after that, it has all the speed, but it goes in the wrong direction. Read more
Icy Bubble: a game developed starting from my tutorials
Time to play Icy Bubble, a flash game submitted by Abilash, an old time reader.
Like other "ball" games, the aim of the game is to take the small bubble through all levels, avoiding the environment and other dangerous things. Read more
Create a flash game like Security – part 1
April 29th update: part 2 released
July 27th update: part 3 released
Some days ago a reader told me about Security 2 game. It's a simple game: navigate through a level by using the arrow keys avoiding security traps and guards.

I found the game so easy do develop but so interesting about artificial intelligence that I decided to start a tutorial about it.
In this part we'll see how to create and manage the player and the guard/cop. Read more
Create a flash draw game like Line Rider or others – A different approach
April 21st update: part 2 released
June 15th update: part 3 released
Some days ago I received a very very interesting email from Kevin W. (for Kevin: I can give you more credits if you send me some information about you).
It refers to the Line Rider game creation, with a different approach.
Read carefully:
------
I was reviewing parts three and four of your line rider tutorials today because I had never tried out your collision and reaction techniques for myself, when I found some things I didn't like. Read more
Create a flash movie like Linkin Park one
When I was looking at Linkin Park homepage, I was impressed by the intro. It's very simple but very nice.

To do something similar, we need four elements:
1) A b/w photo with an high contrast
2) PhotoShop
3) Flash
4) An awesome music track
Finding the photo
It's quite easy to find (or shot) a photo... just remember it should have an high contrast between the white background and the black foreground. Read more
Posts
- Rick Triqui: my first PlayCrafter game
- Prototype of a Flash game like Meeblings
- Games for the game developers!
- The art of debugging
- How to embed a text file in Flash
- Create a Flash game in minutes with PlayCrafter
- Upgrade your Flash CS4 to 10.0.2
- Play Mazeroll, my latest Box2D game
- Triqui MochiAds Arcade plugin for WordPress Released!!
- The MochiAds funnel
- Flash game creation tutorial - part 1
- Create a Lightbox effect only with CSS - no javascript needed
- Flash game creation tutorial - part 2
- Make a Flash game like Flash Element Tower Defense - Part 2
- Flash game creation tutorial - part 3
- Create a flash draw game like Line Rider or others - part 1
- Create a Flash Racing Game Tutorial
- Make a Flash game like Flash Element Tower Defense - Part 1
- Create a flash artillery game - step 1
- Create a flash draw game like Line Rider or others - part 5
- Flash game creation tutorial – part 5.2




(4.9 out of 5) - Flash game creation tutorial – part 3




(4.86 out of 5) - Creation of a platform game with Flash – step 2




(4.84 out of 5) - Create a survival horror game in Flash tutorial – part 1




(4.82 out of 5) - Create a flash artillery game – step 1




(4.82 out of 5) - Create a Flash Racing Game Tutorial




(4.8 out of 5) - Create a flash artillery game – step 2




(4.75 out of 5) - New tile based platform engine – part 6 – ladders




(4.74 out of 5) - Flash game creation tutorial – part 2




(4.73 out of 5) - The experiment – one year later




(4.7 out of 5)


