I made a cool dynamically shapable road almost for no reason

road240.gif

Using Godot's Path2D node and a handful of Line2Ds I found a way to shape my course entirely dynamically by editing the Path2D's curve in the editor. Using a tool script I matched every point in the drawn lines of varying thicknesses to every point in the curve. I made it like this because I had intentions to procedurally generate the track, but with this event being a limited time jam combined with me not bothering to figure out how to match a collision to the outside of a road generated by a curve, I scrapped it. This did however leave me with a very convenient tool for editing at least the visuals of the track.

If you want play a game on a track that's a result of this tool, find it here: https://ldjam.com/events/ludum-dare/47/spectre-circuit