Sounds

Hi all anyone having any problem with sounds. in the beginning all sounds works but after sometime everything goes mute. i have done some R&D in the forum but didn't fine any useful reply if anyone has a solution please please help me . am done with a game and sound is the blocker.

Answers

  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772
    Does it always happen at the same time in your game? Maybe at some point you are accidentally setting the sound volume to 0?
  • charliehgreencharliehgreen ArizonaMember Posts: 233
    @bhaktaraj - I'm having the same issue, along with a few others :(
    I want this issue resolved as well. This is the only thing holding me back.

    It's def. not in the code

    Help us!!!!!! lol
  • bhaktarajbhaktaraj Member, PRO Posts: 29
    Does it always happen at the same time in your game? Maybe at some point you are accidentally setting the sound volume to 0?
    No Jamie i didnt set the sound to 0 it just goes mute. did you face the same problem.
  • bhaktarajbhaktaraj Member, PRO Posts: 29
    can you post an image of your rule?
    HI thanks for the help. here is the code
    actor receives event /overlaps or collides with actor X

    play sound "jumping"

    it plays for a while and goes off. please help if you have any idea
  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    edited September 2013

    Hi @bhaktaraj I've heard of other people having this same problem... ( @charliehgreen for one, as he posted)... so it definitely seems possible there's a bug of some sort....

    • Does unchecking Run to completion in the Play Sound Behaviour help? Give that a go and see if the problem is cured.

    Some more questions, if you don't mind; could help me and others get to the bottom of it:

    • Are you using GSC for Mac or Windows?
    • Are you using the latest GSC version?
    • Is this problem when the game is running within the creator, on the computer -- or on a device?
    • What file format did you use to bring in your sounds?

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

  • charliehgreencharliehgreen ArizonaMember Posts: 233

    Hi @bhaktaraj I've heard of other people having this same problem... ( @charliehgreen for one, as he posted)... so it definitely seems possible there's a bug of some sort....

    • Does unchecking Run to completion in the Play Sound Behaviour help? Give that a go and see if the problem is cured.

    Some more questions, if you don't mind; could help me and others get to the bottom of it:

    • Are you using GSC for Mac or Windows?
    • Are you using the latest GSC version?
    • Is this problem when the game is running within the creator, on the computer -- or on a device?
    • What file format did you use to bring in your sounds?

    Answers!!
    • Does unchecking Run to completion in the Play Sound Behaviour help? Give that a go and see if the problem is cured.- - I tried this and it still does it.

    • Are you using GSC for Mac or Windows? - - I'm on a Mac.

    • Are you using the latest GSC version? - - I'm using the latest version of GSC.

    • Is this problem when the game is running within the creator, on the computer -- or on a device? It happens on the Device, but on the creator I noticed weird things like my SFX starting to static after a while.

    • What file format did you use to bring in your sounds? My SFX are all MP3.

    I was told that most people use OGG as their sound files so today I'm going to import OGG files and test it this way. If it works I'll update you.
  • bhaktarajbhaktaraj Member, PRO Posts: 29
    Hi gyroscope,
    Even am doing the same as Charliehgreen Said. and my sound file format is ogg but still happens
    • Are you using GSC for Mac or Windows? = I am using mac
    • Are you using the latest GSC version?= latest
    • Is this problem when the game is running within the creator, on the computer -- or on a device? happens in both.
    • What file format did you use to bring in your sounds? = ogg.

    Please help if you have solve this. I'm helpless searching for the solution
  • SlickZeroSlickZero Houston, TexasMember, Sous Chef Posts: 2,870
    You can try a workaround. It's more coding, but it may help.

    Tie the sound to a boolean attribute, so that when an object collides with another object, it changes the boolean attribute to true, and have a rule that says when that attribute changes to true, play a sound.

    And don't forget to change that attribute back to false in the "otherwise" section.
  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598

    Hi @bhaktaraj Sorry but eve nwith the extra info, I can't think what the problem would be... but I'll keep my eye out and let you know if I discover the reason...

    @SlickZero

    Nice solution, SZ, a bit of "trickery" might just well do it... so annoying why it's happening at all tho', I know you'd agree... touch wood I Haven't had this problem at all but there's always time, I guess....

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

  • bhaktarajbhaktaraj Member, PRO Posts: 29
    edited September 2013
    You can try a workaround. It's more coding, but it may help.

    Tie the sound to a boolean attribute, so that when an object collides with another object, it changes the boolean attribute to true, and have a rule that says when that attribute changes to true, play a sound.

    And don't forget to change that attribute back to false in the "otherwise" section.
    Thanks SlickZero: will surely try that out might workout by changing it to boolean attribute . will keep updating on this and thanks for the help :)

  • bhaktarajbhaktaraj Member, PRO Posts: 29
    You can try a workaround. It's more coding, but it may help.

    Tie the sound to a boolean attribute, so that when an object collides with another object, it changes the boolean attribute to true, and have a rule that says when that attribute changes to true, play a sound.

    And don't forget to change that attribute back to false in the "otherwise" section.

    Hi I have tried with boolean attribute, but its still da same.
  • SlickZeroSlickZero Houston, TexasMember, Sous Chef Posts: 2,870
    edited October 2013
    This has been a recurring problem I've noticed. It's happened to me as well, but the workaround fixed it.

    You should send in your project to support with a detailed description of the problem and what steps you make when this happens, and hopefully they can help you sort it out. It's supposedly been fixed in the nightly builds.
Sign In or Register to comment.