How to move an object in a custom path [2.4.8]

Hi!
I am using version 2.4.8. I have an object and I want it to move in a different way at each level. This line has curved segments, straight segments connecting to each other. I have map images of each level. How to create these lines and move objects on it.

Please help, thanks.

I don’t think you can, but you can use something like this Shoot 'em up in Cocos Creator | The Enemies

Not what i’m looking for but thanks