*[SOLVED]* Sound not playing on Nexus 7

0 favourites
  • 5 posts
From the Asset Store
In this template the music plays without looping in your game
  • I've created two buttons on screen and want a sound to play when I press them. Here is the event sheet.

    <img src="http://imageshack.us/a/img198/7187/kt09.jpg" border="0" />

    This runs fine in the firefox browser on the PC but when exporting it through Cocoonjs and running it on the Android Nexus 7 tablet everything runs fine except there is no sound when I press a button.

    This is my first time experimenting putting home made stuff on a tablet and no doubt made a stupid error. Can anyone help?

    Thanks. :)

  • Probably use the preload sound action in the start of layout and make sure your player is only able to click the button once the sound loading is complete.

  • You only have a .ogg file in your screenshot. You need both .m4a and .ogg file to cover all platforms. See Importing audio

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I did import the sound as you described Ashley and it said it converted successfully although it does say "won't convert to ACC" in the details after importing. I guess it has something to do with the sound file?

    Edit:Oh and they were .ogg files to begin with.

  • It was the sound file, I assumed everything was ok as it 'imported successfully'. I converted the sound to a pcm wav and reimported it and now it works fine.

    Thanks for the help though, much appreciated. :)

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)