Line of Sight (LOS) and multiple sprites

Bugs will be moved here once resolved.

Post » Mon Jul 01, 2013 9:01 pm

Link to .capx file:
https://dl.dropboxusercontent.com/u/2014107/LOS_Problem.capx

Steps to reproduce:
Use arrows to move the green player.

Observed result:
If you move so the larger red enemy has a line of sight to the player, it will move towards the player.
But if you move so only the smaller enemy has a line of sight to the player, it wont move until also the larger enemy has line of sight to the player.

Expected result:
The small enemy should move towards the player even if the large enemy doesn't have a line of sight to player.

Browsers affected:
Chrome: yes
Firefox: yes
Internet Explorer: yes

Operating system & service pack:
Up to date Windows 7

Construct 2 version:
r136
    
B
31
S
6
G
1
Posts: 19
Reputation: 3,828

Post » Tue Jul 02, 2013 11:33 am

@Soren , just put for each enemy above it (in same condition as los)
i checked it works
ImageImage
B
68
S
20
G
7
Posts: 820
Reputation: 9,878

Post » Tue Jul 02, 2013 12:25 pm

Thanks, good find. Should be fixed in next build.
Scirra Founder
B
383
S
224
G
86
Posts: 24,118
Reputation: 190,444


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 4 guests