I have a
Line2D with a
texture that tiles depending on the length of the line.
I would like to animate this line using some frames I have saved as individual png files. I don't know the best way to go about it.
I tried using an
AnimationPlayer which loads new textures into the
Line2D, but it was grossly inefficient to load a new texture every few milliseconds.
Any ideas about how to animate a