Playing music using X2Audio

This forum is currently in read-only mode.
From the Asset Store
With this template you will learn how to use the GooglePlay Games native plugin
  • I tried to go back to Tom Mahler's X2Audio video but he's taken it off his site and the link is broken, cause much expressive primal rage.

    I formatted my PC about a month ago and I lost all track of Construct. Today I re-installed it and am continuing to work on my GT1 clone. However, I've forgotten how to play music through X2Audio.

    I have X2 added as an object and I've imported my music into the Music tab of Resources.

    When I go to create an event "Start of layout -> Play music from file" it gives me something about AppPath and Filename. When I go to go "Start of layout -> Play music from resource" there is no file in the drop down list.

    I'm pretty P.O'ed and I was wondering if there was any back-up of Mr. Mahler's video anywhere or if someone can just tell me what I'm doing wrong.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Don't add it as a resource. Put it in the directory of your .cap and "play music from file" > apppath&"filename.mp3"

    With the sounds out of the .cap, it makes them easier to change/tweak if necessary.

  • If you want to have the sound/music files contained inside the game instead of in the directory, you can do it the exact same way you tried to.

    The only thing is that you must add them to 'Files' ressources instead of 'Sounds' or 'Music' ones.

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