Mouse click changing values not working?

0 favourites
  • 4 posts
From the Asset Store
Total customisation of the input! You can combine inputs from all peripherals. Make your game accessible for everyone!
  • Wanted to start off by saying Hello! I have intermediate level knowledge on Construct 2 and have just recently begun my first full game.

    This is a potentially stupid question since I am currently sleep deprived and burnt out on working on coding all day...

    Anyway, I am working on the basic menu system and had wanted a mouse click to change the graphics settings. However using this event sheet:

    (if the image doesn't load the imgur code is 4dDB5VQ)

    It doesn't change the variable or the text, though it does play the sound effect "Mouse".

    Also for context the text object is "GRAPHICS: HIGH" at launch.

    Any help would be awesome and greatly appreciated.

    Thanks,

    -Z

  • Looks like you need an OR for the two events, because if the 1st event is true, it changes the value of 'GRAPHICS' which then makes the second event true.

  • if it can be only 1 or 0, an else would be a better choice.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • if it can be only 1 or 0, an else would be a better choice.

    Thanks so much! Worked great.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)