How to create a shooter video game flash step 5 adding sounds head

How to Create a Shooter Video Game in Adobe Flash- Part 5

By


How to Create a Video Game using Action Script 2.0 Part 5-Adding Sounds

In the first part of this video series on how to create a shooter style video game in Adobe Flash, we created our main characters, made them move, and shoot. In the second part, we animated our characters.  In the third part, we animated our background.  In the fourth part of the video tutorial series, we added our lives, score, and Game Over

 At this point, we have functional video game, but no sound.  So, let's add some sounds.

You can import any sounds that you like.  For this tutorial, all add sounds that play during the game, and a sound for when you shoot.  To import a sound, go to "file" then "import to library".  Choose the sound that you want to import.  Your sound will end up in your library.

To have music play over your game, create a new layer.  Name it "sounds".  Click and drag your imported music from the library to the stage on the first frame of the "sounds" layer.  Then go the properties of that frame and loop the sound.  To see how to do this, watch the video below.

Now let's add the sound for our shooting.  I'll be using a sound that already exists in Flash.  Go to "window", "common libraries" and select "sounds".  Find a sound that you like and drag it to your library.  Rename your sound to "Shoot" in your library by right-clicking on it. Then right-click on the sound in your library and open up the properties for it.  Click the "export for actionscript" radio button.  The identifier should change to "Shoot". 

Now, test your game and enjoy your sounds.

Here's how to add sounds to your shooter style video game...
Continue on to Part 6 of How to Create a Shooter Video Game

LIKE THIS TUTORIAL?

If so, please join over 16,000 people who receive weekly tutorials, articles, and 3 FREE COURSE VIDEOS and EBOOKS!  Just click on the button below to add your name!

I'M IN!




Membership Program
DRAWING COURSES
The Secrets to Drawing


The Colored Pencil Course


Portrait Drawing The Smart Way


The Pen and Ink Experience


Pastel Landscape Mastery


Creative Mixed Media
PAINTING COURSES
Oil Painting Master Series


The Watercolor Workshop


The Acrylic Painting Academy
DIGITAL COURSES
Basic Photoshop for Artists


Search...

×