impact-astar-for-entities icon indicating copy to clipboard operation
impact-astar-for-entities copied to clipboard

Poor Debug Performance

Open Joncom opened this issue 12 years ago • 2 comments

When using A* debug panel, after clicking the "Show paths" check-box, everything runs smoothly (at first), but once the entities are close together performance drops substantially.

On my computer it drops from 60 FPS to ~5 FPS.

There are no errors in console.

Joncom avatar Mar 22 '13 23:03 Joncom

Sorry for the late answer but I have very few time at the moment ...

How many entities are following a path?

Can you Email me the code? Next week I have some time to debug it and try to find the problem ....

hurik avatar Mar 28 '13 15:03 hurik

It does not seem to make a difference actually. The issue is present in the example when the two enemy types get close.

The issue is also present is my own game, even if there is only a single that uses path finding.

Ironically, the extreme lag is present when the calculated path is very short, and non-existent when the calculated path is very long.

On 2013-03-28, at 8:17 AM, Andreas Giemza [email protected] wrote:

How many entities are following a path?

Can you Email me the code? Next week I have some time to debug it and try to find the problem ....

— Reply to this email directly or view it on GitHub.

Joncom avatar Mar 28 '13 18:03 Joncom