Chapter 10. Sound Effects and Music

[ LiB ]

Chapter 10. Sound Effects and Music

Back in the day, sound was the missing link in many games , but now it's an essential part of any game. Sound enhances the gaming experience and helps immerse the player in the world you've created. Not only can a game be visually stimulating, but it can also be audibly pleasing as well.

Imagine playing a game where you can see the explosion but not hear it. How dull would that be? Can you imagine a Star Wars game without its crazy classical-adventure music? I don't think so. A game without sound can dull the moment and kill the experience. And in this chapter you will learn how to set up and play sounds through your ActionScript code. Among the topics I'll discuss are the following:

  • Using library sounds

  • Setting up a sound Movie Clip

  • Attaching sounds dynamically

  • Creating a volume slider

  • Panning, transforming, and monitoring sounds

[ LiB ]


Game Development with ActionScript
Game Development with ActionScript
ISBN: 1592001106
EAN: 2147483647
Year: 2004
Pages: 162
Authors: Lewis Moronta

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net