My Else has stopped working...

0 favourites
  • 3 posts
  • Hi all. I made an event to toggle a sprite between 100 and 25 opacity when it is clicked on. It also toggles the instance variable between 1 and 0 to tell me whether it has been selected. Initially everything was fine and it worked, but now it will only work if I remove the Touch condition. Why did it work before but not now? Why does removing the Touch condition help? <img src="smileys/smiley5.gif" border="0" align="middle" />

    In this image the working event is at the top and the non-working event below.

    <img src="http://http://quest.heritagemeanings.com/stupidelse.jpg" border="0" />

    Thanks

  • On touch will be triggered also when you click. Just using the touch is enough.

    Or you can set your touch properties, use mouse input: No

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ah, so I don't need to have both?

    Well, that makes things a bit easier. Thanks, c4sp3r89.

    I am still confused about why it did work and now doesn't, but I guess I'll have to just live with that.

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