My Else has stopped working...

Get help using Construct 2

Post » Thu Sep 19, 2013 10:43 am

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?

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



Thanksmonsieurcobaye2013-09-19 12:41:35
B
3
Posts: 7
Reputation: 189

Post » Thu Sep 19, 2013 10:46 am

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: Noc4sp3r892013-09-19 10:47:18
B
17
S
8
G
4
Posts: 93
Reputation: 3,190

Post » Thu Sep 19, 2013 12:44 pm

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.
B
3
Posts: 7
Reputation: 189


Return to How do I....?

Who is online

Users browsing this forum: AkbarAsgharMG and 24 guests