0 Favourites

Playing music using X2Audio

This forum is currently in read-only mode.
  • 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.

  • 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.

  • Construct 3

    Buy Construct 3

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

    Buy Now Construct 3 users don't see these ads
  • 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)