I’m writing my first game with Arduboy and it’s going to be an Etch-a-Sketch type game. I’ve reached a point where I’m not sure how I can achieve the following:
When the player reduces there brush size to 0, I want to display their cursor position with a cursor (circle outline or an X type cursor) so they can move around the screen without drawing and then increase the size to continue drawing.
I’ve managed to get this working however in my program, I never use arduboy.clear(), hence getting the effect of the drawing (constantly printing circles in the location of the users ‘cursor’ position, allowing them to draw). Therefore I want to almost ‘capture’ the screen, save it in memory, allow the player to move the cursor, and then reprint there drawing and loop this until the user decides to draw again, this means when I move the cursor, it won’t leave a trail behind it.
Unless there is another way to draw a circle or rectangle without permanently editing the pixels underneath. (like drawing a sprite over the background).
Or am I doing this completely wrong and should take a different approach?
Thanks in advanced