pathfinding bug Layout

Bugs will be moved here once resolved.

Post » Mon Jan 11, 2016 9:35 pm

Message: frayt can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
Problem Description
I'm using pathfinding to move the player to the click of the mouse coursor (mouse.x , mouse.y)
it been working fine until I notice this disturbing bug.

Attach a Capx
https://drive.google.com/file/d/0BwdOkz ... J3MW8/view
Description of Capx
launch from layout 1 and follow the bush, until you can click on the yellow block. then on layout 2, follow again the bush and you will found the pathfinding bug.

Steps to Reproduce Bug
Step 1 start to the principal layout1
Step 2 follow the bush


Observed Result
- pathfinding doesnt' work anymore
- IF I start the game from the layout 2, there is no bug
- If I modificate pathfinding cellsize (wich is 55, as default) and I start the game from layout 1 and goes to layout 2, the player is stuck at the beggining of layout, at this point so



Affected Browsers
[list]
[*] Chrome: YES
[*] FireFox: YES
[*] Internet Explorer: didn't test

Operating System and Service Pack
windows 10

Construct 2 Version ID
R216

thankfull
Last edited by frayt on Mon Jan 11, 2016 9:50 pm, edited 2 times in total.
B
9
S
3
Posts: 53
Reputation: 997

Post » Tue Jan 12, 2016 9:38 am

add "regenerate pathfinding obstacle map" on start of layout should fix this.
Image
B
70
S
27
G
12
Posts: 512
Reputation: 12,153

Post » Tue Jan 12, 2016 1:13 pm

thank you that resolved the problem :mrgreen:
B
9
S
3
Posts: 53
Reputation: 997

Post » Tue Jan 12, 2016 1:14 pm

You're welcome :)
Image
B
70
S
27
G
12
Posts: 512
Reputation: 12,153

Post » Mon Mar 28, 2016 1:00 am

I had the same problem in a similar way in my game (didn't work when I went to the game layout by the main menu but worked when I loaded directly the game layout). Using the action "regenerate pathfinding obstacle map" fixed the problem.
B
6
S
1
Posts: 4
Reputation: 365

Post » Mon Mar 28, 2016 5:03 am

I think this bug was addressed in one of the latest betas, try it with 225.
Image
B
70
S
27
G
12
Posts: 512
Reputation: 12,153


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 3 guests