How do I for disable action behind a object?

Get help using Construct 2

Post » Sun Dec 18, 2016 3:27 pm

I got a problem again. :cry: I make interface like that. I want if the button exit on clicked then the panel will show and all buttons behind the panel can't clicked. Can anyone help me?
Image
B
9
Posts: 20
Reputation: 367

Post » Mon Dec 19, 2016 11:26 am

You can check if the HUD to exit is active and them put all the events of the behind part inside this check, if it's not active, the behind scene will run, else, run the front code.
Image
B
108
S
24
G
18
Posts: 1,372
Reputation: 22,817

Post » Mon Dec 19, 2016 1:44 pm

To rephrase TELLES0808
yep. Just add another condition to clicks on back buttons like Is Visible, Is Overlappin, Is on layer and then right click on it and make Invert so will be back buttons act only when forward... thing is not overlapping or not on screen etc.
If I understand you right.
B
9
S
1
Posts: 65
Reputation: 861

Post » Fri Dec 23, 2016 5:18 am

Can someone share simple the capx? I little confused now T___T
B
9
Posts: 20
Reputation: 367

Post » Fri Dec 23, 2016 5:49 am

TELLES0808 wrote:You can check if the HUD to exit is active and them put all the events of the behind part inside this check, if it's not active, the behind scene will run, else, run the front code.


I put all in the group. Thanks I got it now
B
9
Posts: 20
Reputation: 367

Post » Fri Dec 23, 2016 4:53 pm

Or just simply disable the collision of the family buttons :)
B
38
S
10
G
9
Posts: 212
Reputation: 6,995


Return to How do I....?

Who is online

Users browsing this forum: Baidu [Spider], Kin and 35 guests