The first thing I want to say is, that I searched the web for this solution, but I found nothing that is good, that can I use.
Maybe I searched with wrong keywords.
On the image you can see a car and a way. I will now, that the car (sprite) follows (or moves on) this way (path).
I made this "way" with Inkscape. I can save the "way" as .svg to get the path.
The car is following the path and changing his direction.

for example the .svg file:
- Code: Select all
...
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 196.47467,414.45085 ... etc."
id="path2985"
inkscape:connector-curvature="0" />
...
Has someone a good solution for that?
What are the good keywords for that?
Thank you.


