How do I make only one box to be invixible while overlapping

Get help using Construct 2

Post » Sun Dec 21, 2014 4:35 pm

:shock: Hello..

I have been trying to figure this thing out many times and i hope some one can help me with this problem..

I would like to make a platform game. When the player is overlaping an objekt i woud like to press CTRL and then the obekt i overlaping get invisible.

The problem is that the secondary objecst also get invisible while pressing CTRL.

Please help me... i have an example to.. Thanks!
You do not have the required permissions to view the files attached to this post.
B
8
S
1
Posts: 14
Reputation: 569

Post » Sun Dec 21, 2014 6:05 pm

,,,,,,,,,,,,,,,
You do not have the required permissions to view the files attached to this post.
Image
B
65
S
23
G
7
Posts: 1,505
Reputation: 10,896

Post » Sun Dec 21, 2014 6:12 pm

another solution...
You do not have the required permissions to view the files attached to this post.
B
13
S
4
G
2
Posts: 14
Reputation: 2,324

Post » Sun Dec 21, 2014 6:24 pm

Haha.. wow.. That whas just to easy! I where fighting with the global ting... But is there any other way to solve this thing "with the global" idéa or is it just thrue & false that is the thing?

Thank you very mutch Korbaach.. Im sorry that i totaly suck on this construct programing thing. I bought this for like one year ago and i have still not ben able to make one singel game :)

:oops:
B
8
S
1
Posts: 14
Reputation: 569

Post » Sun Dec 21, 2014 7:48 pm

check @Bezza solution ...
with global variable..you need to pick specific sprite....it is much easier to use Instance variables for sprites..
you can use True&False or 0&1..
You do not have the required permissions to view the files attached to this post.
Image
B
65
S
23
G
7
Posts: 1,505
Reputation: 10,896

Post » Mon Jan 19, 2015 6:45 pm

Thanks!
B
8
S
1
Posts: 14
Reputation: 569


Return to How do I....?

Who is online

Users browsing this forum: Cub3D, David181, yiuyiu6666 and 24 guests