All posts about Flash

Create a Flash Racing Game Tutorial – Artificial stupidity

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

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 […]

Anatomy of a Flash game main screen

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 […]

Create a Flash Racing Game Tutorial – AS3 version

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 […]

Find Levenshtein distance with AS3

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 […]

Create a Flash game like Talesworth Adventure

Recently I got addicted to Talesworth. It’s a great tile based puzzle game with 30 levels I recommend you to play, but it’s also a game I am recreating with a tutorial series. So let’s start… since it’s a tile based game, the barebones are very similar to Create a Flash game like Rebuild Chile. […]