balistrerinick's Forum Posts

  • 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. :)

  • 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

    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. :)

  • Hi Ashley, thank you for the help..

    I apologize if I seem like a pain, I just haven't found a good reason or explanation as to what could be the problem.

    Here are links to my latest test post, which I date coded on the screen so I could verify that latest version is posted and running when I'm testing.

    SInce I can play the sound file link on the iPad iOS 6.0 and it works, I have to assume my server is set up and the iPad can play the "boing_x.m4a" file from my site ok.

    So, the problem must be C2 itself, or my code within C2. I have a much larger game that I am also unable to hear on the iPad, which is why I created a simple test game to debug my problem.

    I really appreciate any help I can get resolving this problem. I think I have it isolated to the game code, but I am at a loss as to why? Works everywhere else.

    Test Game

    brotechentertainment.com/test/index.html

    Single File CAPX

    brotechentertainment.com/test/test_single_file.capx

    Sound

    brotechentertainment.com/test/media/boing_x.m4a

  • Ashley

    I was hoping you may know what could be casuing my final hang up regarding no sound just iPad.

    I searched the forums and followed all the help I've gotten and I can hear my test sound on Chrome, Explorer, and Mozilla. I can also hear

    it on my ANdroid cell phone. My Touch button events work also.

    I have updated my test game pattern to count each time the button is touched so I know the Touch button function is executed.

    I created a TXT file called ".htaccess" and put it in my root game directory, and also my home directory..

    Here is what is in the .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

    When I execute the sound effect URL within the iPad, it works, so I must believe that my server settings should be correct since this sound file is located on my website..

    Boing Sound effect

    brotechentertainment.com/test/media/boing_x.m4a

    Here is the CAPX

    brotechentertainment.com/test/test1.capx

    So, to recap, button touch makes the sound on Android.

    Button Touch on iPad counts off, meaning button touch works, but no sounds.

    Here is s link to my test game pattern I made to resolve this issue.

    HELP !!!!!

    I can't move ahead with my actual game until I resolve this...

    brotechentertainment.com/test/index.html

  • chrislechat,

    Did you ever resolve this problem with no sound on the iPad?

    I just started with C2 and I have the same exact problem.

    I even created a simple test pattern with just a button that

    makes the sound effect "Boing".. Works on everything but the

    iPad.

    Here's my post on this problem..

    scirra.com/forum/topic62244.html

  • A link to the MIME file discussed earlier

    brotechentertainment.com/test/.htaccess

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • This link plays the BOING sound just fine directly, however, not when thru my test game.. ???????????????????????????????????????????????

    Boing Sound effect

    brotechentertainment.com/test/media/boing_x.m4a

    Here is the CAPX

    brotechentertainment.com/test/test1.capx

  • Thank you rfisher...

    Here is a link to my test page..

    brotechentertainment.com/test/index.html

    This basically has one button that makes a BOING sound effect

    and counts each button click.

    It also is touch enabled for cell phones and tablets.

    Test Results

    Explorer = OK

    Chrome = OK

    Mozilla = OK

    Android = OK (slow button response for some reason)

    iPad = No sound still

    Any ideas what could be the problem with the iPad ??

  • Ok, I found this C2 tutorial, but I don't think it explains very well what to do, or how to do it..

    MIME types

    In order for your server to send audio files correctly, it must be set up with the following MIME types:

    .ogg as audio/ogg

    .m4a as audio/mp4

    This explanation could offer a little bit more information to be helpful.

  • or is it AddType audio/mp4 ???

  • Ashley or anyone who knows...

    I contacted Go Daddy and was sent an email describing what I need to do..

    I hope this may help others who bump into this same problem in the future.

    Here is what I was told to do...

    -------------------------------------------------------------------------------------------

    You can configure MIME types on your Linux hosting account using a .htaccess file. When you configure MIME types in your .htaccess file, you associate file types with a specific application or action.

    For example:

    AddType application/x-shockwave-flash swf

    AddType specified you are adding a new mime type (file type).

    application/x-shockwave-flash is the actual mime parameter specs.

    swf is the extension of the file type.

    -------------------------------------------------------------------------------------------

    So, regarding my current problem, I'm just a little confused on the syntax of what the notation should be.

    I create a TEXT file called ".htaccess" ???

    I then type in a line that reads,

    AddType application/ ???

    Then I post this file to root directory of my host site?

    Also, will I need to Addtype to any other file types for C2 to function properly

    on most browsers???

    I apologize if I'm asking what seems like dumb questions, but I've never set up a website so this is all new to me.

  • Hey Ashley,

    Thank you for the help..

    You must be right, this is my first game and I just created

    my website at Go Daddy a week ago.

    So, I import WAV files into C2, then C2 creates the ogg and m4a files..

    I export my game to a HTML5 website.

    I then FTP the game file to my actual website.

    Now, to make sure I understand, I need to go to Go Daddy and set-up the MIME types to send the audio as audio/mp4 type?

    That should be in my Go Daddy control panel and they have excellent tech support so I should be able to figure it out..

    Thank you sooo much Ashley and everybody else.. :)

  • Here is a link to my CAPX if that helps

    brotechentertainment.com/test/test1.capx

  • Hey Guys,

    Thank you for all the advice.

    As a test, I created a simple game and inported a WAV file

    that plays a "BOING" sound when you play a button.

    C2 created the OGG and m4a files ok. I play them and they work.

    I test in CHROME and all is well, with this test game and with my

    actual game. However, I am unable to hear the sound in Explorer on a

    WIN7 PC. or on my iPad when I click the button.

    I implemented the TOUCH for the iPad.

    Could anyone test this and maybe see what it is I am doing wrong???

    Click here to test...

    brotechentertainment.com/test/index.html