How do I solve this PLEASE !!!???

Get help using Construct 2

Post » Mon Nov 03, 2014 7:32 am

hi all ..
actually this problem drive me crazy ..
i want when i touch (object1) the ( object2 be invisible) , and when i touch (object1) again then the ( object2 be visible !) .. and so on . ( file attached )
any help will be highly appreciated.
You do not have the required permissions to view the files attached to this post.
B
3
Posts: 9
Reputation: 193

Post » Mon Nov 03, 2014 7:38 am

make an instance variable called isVisible to object2.
whenever object 1 is clicked, check whether isVisible is true or not.
if false set it to true, then set object2 to invisible.
if true, set it to false, then set object2 to visible.
"If you want to move a mountain tomorrow, you should start by lifting stones today."
B
64
S
14
G
2
Posts: 291
Reputation: 6,666

Post » Mon Nov 03, 2014 7:39 am

try this

visible_toggle.png
You do not have the required permissions to view the files attached to this post.
B
24
S
9
G
4
Posts: 1,646
Reputation: 6,596

Post » Mon Nov 03, 2014 7:49 am

to (( codah ))

Thanx .. really your help was high appreciated from me .. thanx for your time ,, hope you the best .
B
3
Posts: 9
Reputation: 193

Post » Mon Nov 03, 2014 7:50 am

codah wrote:try this

visible_toggle.png

to (( codah ))

Thanx .. really your help was high appreciated from me .. thanx for your time ,, hope you the best .
B
3
Posts: 9
Reputation: 193

Post » Mon Nov 03, 2014 8:03 am

you're welcome. @puntodamar 's solution is equally fine
B
24
S
9
G
4
Posts: 1,646
Reputation: 6,596


Return to How do I....?

Who is online

Users browsing this forum: 25games, Artcadev, brunopalermo, MaxxMunnn, mcscooter, Soluna Software and 28 guests