How can I create a line horizontally and then it turns vertical to connect two points.
You can use a Tile Map to do that.
Between point A and B will have multiple invisible points.
Connect each points will create a complete lines.
Develop games in your browser. Powerful, performant & highly capable.
tHANKS, MY FRIEND!