Summary

In this chapter, we learned how Stencyl interprets and handles audio files, the reason why both the OGG and MP3 formats are supported, when you must provide either or both the formats, how to import sound files and designate them as either sound FX or music files, and most importantly, how to trigger these audio files in the game code. Well done on having learned so much in such little time! In the next chapter, we'll continue to polish our prototype by adding HUD elements to our game, and even animate these to add an aesthetic value to the end product. So let's get going; see you in the next chapter!

Get Stencyl Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.