[ LiB ] |
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 ] |