First time here? First time here? Newsletter Signup Newsletter
Search tutorials
Author: Ian Rose

The SWF File

Getting Started

One thing I have noticed is a lack of good tutorials on the web for first-person game programming in Flash 5, so here goes. Using this lesson, anyone with a basic understanding of Flash should be able to build a realistic backdrop for a first-person space game. To avoid making this a thirty page tutorial (it's going to be long enough already), I am leaving out most game elements, such as weaponry and enemies, in order to concentrate on the flight mechanics and starfields. It'll be up to you to add your own levels, enemies, etc., if you feel like it.

Open a new Flash movie and name it "spaceFlight". Create the following layers in this order from top to bottom: "planet", "player", "bigstars", "stars". The first step is to create the symbols you'll need for the project. First, create a set of crosshairs to be the player's focus. If you don't feel like designing your own crosshairs, you can use the one in the enclosed *.fla file. After you're done designing the target symbol, put an instance of that symbol on your "player" layer and name the instance "player1".The next symbols you will need are the stars that will make up the space environment of the game. I suggest for now making two star symbols, "star", and "bigstar"( a larger version of "star" ). They don't have to be any more complicated than white circles. For added realism and visual appeal, more sizes and types of stars can be added later, once all the groundwork is laid. Finally, create a symbol instance to serve as a nearby planet. Place it on your "planet" layer and call it "planet1". If you do not want to draw the planet or stars, you can find them in the enclosed *.fla file.
» Level Intermediate

Added: 2001-06-26
Rating: 6.89 Votes: 100
(10 being the highest)
» Author
No details available.
» Download
Download the files used in this tutorial.
» Forums
More help? Search our boards for quick answers!


  • There are no comments yet. Be the first to comment!

  • You must have javascript enabled in order to post comments.

Leave a Comment
  • Your email address will not be published. All fields are required.
Featured Flash FLA
» Author: Inocreato
» Title: RaiseTheBlocks
» Description: Raise all the blocks to win the game
Featured Sound Loops
Image for equalize

Audio Player

» Author: TomCat Carty
» Title: The Wood
» Description: Just a little game ending or it can maybe be looped. Recorders with music box and percussion to give the feel of well, I don't know, the woods? Free to use, just credit me. thank you
Latest Font
» Author: Fábio FAFERS
» Description: I created this font for free use. Everyone can apply it in personal or business texts. Its free, but I want to be communicated in case of business use. Donations are accepted to keep the project of free fonts alive! Thank you all
Featured Sound Fx
Image for equalize

Audio Player

» Author: Davisigner
» Description: Hmm... what to say about this one? It's reminiscent of the closing notes of the opening music from the Three Stooges done in a church organ style with a closing cymbal crash. I'll give this one away gratis, but feel free to check out my free loops and potential upcoming license-mandated ones over in the respective part of Flashkit.