PlaySound crash the app [resolved]
Monkey Forums/Monkey Programming/PlaySound crash the app [resolved]
| ||
Here it is the whole story: I added some sounds to my game (.wav). Tested in html5 and was ok. I then added a music: (.m4a) and I was able to start it only 2 times. I thought maybe is a browser problem and I made an android build to test it. On Android the music is not starting when the game start. Ok, so I pressed my "new game" button. This one should play a little beep. here my application crash. So basically: PlaySound - crash my Android app PlayMusic - does not work anymore on html5 and Android. However is not crashing my Android. EDIT: What does mean? GET D:/projects/monkeyRailroad/ios/main.build/html5/data/sounds/music.m4a (206 Partial Content: 0-1252428) |
| ||
actually me stupid: I used: loadSound("sounds\sound1.wav) instead of loadSound("sounds/sound1.wav") and for the music it seems that FF and Android are not able to play m4a :) |