No audio in exported UWP projects

0 favourites
  • 6 posts
From the Asset Store
With this template you can create your own archer game and customize it however you want.
  • Problem Description

    Audio not played in exported UWP projects from Construct 2.

    Attach a Capx

    https://yadi.sk/d/9JbbIGtU3X9yRh

    Description of Capx

    Touch "Play Sound" button for playing sound, touch "Play Music" button for playing loop music, touch "Stop" button for stopping music.

    Steps to Reproduce Bug

    1. Export project for UWP

    2. Change TargetPlatformVersion in .jsproj file to 10.0.17134.0

    3. Open project in Visual Studio 2017

    4. Build project for x64 on Local Machine

    Observed Result

    Touch buttons not play any sound

    Expected Result

    Touching "Play Sound" button is played sound, touching "Play Music" button is played loop music.

    Affected Browsers

    Edge: (YES)

    Operating System and Service Pack

    Windows 10 Home v1803

    Construct 2 Version ID

    r254

  • Ashley

    Will this problem has been fixed in a future build of C2? I can't update my game because of this.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yes, this will be fixed in the next beta of C2. To work around it I think you can just change that line to the following after export:

    useOgg = false;

  • Yes, this will be fixed in the next beta of C2. To work around it I think you can just change that line to the following after export:

    useOgg = false;

    Thank you for answer! It's works! :)

  • I have changed that line in the runtime.js of the audio plugin, exported and it works!

    Thanks!

  • This should be fixed as of r260.

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