Can player continue to listen to "external" music after launch

Blacksmith

  • Posts: 142
Can I detect if external music (e.g. iTunes) is already playing when the game starts/resumes?
Can I allow that music to continue playing? (I would turn off the game music.)

Some games do this:  Philosopher's Stone, Cosmos.
I care mostly about iOS. Thanks.

Blacksmith

  • Posts: 142
bump...For example, if the user is playing songs from iTunes in iOS,  when they launch the game I don't want to interrupt their music (they can still choose in the options menu).

theabbott

  • Posts: 271
I don't see why not. However you'll need to do the coding yourself. Either through a custom extension or some code blocks. I guess you'll have to find out how it's done in Objective C and then try and find a solution for Haxe.

Take a look here: http://stackoverflow.com/questions/12475867/ios-how-do-i-detect-if-music-is-playing-in-any-background-music-app?lq=1

Blacksmith

  • Posts: 142
Thanks for your reply. I figured as much. I was hoping someone else had already done the work for me!! Thanks for the link.