Possible Audio bug on iPad

0 favourites
  • 7 posts
From the Asset Store
Match same tiles with each other as fast as you can and earn more score during a limited time!
  • Link to .capx file (required!):

    Simple Test Game created to debug problem

    brotechentertainment.com/test/test_single_file.capx

    Steps to reproduce:

    1. Click Test Button to Play test Sound "Boing"

    2. Link to test sound URL

    brotechentertainment.com/test/media/boing_x.m4a

    3. Added .htaccess file as instructed to root directory for game

    Contents of .htaccess file

    AddType video/ogg .ogv

    AddType application/ogg .ogg

    AddType video/mp4 .mp4

    AddType video/webm .webm

    AddType audio/aac .aac

    AddType audio/mp4 .mp4 .m4a

    AddType audio/mpeg .mp1 .mp2 .mp3 .mpg .mpeg

    AddType audio/ogg .oga .ogg

    AddType audio/wav .wav

    AddType audio/webm .webm

    Observed result:

    No Sounds play on iPad iOS 6 after trying all recommendations

    from C2 Developers.

    All sound OK on ANDROID devices

    Expected result:

    Button clicks should play sound on iPad as they do on ANDROID

    and Exloper, and Chrome, and Mozilla

    Browsers affected:

    Chrome: yes/no = YES

    Firefox: yes/no =YES

    Internet Explorer: yes/no =YES

    Operating system & service pack:

    iPad iOS 6

    Construct 2 version:

    Release 114

    Build 15:56:53

    Note: I am only posting this here after trying all other possible solutions. Since the sounds "can" play directly from my host server via the URL link on the iPad, I must presume that the .htaccess and server are set up properly.

    Next, the test game is extremely simple, by design, in order to debug this problem. I created a button count event to ensure that the TOUCH event executes the loop and increments the count and plays the sound.

    Please let me know if there is something wrong in the test code itself for how I am Pre-loading or playing the sound. I have had a C2 developer look at this problem on a previous forum post and the code seemed ok.

    Original Froum Posting

    scirra.com/forum/audio-music-mime-question_topic62244_page1.html

    Thank you for any help in advance.

    BTW, I absolutely LOVE "Construct 2" as a FORMER GAME MAKER programmer,

    who switched on 12-7-2012 and purchased Construct 2. :)

  • Sorry I forgot the link to the game itself

    brotechentertainment.com/test/index.html

  • Link to .capx file (required!):

    Simple Test Game created to debug problem

    http://www.brotechentertainment.com/test/test_single_file.capx

    http://www.brotechentertainment.com/test/index.html

    Steps to reproduce:

    1. Click Test Button to Play test Sound "Boing"

    2. Link to test sound URL

       http://www.brotechentertainment.com/test/media/boing_x.m4a

    3. Added .htaccess file as instructed to root directory for game

    Contents of .htaccess file

    AddType video/ogg .ogv

    AddType application/ogg .ogg

    AddType video/mp4 .mp4

    AddType video/webm .webm

    AddType audio/aac .aac

    AddType audio/mp4 .mp4 .m4a

    AddType audio/mpeg .mp1 .mp2 .mp3 .mpg .mpeg

    AddType audio/ogg .oga .ogg

    AddType audio/wav .wav

    AddType audio/webm .webm

    Observed result:

    No Sounds play on iPad iOS 6 after trying all recommendations

    from C2 Developers.

    All sound OK on ANDROID devices

    Expected result:

    Button clicks should play sound on iPad as they do on ANDROID

    and Exloper, and Chrome, and Mozilla

    Browsers affected:

    Chrome: yes/no = YES

    Firefox: yes/no =YES

    Internet Explorer: yes/no =YES

    Operating system & service pack:

    iPad iOS 6

    Construct 2 version:

    Release 114

    Build 15:56:53

    Note: I am only posting this here after trying all other possible solutions. Since the sounds "can" play directly from my host server via the URL link on the iPad, I must presume that the .htaccess and server are set up properly.

    Next, the test game is extremely simple, by design, in order to debug this problem. I created a button count event to ensure that the TOUCH event executes the loop and increments the count and plays the sound.

    Please let me know if there is something wrong in the test code itself for how I am Pre-loading or playing the sound. I have had a C2 developer look at this problem on a previous forum post and the code seemed ok.

    Original Froum Posting

    http://www.scirra.com/forum/audio-music-mime-question_topic62244_page1.html

    Thank you for any help in advance.

    BTW, I absolutely LOVE "Construct 2" as a FORMER GAME MAKER programmer,

    who switched on 12-7-2012 and purchased Construct 2. :)

  • Works OK on an iPad 2 here, but with a short first time delay since you're not preloading the audio. Have you tried changing the URL in case the offline cache is causing problems?

  • Hi Ashley, I will add a preload to the test app..

    I was thinking the same thing about my offline cache, so I

    added a date version text to the test game so I could tell if

    the iPad was loading my latest version.

    My current date was 1-25-2013.

    I will add a preloader, and change the date.

    Also, I'm glad to hear you got a sound on an iPad.

    I will keep trying. Is your iPad iOS 6.0 ???

    I will keep you posted, and thank you again for all your help..

    When I get this resolved, I will create a tutorial to help new users

    and post a simple test game to check the audio settings.

  • Hi Ashley, you are correct, my test game DOES work on an iPOD and an older iPAD that I have tested now..

    I will test it further on more Apple devices, however, my personal iPad still does not play the sound and I am wondering if there are any reports of this problem with the iOS 6.0 release?

    The 2 Apple devices I tested OK with are both older OS versions.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • balistrerinick - the iPad it does not work on probably has got stuck with an offline cache of a version that doesn't work (before you set your server up properly perhaps). By changing the URL, you force the browser to use a fresh cache. So try calling the folder on your server test2 or something and check again.

    Closing as this is probably just a stuck cache issue

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)