help sound

This forum is currently in read-only mode.
  • won make appacth sound won play were paste of sounds

    please exemple tx

  • uhh... I didn't understand that well :S. If you want to play sounds in the game use the "XAudio2" object and an action like:

    XAudio2 : Autoplay file Apppath & "filename.wav"

  • yes im try this not work

  • pedronox. What is your home language? it might benefit you if you use google translate to translate what you want to ask, from your home language to English. That way people can help you better.

  • XAudio2: Autoplay file AppPath & "filename.wav"

    I post this but not working example needed

  • Is that what you're putting in the condition, exactly? Because "filename.wav" is just a placeholder. You're supposed to replace it with the name of the file you want to play, and that file has to be in the same folder(or under) the folder the game is in. That's what "AppPath" means, the path to the location of the game's file.

    Say, in your game folder, you have another folder called Sound Effects, and a sound called Jump that you want to play. Then you would have to say, "XAudio2: Autoplay file AppPath & "Sound Effects/jump.wav" " in order for it to work properly.

    Let me know if you didn't quite get it, I'll try to reword it as best I can. Don't worry, though, it confused me when I first started using it, too.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • ok fix tanks

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