When not touching

0 favourites
  • 3 posts
From the Asset Store
Surena Touch
$2.50 USD
A wrap from official Touch plugin to export touch/mouse input to other plugins.
  • Hello peoples,

    I am trying to make a game, duh. And when the player is standing on a button then a variable is now 1 But how can I get it when the player isn't touching then the variable is now 0. When the variable is 1 something becomes invisible so if I use the 'every tick' to set the variable to 0 - the thing is then visible - if flickers <img src="smileys/smiley7.gif" border="0" align="middle" />

    It would be useful if I could use a 'Else' condition, but Construct 2 doesn't have one <img src="smileys/smiley5.gif" border="0" align="middle" /> .

    How could I get it so when the player isn't touching the button then the variable becomes 0 without using the 'every tick' condition, thanks. <img src="smileys/smiley1.gif" border="0" align="middle" />

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Set a condition Player.On collision with an object Button then right click on the condition itself (it should make the condition alone highlighted with a yellow frame) and select "Invert" in the contextual menu.

    This means "Player is NOT colliding with Button".

    This issue has been covered several times in the forum, be sure to make a "search" before posting.

  • I can't invert this <img src="smileys/smiley6.gif" border="0" align="middle" /> it won't let me

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