[solved] How i can get the first visible touched object

Get help using Construct 2

Post » Sun Feb 22, 2015 4:39 pm

hello,
me using the touch object,
i have a bord game and want show a menu icon if the user hit the board or background, not the gaming pieces.
this menü icon i hide after a time, so it not block the game area.

my problem yet:
if i hit a gaming piece i get also a unwanted touched object event at board or background.
means, i need only the clicked top object event.

now i have a layer for buttons, one for gaming pieces and one for background/board.

have someone a easy solution?
shall i use flags for it?
Last edited by MarkusR on Tue Feb 24, 2015 6:35 pm, edited 1 time in total.
B
8
S
3
Posts: 63
Reputation: 736

Post » Tue Feb 24, 2015 11:56 am

my solution i test even with one layer
You do not have the required permissions to view the files attached to this post.
B
8
S
3
Posts: 63
Reputation: 736


Return to How do I....?

Who is online

Users browsing this forum: Aquanex2, Christmas, Johnzo, tarek2 and 1 guest