I have some code which works just fine, but I'm not sure if there's a better way of drawing lines on the screen with a texture-brush and I also have a question about erasing
Here's what I'm doing atm:
SETUP
Create a RenderTexture of a certain size ("renderTexture")
Create a Sprite out of that, and add the Sprite to the stageĀ ("viewSprite")
Create a Container, don't add anything to it yet ("drawBuffer")
Create an Array (or really object pool "pool") of sprites