View Full Version : A reminder to all devs...
Yagami_Light
04-24-2009, 09:20 PM
Could you please make sure your game is compatible with user music? I always find it so annoying to start out a game with my music on, and have it turned off. Then I have to try to go through all of the menus, and hopefully have the option to turn off music.
Then, you double tap your home button, press play, and half of the time, you still can't play your own music.
So, please remember this as you make your apps. It is an iPod, and most of us do buy it to play music/audiobooks/podcasts.
Thank you for your time.
bovinedragon
04-25-2009, 12:50 AM
I'll make it even easier for people, heres the code to do it!
UInt32 propertySize, audioIsAlreadyPlaying=0;
propertySize = sizeof(UInt32);
AudioSessionGetProperty(kAudioSessionProperty_Othe rAudioIsPlaying, &propertySize, &audioIsAlreadyPlaying);
if(audioIsAlreadyPlaying){
// the ipod is on! turn game music off
}
spacecowgoesmoo
04-25-2009, 12:59 AM
ROFL, best first post ever!
WellSpentYouth
04-25-2009, 01:38 AM
ROFL, best first post ever!
Who's first post ever???
Sparks
04-26-2009, 01:19 PM
I'll make it even easier for people, heres the code to do it!
UInt32 propertySize, audioIsAlreadyPlaying=0;
propertySize = sizeof(UInt32);
AudioSessionGetProperty(kAudioSessionProperty_Othe rAudioIsPlaying, &propertySize, &audioIsAlreadyPlaying);
if(audioIsAlreadyPlaying){
// the ipod is on! turn game music off
}
Where would I put that code???
VWXYZ
04-26-2009, 02:54 PM
NO game, I repeat, NO GAME goes to my front page without in-game custom music.
Its that easy. To me, in-game music is the difference between a game I play to kill time or play to play a game.
If the game try to go in the "kill time" catogory (and HAVE in-game music) you are competing with other iPhone titles.
If the game try to go in the "gaming" category (not having custom music) I have a PS3, and you will have to out match Killzone 2 or Metal Gear Solid 4.
Some games can keep the steam against my PS3 for maybe an hour or so... But I already clocked in several hours of Trism.
This long post is actually really simple:
"In-game custom music = best feature for any game"
bovinedragon
04-26-2009, 04:58 PM
Where would I put that code???
Just put that code before you initialize your sound, and if "audioIsAlreadyPlaying" is true, set some flag that prevents your sound from initializing, and also use it to block any calls you make to play sounds later in your code.
Sparks
04-26-2009, 05:56 PM
Just put that code before you initialize your sound, and if "audioIsAlreadyPlaying" is true, set some flag that prevents your sound from initializing, and also use it to block any calls you make to play sounds later in your code.
Hmmm, interesting
BulletDev
04-26-2009, 10:40 PM
Will do :)
We've all heard this a thousand times. Don't boss around developers.
iKoda
04-26-2009, 10:54 PM
Also Devs make it so you can hear sound effects. If I'm playing.... lets say Zombieville, I want to hear gunshots.
iKoda
04-26-2009, 10:58 PM
Could you please make sure your game is compatible with user music? I always find it so annoying to start out a game with my music on, and have it turned off. Then I have to try to go through all of the menus, and hopefully have the option to turn off music.
Then, you double tap your home button, press play, and half of the time, you still can't play your own music.
So, please remember this as you make your apps. It is an iPod, and most of us do buy it to play music/audiobooks/podcasts.
Thank you for your time.
I'm not being mean or what ever you might be thinking.
But my friend on MSN has this message under his name "Read Light Yagami backwards" or something VERY close to that.
Yagami
imagay
ImNotWorking
04-29-2009, 10:29 AM
I'm having a problem with my game where the ipod music automatically shuts down while the game is loading (it does the music fade as if the phone was getting a call).
Is there any setting I need to do in the initialization to stop the music from fading out?
gottaa
05-01-2009, 08:23 AM
What amazes me is the number of application which totally ignore both volume and silent settings on the phone and yet still pass the approval phase with Apple.
Mafia Wars being a great example with it's intro of revving of an engine and the bark, which I've never found a way to silence and ended up with me deleting it simply because it's the kind of game I could pick up at work and play for 2 mins while waiting for code to run but can't when it makes it that bloody obvious what I'm doing.
I can only assume alot of devs test on 1st gen iPod touches
PowerThirst
05-01-2009, 12:44 PM
Yeah it's annoying when you can't turn BGM off.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.