Sound Problem

easybusyeasybusy Member, PRO Posts: 11
edited November -1 in Working with GS (Mac)
Hallo,
I have a simple sound problem working with a game with one scene.
I have an actor that fires bullets when I press the mouse and there is a sound like gun machine, but when the actor die and I press "play again" the gun machine sound remains. How can I stop the sound when the actor die?
Thank yout fir your help
easybusy

Comments

  • quantumsheepquantumsheep Member Posts: 8,188
    In the rule that says

    "When mouse button is down"
    "Play machine gun sound"

    Change it to:
    "When mouse button is down" AND "When player is alive"
    "Play Machine Gun sound"

    Hope that helps,

    QS :D

    Dr. Sam Beckett never returned home...
    Twitter: https://twitter.com/Quantum_Sheep
    Web: https://quantumsheep.itch.io

  • easybusyeasybusy Member, PRO Posts: 11
    Thank you quantumsheep
    unfortunately it does not work. I do not know why but I am sure the fault is mine.
    Is there any other alternative way?
    Thank you
    easybusy
Sign In or Register to comment.