Range of view with collision detector

Get help using Construct 2

Post » Wed Feb 05, 2014 11:14 am

Hi,

I want to made a range of view for my game enemys. Is in construct 2 simple posibility to make something like on image below:


B
6
S
1
Posts: 31
Reputation: 581

Post » Wed Feb 05, 2014 11:17 am

Check: Line of sight   (LOS)
Who dares wins
B
57
S
17
G
21
Posts: 1,878
Reputation: 19,572

Post » Wed Feb 05, 2014 11:30 am

I fing this thread - http://www.scirra.com/forum/c2enemy-line-of-sight_topic45095.html

But one source died, and second there is not what needs. They make a single line, it's good for game with topview camera. I want made this for side view game, and it's must be something more then single line.

wasiu92014-02-05 11:30:29
B
6
S
1
Posts: 31
Reputation: 581

Post » Wed Feb 05, 2014 11:34 am

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

Post » Wed Feb 05, 2014 11:35 am

You may tried with an invisible sprite pinned to your ennemi and put where your line of sight end. Then test yhis invisible sprite collision with obstacles
B
35
S
14
G
5
Posts: 238
Reputation: 5,621

Post » Wed Feb 05, 2014 12:36 pm

Thx all!
B
6
S
1
Posts: 31
Reputation: 581


Return to How do I....?

Who is online

Users browsing this forum: divsyntax, pmerineau and 10 guests