I've stripped down the original code to the bare minimum.
Changes (for better / worse):
- Uses tilemaps/tiles rather than instantiating an object per block
- No finicking with the frames
- Lerp to next node
- Bot will clip through corners
- Removed one-way platforms and some of the logic like checking if an obstacle is between you and the next node.
Forked from: Daniel Branicki. See his tutorial