S
S
Salmeg Zhambalova2019-01-11 16:04:20
Java
Salmeg Zhambalova, 2019-01-11 16:04:20

Path traversal, libgdx, tiledmap?

It is necessary to implement a search for a path so that the character bypasses obstacles, it is desirable to build somehow a trajectory of movement through the cells in advance, otherwise he may get stuck during a normal check on different sides. The game is written in libgdx, tiled map, orthogonal map.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
exenza, 2019-01-12
@selmeg

Hello. There is a libgdx-compatible library gdx-ai . In which pathfinding algorithms are implemented, read here and start with theory here . Application example, for example, wat .
Good luck!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question