A little problem with playing sound - it disappears

Hi all,

So, I have a problem with sound at the moment.

In my game, a sound is called a number of times when an event happens. However, after it has been called a few times (maybe 5 or 6), it is never played again, even though the on-screen visual effect is displayed. If I reset the scene, it works again, but of course, I can't do this in the game :)

Any thoughts/ideas/suggestions?

Cheers in advance!

Comments

  • charliehgreencharliehgreen ArizonaMember Posts: 233
    This is what I do, I create an interger attribute and name it "SoundPlay"

    On the actors or when that event is called I add a rule that says "change attribute soundplay to 1" and on the otherwise I say "Change attribute soundplay to 0"

    Then on the scene make a rule that says, when soundplay = 1, play sound.
  • charliehgreencharliehgreen ArizonaMember Posts: 233
    Works like a charm for me :)
  • DaveGWelshDaveGWelsh Member Posts: 60
    edited January 2014
    This is what I do but after it is played say 5 or 6 times, the actor is triggered but the sound doesn't play.

    If anyone has any suggestions, that would be awesome. The game is really small, so I seriously doubt its a memory issue.

    The sounds just cut out.

    Can sounds be played to often? That sounds like a really noob question, I know, but i'm trying to go through all possibilities.
  • charliehgreencharliehgreen ArizonaMember Posts: 233
    Yeah they can, I have a game where sounds are played hundreds of times back to back with no issue.

    Hmmmm
  • DaveGWelshDaveGWelsh Member Posts: 60
    Ok, this seems to be a known issue. Here's another forum post about it.

    https://forums.gamesalad.com/discussion/57827/possible-bug-sound-effects-cutting-out
  • DaveGWelshDaveGWelsh Member Posts: 60
    Ok, another update to maybe track down the issue.

    It's not ALL sounds that is being affected. it's only those which are attached to actors that are called at certain times. Other sounds, which are just running as normal are not affected. However, those which are attached to actors which are called depending on an attribute are switched off after a while.
  • DaveGWelshDaveGWelsh Member Posts: 60
    Has there been any word on an update to the sound cut-off bug?
Sign In or Register to comment.