Hello all! I’ve been playing with GDevelop for about a week and it’s a lot of fun.
I am having a couple of audio issues when trying an APK on my phone. I have an HTML5 base game. I tried both exporting to regular HTML5 and exporting to Cordova before building with Intel XDK, and I get the same behavior either way. I also tried different versions of the Cordova plugin.
Issue 1:
My sound effects don’t play on Android. I am using the event “Play the sound XYZ” with an mp3 file.
Issue 2:
Music will start, but will not stop. This causes multiple tracks to play on scene changes. I am using the events “Play the music XYZ on channel N” looped, with an mp3, and “Stop playing music on channel N.”
I have no audio issues when playing the play HTML5 export of my game in a web browser.
I just tried “stop all sound and music on startup” both checked and unchecked. Unfortunately, it didn’t seem to change any of the behavior I’ve observed.
The library managing audio on HTML5 games has been updated for the next version of GDevelop. It fixes a bug with music looping and it may fix other issues.
Sorry for reviving a month-old topic, but I’m also experiencing this non-stopping audio problem with my music when creating a build with XDK. My game is practically done, but I can’t release it until this error is fixed - just wondering how long it’s going to take before the next update that fixes this problem come out.