Creating a predictable range of vision for enemies

Get help using Construct 2

Post » Wed Jul 31, 2013 6:32 am

So I'm wondering how to show a player what the enemies can and can't see.

At first I drew a semi-circle and used the line of sight to do this. Problem is, the semi-circle sprite goes through platforms where the enemies clearly can't see.

Currently, I'm looking at placing boxes all throughout the game and saying if they're within a certain range of an enemy they will be visible with say 30% opacity. Having troubles with getting them to do this. It also seems quite demanding to do this.

Does anyone have a more elegant solution?bachrock2013-08-02 22:28:35
B
10
S
4
G
3
Posts: 103
Reputation: 2,984

Post » Fri Aug 02, 2013 10:29 pm

Maybe there's a different way of conveying such information to the player?
B
10
S
4
G
3
Posts: 103
Reputation: 2,984

Post » Tue Oct 22, 2013 5:23 pm

How have others gone about this?
B
10
S
4
G
3
Posts: 103
Reputation: 2,984

Post » Tue Oct 22, 2013 10:02 pm

use the distance expression in the math part of system's expressions to do this.
B
21
S
4
G
4
Posts: 280
Reputation: 2,934

Post » Wed Oct 23, 2013 5:51 pm

@toralord
I know how to detect this mathematically. I'm looking for a graphical way to show the ranges to the player.
B
10
S
4
G
3
Posts: 103
Reputation: 2,984


Return to How do I....?

Who is online

Users browsing this forum: jorgmaquoi, Rable, senecaa and 14 guests