Basic Flash Games
 


Home
All resources

Download lesson 1

The purpose of lesson 1 is to teach about basic programming, such as what a 'function' is and 'variables'. Learning this first will help you understand different parts of the code when creating the game.

Part 1 on of the lesson will show how to start building the layout for the game and making characters move using the arrow keys on the keyboard.

Part 2 of lesson 1 will show how to create a bullet that will shoot, when the space bar is pressed.

Download lesson 2

Lesson 2 will show how to make enemies to shoot and explain about 'collision detection'. The first stage of the tutorial is about making an enemy to fire at. You can follow the example in the tutorial, or you can be a little more creative and design something totally different. You will also learn some ActionScript that will load your enemies into the game automatically.

Collision detections are used to check when a bullet hits an enemy or when the hero hits the enemy. You can decide what you want to happen. For this tutorial, the enemies will basically just disappear!

Download lesson 3

Lesson 3 is about creating a score board and stopping the constant firing. Basically a score board will be created to add up when a bullet hits an enemy, so you can see how well [or not so well] you are doing on the game!

Also, from the last tutorial you will notice that your fire button works in that it kills enemies, but things are too easy! This is because you have a constant fire when you hold down the space bar. This tutorial will show you how to fix this, so it only fires once at a time.

Download lesson 4

The first stage of this tutorial is about adding a button to allow you to pause the game when you want ... when pressing ‘P’ on your keyboard.

Also this tutorial will teach you how to add simple sound effects, so when you hero fires, it will make a sound and when the bullet hits one of the enemies it will make another sound.