TOUR
PRICING
HELP
Stencylpedia
Blocks Guide
Sample Games
Developer Center
Books & Courses
FORUMS
#MADEINSTENCYL
EDUCATION
SIGN IN
×
Welcome back!
Username or E-mail
Password
(
Forgot?
)
C
OMMUNITY
Home
Issue Tracker
Chat
Inbox [0]
New Posts
New Replies
Search
Stencyl Community
→
Stencyl
→
Ask a Question
→
Can player continue to listen to "external" music after launch
Pages:
1
Can player continue to listen to "external" music after launch
Blacksmith
Posts: 142
November 05, 2014, 09:03:51 am
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
November 07, 2014, 05:37:51 pm
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
November 09, 2014, 11:50:30 pm
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
November 10, 2014, 07:57:13 pm
Thanks for your reply. I figured as much. I was hoping someone else had already done the work for me!! Thanks for the link.
Pages:
1