If Touch, Play Sound has stopped working

jkornoffjkornoff Member Posts: 55
edited November -1 in Tech Support
My control button had a sound attached to them to confirm they were pressed. A small 'bing' sound. Now, .82, no sound at all. Delete play sound rule and recreate it? Nope.

I've read the posts about triggering an attribute to play a sound. But really? An entire basic behavior lost to .82?

Comments

  • firemaplegamesfiremaplegames Member Posts: 3,211
    What else does your button do? Change Scenes? Destroy the actor?

    For any of these, just try adding a small Timer like this:

    Rule
    When Touch is Pressed
    Play Sound "Goodbye.ogg"
    Timer
    After 0.1 seconds
    Change Scene
  • jkornoffjkornoff Member Posts: 55
    Yep, it's change scenes. I'll go back and take a look at all that.

    UPDATE- Yes, that worked. What's the logic behind this workaround?
  • ORBZORBZ Member Posts: 1,304
    Change scene fires first, before the sound can complete.

    The "run to completion" checkbox SHOULD bump the priority of the sound to the top BUT it doesn't.

    The slight delay firemaple illustrated gives the sound effect a chance to steal priority.

    Remember, A before B before G where A = Action, B=behavior, G=rule or group.

    Except that if two or more things are the same (2 A's) they execute in parallel.
  • firemaplegamesfiremaplegames Member Posts: 3,211
    yeah, with the 0.82 update, Destroy and Change Scene are now executing first. With Timers, you can order the behaviors how you want them.
Sign In or Register to comment.