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
70
S
21
G
7
Posts: 827
Reputation: 10,052

Post » Tue Jul 02, 2013 12:25 pm

Thanks, good find. Should be fixed in next build.
Scirra Founder
B
395
S
232
G
88
Posts: 24,371
Reputation: 193,772


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 3 guests