How do I

Get help using Construct 2

Post » Wed Sep 16, 2015 12:12 pm

I have layout
which contains two things
> one is background selection
> second is player selection
both have 6 icons
6 of BG and 6 of Player
top of the layer i have give buttons named background and player
.
.
now my want is
if i click background button then player icons should be invisible
and if i click player button then background icon should be invisible
.
i had tried invisible option
i.e click player button > BG icon invisible

it works fine
but problem is
when BG icons are invisible they are still working
means
now player icons are active
if i click player icon then it clicks BG icon too.
.
.
.
.
.
give any suggestion in this regard
Image
B
64
S
39
G
46
Posts: 656
Reputation: 32,728

Post » Wed Sep 16, 2015 12:18 pm

Add an is visible condition to the on clicked event?

or put the events in groups and disable the group when the buttons are invisible?

Change a variable and check for the variable in the on clicked event?
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775


Return to How do I....?

Who is online

Users browsing this forum: ST314 and 31 guests