How to create a pathfinding system in a platformer?

It may be useful if you try the method explained in this thread.