Link to .capx file (required!):
dl.dropbox.com/u/62939951/patherror.capx
Steps to reproduce:
1. using a demo pathfinding in construct open layout 1
2. clone object type from obstacle(black) and change the color to red
3. clone object type from sprite(green) and change the color to purple
4. change the sprite(green) pathfinding CellSize 16 and cellBorder 0
5. change the sprite(purple) pathfinding CellSize 14 and cellBorder 0
6. change the sprite(purple&green)obstacle to custom
7. open event sheet 1 add on Start of layout
8. add obstacle(black) to sprite(green) on start of layout
9. add obstacle(red) to sprite(purple) on start of layout
10. add sprite(purple)find path to touch.x & y on any touch start
11. add sprite(purple) move along path on path found
12. duplicate layout 1
13. add event sheet 1 to layout 2
14. add on "N" pressed go to layout 2 on keyboard pressed
15. run in firefox
16. click anywhere and the pathfinding run well
17. click the "N" on the keyboard to go to layout 2
18. touch anywhere on right side around the obstacle and the pathfinding cant get the path but it can get the path when there is no obstacle like in the left side (the white area in left side).
Observed result:
This happens only in firefox and IE but not on chrome.
Expected result:
it's run well on all browser
Browsers affected:
Chrome: no
Firefox: yes
Internet Explorer: yes
Operating system & service pack:
Windows 8 Pro
Construct 2 version:
Release 121 (32-bit) Checked