Game Development Community

Play music across scenes

by Joe Williams · in iTorque 2D · 12/20/2010 (6:23 am) · 2 replies

Due to an issue I've posted about here, http://www.torquepowered.com/community/forums/viewthread/123185, I'm unable to play an MP3 as my background music. "No worries," I thought, "I'll just make a low quality WAV and use alxPlay to play that as my music." Well, the music stops every time I change scenes. Is there a way to play a WAV across scenes, or do I have to start the music over again with every scene?

#1
12/20/2010 (8:14 am)
you would need to modify the code so the AL context etc are not touched on scene switches.
#2
12/31/2010 (11:01 pm)
@Joe,
This is a bug in 1.4. Music played across scenes before that version. It's logged and could be fixed in 1.4.1 (whenever that comes out).