Easystar tilemap based pathfinding from magistross and updated by C3 community.
When I apply this to a sprite, I get a black screen on preview.
You want to apply it to a tilemap and look at the C3 forum thread for the most up to date version and examples.