Touch screen and object conflicts

Get help using Construct 2

Post » Sat Jan 26, 2013 11:12 am

Hi, I have a very noob question about touch controls. and I think its very common case:

I have a "Is in touch" event that when player touch anywhere on screen it do A.
and I also have a button on screen. when player touch that button, I want player do B.
Now player will do both A and B if I touch the button. how do I fix this?
B
14
S
2
G
1
Posts: 94
Reputation: 2,089

Post » Sat Jan 26, 2013 1:46 pm

In your event to detect "is in touch", you should create an invert condition "is touching object", with the object being the button.
B
56
S
15
G
10
Posts: 910
Reputation: 11,972


Return to How do I....?

Who is online

Users browsing this forum: alextro, MarkStockley and 0 guests