[BEHAVIOR] EasyStar.js pathfinding for tilemap

Post your completed addons to share with the community

Post » Mon Jul 03, 2017 8:51 am

Hello, in the example that you offer on the first page now the blue path does not appear.
This happens with the latest version 1.02
B
29
S
12
G
21
Posts: 785
Reputation: 14,421

Post » Mon Jul 03, 2017 2:38 pm

Move the "Node -> Destroy" action from line 2 down to line 3.

This example was created with a previous version of EasyStarJS. The asynchronous aspect of the plugin changed in a way that made the node sprite get destroyed AFTER they were created (in the same tick), so it was never visible. You could also only change the "asynchronous" property to "no", and the node sprites would appear again.
B
69
S
28
G
24
Posts: 977
Reputation: 18,739

Post » Mon Jul 24, 2017 9:22 am

Is there possibility you add "Dijkstra's algorithm"?
B
5
S
1
Posts: 31
Reputation: 441

Post » Tue Jul 25, 2017 5:57 am

Unfortunately no. The whole plugin rely on the EasyStarJS library which is an A* pathfinding algorithm javascript implementation.
B
69
S
28
G
24
Posts: 977
Reputation: 18,739

Previous

Return to Completed Addons

Who is online

Users browsing this forum: Krakcz and 0 guests