I'm I doing something wrong?

0 favourites
  • 1 posts
From the Asset Store
Be quick and choose whether the shown equation is right or wrong.
  • I'm working on the menu for my game, and the vibrate/sound buttons aren't working. I just have a simple on/off for them so nothing too fancy.

    However, when the sound is on I can't click on the button to turn it off. If it's off I can turn it on though.

    The set up goes like:

    System: Sound = 1 | Sound_Icon: Set animation to "Yes"

                                   Audio: Set silent

              Touch: Sound Icon | System: Set Sound to 0

    System: Else | Sound_Icon: Set animation to "No"

                          Audio: Set not silent

              Touch: Sound_Icon | System: Set Sound to 1

    I tried adding a "Toggle Once if true" but that didn't work. I also changed the "Else" to "Sound = 0" and that didn't work either. Not sure why it isn't though.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)