Actor Behavior - Mute Button - Android [NEED GAME]

bigleaphr

  • Posts: 188
Actor Behavior - Mute Button - Does not work in Android. Sound keeps playing even though the animation is showing mute.

« Last Edit: November 08, 2012, 04:27:48 pm by Jon »

captaincomic

  • *
  • Posts: 6108
Looking at the Mute Button behavior I don't see why it wouldn't work on Android. Can you test if the behavior is the problem, or if "set volumn to 0 %" doesn't work on Android at all?

Edit: Or maybe it's a problem that there is a touch and a mouse event, both toggling the mute state. Does it work when you delete the touch event?

Jon

  • *
  • Posts: 17524
Posting a sample game always helps take out the guesswork. Thanks.

Jon

  • *
  • Posts: 17524
Bump, still want to see the game.

bigleaphr

  • Posts: 188
Looking at the Mute Button behavior I don't see why it wouldn't work on Android. Can you test if the behavior is the problem, or if "set volumn to 0 %" doesn't work on Android at all?

Edit: Or maybe it's a problem that there is a touch and a mouse event, both toggling the mute state. Does it work when you delete the touch event?

I removed the behavior and set "set volume to 0 %" = doesn't work on Android at all.

Also i did email you project link today Jon. That should work for this problem too. Though i did not activate Atlases in that version, so the APK may not work.

Would you like a final build APK to test?

bigleaphr

  • Posts: 188
I worked around it. Removed the Behaviour and Put a Boolean to test Sound True/False and that would decide to play the sound or not.