balistrerinick's Recent Forum Activity

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

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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

  • I checked my output folders that C2 creates and there is only (1) folder called "media" and there are only OGG files in there.

  • Ok, I'm new, so be gentle.

    I am a little confused about how to implement audio sounds and music

    to be most compatible.

    I found a tutorial that reads as follows...

    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

    Without these MIME types you may not hear audio after uploading your project to your server, or directly visiting the audio file's URL will return a 404 Not Found error.

    So, does this means, I need on my output server files, I need to create 2 folders and store duplicate sets of all my audio files in both OGG and MP4 formats???

  • Ok, I solved my own problem...

    I added a global variable called "LoopBusy" and set it to a "0".

    Then, I added an additional condition to my Collision loop

    if LoopBusy=0 then execute. My first instruction in this Collision

    loop is to set the LoopBusy variable to a "1" and then reset it back

    to a "0" at the end.

    Because C2 is more of a visual environment, I have had some troubles finding where everything is...

  • Ok guys,

    Sorry it's taken me so long to get my act together here at Construct2.

    Every programming language and environment seems to has it's own unique

    quirks and eccentricities.

    Anyway, here is my "For X Seconds" loop. It uses a random timer which

    goes off and my character throws an object. My problem remains that the "For X Seconds" timer appears to be going off while my SPLASH layout is being viewed. When a use clicks the START GAME button and my main GAME layout displays this "For X Seconds" loop has already executed.

    UPDATE: Since I'm new to C2, I finally got around to exporting my game to the actual HTML5 web files and I noticed that my Main Game layout is called "sheet0", and since I created my SPLASH layout afterward, it is called "sheet1".. I don't know if this matters...

    <img src="http://i.imgur.com/Y6HHn.png" border="0" />

  • I have a collision event which runs a little animation sequence.

    I need to disable any more collisions with this character until my

    animation sequence has completed.

    What is happening is this animation sequence QUES and repeats itself

    over and over.

    Any help ???

  • I will post my events sheet for each layout and hope I can find a solution..

    Basically, I've had to add global variables to keep my MAIN game layout from executing. This works for now, but, I do want to solve this at some point..

    Thank you for all the help :)

balistrerinick's avatar

balistrerinick

Member since 7 Dec, 2012

None one is following balistrerinick yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies