Playing a sound during state transition

  • Hi, was wondering what is the best practice for playing a sound between state changes? Right now I am creating a sound in one state, setting the persist option to true and it works fine, but how will this be disposed (destroyed)? This sound is used in the 1st state often, not just during the switching of states (it is a menu click sound). Suggestions?

Log in to reply

Looks like your connection to HaxeFlixel was lost, please wait while we try to reconnect.