How do I click/tap on object without effecting those below?

Get help using Construct 2

Post » Thu Nov 05, 2015 9:42 am

I am working on a game, in which the user is to tap on the screen to win the game, as well as tap on coins to collect these. The problem I'm having is that I when the user taps on the coin, they are also automatically tapping on the screen. I found a small solution for desktops, by using "cursor over object" rather than "object clicked", however I need an equivalent or similar for mobile devices.
B
5
Posts: 36
Reputation: 301

Post » Thu Nov 05, 2015 9:54 am

Try:

Touch| On tap gesture
...Touch| Is touching Coin -> 'do something with coin'
...System| Else -> 'do something where only screen is touched'
B
24
S
3
G
1
Posts: 451
Reputation: 2,165

Post » Thu Nov 05, 2015 2:30 pm

Thanks :) Worked perfectly
B
5
Posts: 36
Reputation: 301


Return to How do I....?

Who is online

Users browsing this forum: Artcadev, brunopalermo, Jackriduk and 27 guests