* fix a bug
* add the walking data generator
Now the lord will walk along your route.
To generate the walking data, you need to add some custom properties to the layer.
Here is an example which have 2 turning points.
Download the .tmx file
You will get some files called routeX.bin and walkingX.bin. Paste them to any free space and repoint them. routeX.bin -> the 1st pointer in the struct of route. walkingX.bin -> the 2nd pointer in the struct of route. If your custom route is a straight line which doesn't have any turning point, set the 2nd pointer to 00 00 00 00.
Unless you are using an old version of Tiled, set the format of layer to CSV.