2
\$\begingroup\$

In my game I'd like to move sprites on a fixed path. Until this point I was trying to stick with the tools already provided by libGDX, like the Tiled map renderer classes so I'm looking for a solution nearly as convenient as that, e.g. I'd like to avoid creating the adjacency matrix by hand. Tiled has the functionality to add objects to the map but I'm not sure if I can use it for this purpose. Any idea?

\$\endgroup\$
4
\$\begingroup\$

Use the tween engine. (tweening)

It is very powerful and easy to use. You can create animations for any atribute, timelines with simultaneous and/or sequencial animations, and assign callbacks for starting, ending, looping, etc.

\$\endgroup\$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .