Featured Games
Desolate Defense
Desolate Defense

Beat Machine
Beat Machine
Affiliates

Newgrounds

ArmorGames

AllDank.com

Chad-Duncan


Basic Scoring In Flash (AS2, AS3)
Posted by dank on April 10, 2009 .
aa

Scores are an essential part in all games. They challenge the user while rewarding them at the same time. Keeping track of scores in Flash isn’t tricky to use, but it is important that they are implemented correctly.
Declaring The Variable
The fundamental building block behind a score is the variable. As you ought to have learned, variables are used to store objects, pointers, and [...]

Read full tutorial >>

Sound in ActionScript 2
Posted by Chad Duncan on March 30, 2009 .
aa

Sound, whether in the form of music or sound effects, is an important part of any flash game. While you may be able to get away with controlling sound with the timeline in an animation, a game must be a bit more dynamic and you will almost always need to control the sound with actionscript. This tutorial will help you understand not only control sound in actionscript 2, but avoid potential problems that can occur.

Read full tutorial >>

Aiming and Shooting
Posted by Chad Duncan on March 29, 2009 .
aa

Having the knowledge of how to simply aim and/or shoot is essential to many types of games. It can be done in many ways depending on the type of game but generally relies on the same concept.

Read full tutorial >>

Functions
Posted by Chad Duncan on .
aa

Functions are very helpful in reducing the amount of code used throughout a flash for actionscript that may repeat several times throughout. They are simple to learn and use, and they are a common part of making Flash games.

Read full tutorial >>

Find Distances
Posted by Chad Duncan on .
aa

Sometimes in game development, you may need to find the distances from one movieclip to another. For example, if you are creating enemy AI and you do not wish for the AI to see player at certain distances or want gunshots to do more damage at closer distances, it would be helpful to know this.

Read full tutorial >>

Multi-Dimensional Arrays in Flash
Posted by dank on October 16, 2008 .
aa

Arrays make a great way to store and manage data in actionscript. However, sometimes just a single dimension may not be adequate for some situations such as when storing table data. Then you will need to either: define an array for each column for every row, or just make a one two-dimensional array.
A two-dimensional array [...]

Read full tutorial >>

Array Tutorial
Posted by Chad Duncan on October 15, 2008 .
aa

This tutorial attempts to teach the basics of arrays in ActionScript. It explains how to create arrays, store information in arrays, and access elements in an array.

Read full tutorial >>

Movement with the Keyboard
Posted by dank on August 4, 2008 .
aa

In this tutorial, you will learn how to move a movieclip around the stage. This tutorial does not apply to ActionScript 3.0 .

Read full tutorial >>

Saving and Loading in Actionscript 2
Posted by Chad Duncan on July 30, 2008 .
aa

In this tutorial, I will teach the basics of saving and loading. Flash has the ability to save a small .sol file on the user’s computer using SharedObjects. This is very useful to Flash games.

Read full tutorial >>


All Tutorials
New DevBlog Posts