Archive for the 'Game Development' Category

Game preloader

Generally, Flash games need to be completely download before they can be played. This is why the vast majority of Flash games use preloaders, which force the game to wait until everything has downloaded, while providing a visual indication of the load-progress.

(In the demo below, you can change the download speed as well as the amount that is downloaded)

Continue reading ‘Game preloader’

Build a game like Sproing

Sproing is a very simple and intuitive Flash game. It’s also rather addictive. The object of the game is to destroy green orbs by hitting them hard enough with a blue orb which is connected to the mouse via a spring force. You’ll have to play the game to see what I mean. In this tutorial I’m going to show you how to make the blue orb spring to the mouse. Obviously, I wont show you how to make the complete game. The demo below shows exactly what we’ll be making:

Continue reading ‘Build a game like Sproing’

Destructible box

I’m going to show you how to make a destructible box (as seen in the demo below) which you can use in your flash games. In the demo, I’ve put the box in a simple game environment, to give you an idea of how the box might look in a game.

(Click on the box to break it)

Continue reading ‘Destructible box’

Create heat-seeking missiles with ActionScript

This tutorial will show you how you can create heat-seeking missiles using ActionScript. We will be using the explosion code from the previous tutorial, which I recommend you read. In the example below, clicking the mouse creates a missile which seeks the target. The target is dragged by the mouse. Upon reaching the target, the missile explodes. No matter where the target is moved, the missile will seek it out relentlessly.

You don’t have to understand how the explosion code works in this tutorial, although a good knowledge of trigonometry will help.

(Click with the mouse anywhere inside the movie to create a new missile.)

Continue reading ‘Create heat-seeking missiles with ActionScript’

Create arcade-style explosions in Flash

In this tutorial I am going to show you how to create relatively simple arcade-style explosions using ActionScript. To get started I would like you to take a look at the complete code, to get an idea of what you’ll be doing. Don’t worry if any part confuses you, I’ll explain each part step-by-step.

(Click with the mouse anywhere inside the movie to see an explosion.)

Continue reading ‘Create arcade-style explosions in Flash’