Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to play .mp3 sound files in a game I built with Crafty.js. Is this possible without converting the sound file?

share|improve this question

This really depends on the browser you're using (not all support mp3). I'd recomend using mp4 audio. This should soon be supported by all popular browsers out of the box (actually I think even the Firefox stable supports it by now; that would mean all of them).

share|improve this answer
    
I didn't notice that. I'll test the game in Google Chrome. – gnerkus May 24 '13 at 16:11

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.