how to create a 2d road

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Timofey

like in this video but in 2d

:bust_in_silhouette: Reply From: Tato64

It would be very simple in 2D, just use sprites for the track (You could draw the whole track in a single sprite)

Then, to prevent the cars from going off the track, i would use CollisionPolygon2D to make the “Outside” borders and another one for the “Inside” borders