Create a Flash racing game tutorial – Artificial intelligence

Emanuele Feronato on Jun 28, 2010 • 31 Comments

Finally it’s time to start talking about a real Artificial Intelligence algorithm. As said, I won’t use waypoints because I want to focus on “real” artificial intelligence, I want to make cars drive like if they were controlled by a player. The idea Let’s imagine you are driving a car, you aren’t blind so you [...]

Part of the Worms-like destructible terrain in Flash series

Worms-like destructible terrain in Flash

Emanuele Feronato on Jun 25, 2010 • 31 Comments

Do you remember Worms game and its destructible terrain? Jordi Sanglas Molist explains us how to create a basic destructible terrain with AS3 « Today, browsing the “most popular” posts, I found “Create a flash artillery game – step 1“, where you talked about making a game similar to Worms. Then, I thought: “How will [...]

Part of the Create a Flash racing game series

Create a Flash Racing Game Tutorial – Artificial stupidity

Emanuele Feronato on Jun 23, 2010 • 18 Comments

I promised I’d introduced artificial intelligence in a racing game, and I am starting with artificial stupidity. Anyway, I managed the car to somehow run around the track. I said “stupidity” but I should have said “blindness”, because the CPU driver is actually blind. How would you react if you were blind and crazy enough [...]

Understanding AS3 localToGlobal method

Emanuele Feronato on Jun 22, 2010 • 9 Comments

One AS3 DisplayObject method I don’t see that much used since AS2 became obsolete is localToGlobal. Now I’ll show you how useful can be this method when it’s time to save coding time. First, the definition: localToGlobal(point:Point):Point Converts the point object from the display object’s (local) coordinates to the Stage (global) coordinates. Let’s see what [...]

WordPress 3.0 “Thelonious” released

Emanuele Feronato on Jun 18, 2010 • 3 Comments

WordPress new major release is here!!! Named Thelonious after the american jazz composer Thelonious Sphere Monk (October 10, 1917 – February 17, 1982), will represent a revolution in WP community. Major new features in this release include: a sexy new default theme called Twenty Ten Short links support Custom backgrounds Custom headers Custom shortlinks Custom [...]

Anatomy of a Flash game main screen

Emanuele Feronato on Jun 17, 2010 • 9 Comments

In most cases, when you design a Flash game the main screen is the last thing you add to your project. This way, sometimes you may forget to include a feature or two because you want your game to be released into the wild. Since you shouldn’t understimate the main screen (all in all it’s [...]

Part of the Create a Flash racing game series

Create a Flash Racing Game Tutorial – AS3 version

Emanuele Feronato on Jun 16, 2010 • 35 Comments

The porting of the most popular AS2 tutorials continues with a basic AS3 version of the Flash racing game script. I said “basic” because it does not have all features, this time it covers only movement and collision detection because I want to add more features before polishing it. In the detail, I am developing [...]

Creation of a Sokoban game with jQuery

Emanuele Feronato on Jun 14, 2010 • 6 Comments

When I said there are games you must be able to make in less than a day, obviously I meant in any language. This is the jQuery version of the Sokoban game I made in less than 2Kb. Or, more precisely, it’s the javascript version, powered by jQuery. You should know the rules… click in [...]

Part of the Create a Flash game like Talesworth Adventure series

Create a Flash game like Talesworth – Step 4: One-way doors

Emanuele Feronato on Jun 10, 2010 • 3 Comments

In this 4th step we’ll cover one-way doors. One-way doors are tiles the hero can walk only once, before they become unwalkable. First, let me show you a fix to the script shown in step 3. In the example, the loot disappears when the hero sees it, he does not have to touch it. Since [...]

Find Levenshtein distance with AS3

Emanuele Feronato on Jun 9, 2010 • 3 Comments

From Wikipedia: The Levenshtein distance between two strings is defined as the minimum number of edits needed to transform one string into the other, with the allowable edit operations being insertion, deletion, or substitution of a single character. In real world, one of the most common uses of this distance is the suggestion Google throws [...]

Page 1 of 212