|
Viewing 1 to 20 (20 Total) Android Sound Stability.. |
|
|---|---|
NZCoderGuyTotal Posts: 67
Joined: December 08, 2011
|
I have built my Star-Fighter game (works 100% in iOS), for Android and am having Sound Issues.
Tags:
Posted on April 10, 2012 at 8:18 PM
|
altefTotal Posts: 105
Joined: February 25, 2012
|
Re: Android Sound Stability..does logcat say anything? (in Android SDK\platform-tools try adb logcat GameActivity *:s, or maybe just adb logcat - there could be a lot of text)
Posted on April 10, 2012 at 11:57 PM
|
NZCoderGuyTotal Posts: 67
Joined: December 08, 2011
|
Re: Android Sound Stability..How does that work? do you run the app and debug from a PC? or can you view the logs on the phone/tablet itself?
Posted on April 11, 2012 at 12:00 AM
|
altefTotal Posts: 105
Joined: February 25, 2012
|
Re: Android Sound Stability..I usually have my phone plugged in via usb, and then have two console windows open.
Posted on April 11, 2012 at 12:07 AM
|
NZCoderGuyTotal Posts: 67
Joined: December 08, 2011
|
Re: Android Sound Stability..ahh okay
Posted on April 11, 2012 at 12:14 AM
|
NZCoderGuyTotal Posts: 67
Joined: December 08, 2011
|
Re: Android Sound Stability..I just ran both apps on my partners IDEOS X5 (3.8inch, 800mhz Android 2.3) and when it plays a sound/starts music, it lags for a brief second.. something is definitely up with it.
Posted on April 11, 2012 at 12:16 AM
|
singmajestyTotal Posts: 2146
Joined: August 25, 2011
|
Re: Android Sound Stability..Are you sure your sounds are "sounds", and not "music"?
Posted on April 13, 2012 at 8:27 PM
|
NZCoderGuyTotal Posts: 67
Joined: December 08, 2011
|
Re: Android Sound Stability..Yes they are all mp3 files (music and sound)... so I make the sounds as WAV instead, it should solve my problem?
Posted on April 14, 2012 at 12:07 AM
|
singmajestyTotal Posts: 2146
Joined: August 25, 2011
|
Re: Android Sound Stability..Yep, if you switch the sounds over to WAV, I bet it will work.
Posted on April 14, 2012 at 1:20 AM
|
NZCoderGuyTotal Posts: 67
Joined: December 08, 2011
|
Re: Android Sound Stability..yup fixed it great. Performance is better now too.
Posted on April 14, 2012 at 1:47 AM
|
altefTotal Posts: 105
Joined: February 25, 2012
|
Re: Android Sound Stability..Hmm... I'm getting touchPointID values back up until I run out of fingers. (Thanks, btw. I had no idea this was how multi touch worked.)
Posted on April 14, 2012 at 2:03 AM
|
NZCoderGuyTotal Posts: 67
Joined: December 08, 2011
|
Re: Android Sound Stability..in my initailize code I have the following which I use for iOS to enable multi-touch:
Posted on April 14, 2012 at 8:18 AM
|
NZCoderGuyTotal Posts: 67
Joined: December 08, 2011
|
Re: Android Sound Stability..hmm interesting.. I had changed some conditions in my move event function, and it fixed my issue.. so multi-touch is working yay!.
Posted on April 14, 2012 at 8:26 AM
|
PhilippeTotal Posts: 261
Joined: September 08, 2011
|
Re: Android Sound Stability..Try using font "_sans" in case of text issues.
Posted on April 14, 2012 at 9:07 AM
|
singmajestyTotal Posts: 2146
Joined: August 25, 2011
|
Re: Android Sound Stability..I think there may have been a minor issue that was preventing embedded fonts from working properly on Android.
Posted on April 14, 2012 at 12:43 PM
|
NZCoderGuyTotal Posts: 67
Joined: December 08, 2011
|
Re: Android Sound Stability.."_sans" as my font? how do I go about doing that?
Posted on April 15, 2012 at 7:07 AM
|
altefTotal Posts: 105
Joined: February 25, 2012
|
Re: Android Sound Stability..I beleive TextFormat takes (as its first parameter) a fontName:String. Try something like this:
Posted on April 15, 2012 at 7:11 AM
|
PhilippeTotal Posts: 261
Joined: September 08, 2011
|
Re: Android Sound Stability..@altef: you're correct about the TextFormat use.
Posted on April 15, 2012 at 2:04 PM
|
altefTotal Posts: 105
Joined: February 25, 2012
|
Re: Android Sound Stability..Man, I was sure that embed fonts when using "_sans" stopped my textfields from displaying in android, and then removing it fixed them!
Posted on April 15, 2012 at 2:33 PM
|
mourlamstudiosTotal Posts: 152
Joined: February 12, 2012
|
Re: Android Sound Stability..singmajesty -
Posted on April 16, 2012 at 8:26 AM
|
