How do I create object which doesnt get through another obj.

Get help using Construct 2

Post » Sun Nov 23, 2014 5:56 pm

Hi, I have no idea how to do this. It should simulate a "view" (image):

Image

Do you think is it possible via Construct 2?

Thanks for reply
B
3
Posts: 4
Reputation: 183

Post » Sun Nov 23, 2014 6:53 pm

Hi @Gravitr - do you mean for mapping the line-of-sight within a certain range - distance and angle?
Image
B
9
S
3
G
1
Posts: 346
Reputation: 1,560

Post » Sun Nov 23, 2014 9:14 pm

Yes, that's I mean.
btw, I've looked on line of sight behaivor but I dont know how to use it for this situation :|
B
3
Posts: 4
Reputation: 183

Post » Mon Nov 24, 2014 3:16 am

Look at the Shadow casting behavior, it was made for that.
B
92
S
32
G
106
Posts: 5,272
Reputation: 69,455

Post » Mon Nov 24, 2014 4:49 pm

Okay, thanks, but now it's over object, which should "swallow" it, but it doesnt (light goes through it)
B
3
Posts: 4
Reputation: 183

Post » Tue Nov 25, 2014 7:11 pm

But its still impossible to hide object on collision, like this:
Image
You cant simply hide the part of blue object (sprite), which is in red shape, right?
B
3
Posts: 4
Reputation: 183


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 9 guests