We've come a long way by now in the development of the core game logic and mechanics of our prototype game. One thing that you would have noticed to be patently missing, however, is any and all forms of audio. Sound FX and music are important instruments in the hands of a game developer when it comes to sculpting an immersive and stimulating gaming experience. So what are we waiting for? Let's get auditory! In this chapter, we will learn:
How Stencyl handles audio
How to import sound files in MP3 and OGG formats
The difference between sound effects and music in the Stencyl game engine
How to play music in our game levels
How to trigger sound effects on the fly