O'Reilly logo

Haxe Game Development Essentials by Jeremy McCurdy

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

In this chapter, you learned how to play sound files of different types based on the target platform. You also learned the difference between playing music and sound effects, and multiple ways to play sound in HaxeFlixel.

With sounds, the game is really starting to come together. Sounds help tie together the gameplay and art and make it feel cohesive.

In the next chapter, we're going to work with JSON and XML files to make the game more easily configurable and to liven up the gameplay by giving enemies movement patterns!

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required