Hi! I’m testing different nodes to find the best one for creating a painting application. Which ones would be the most appropriate? I’ve noticed that there are several possible nodes.
I’m actually trying to recreate one of my old games that contains a painting section, but I’m stuck. But before continuing with my game:
-Line2D (Perfect for drawing, but there’s no boundary area for drawing, and I’m not sure about flood filling).
-TextRect (Works well, but the filling is slow and resource-intensive).
-TileMapLayer (I can’t create the drawing script, and I don’t know if I need to add a TileMap).
-Panel (Works well, but the filling is slow and resource-intensive).
-ColorRect (Not tested yet, but shouldn’t be optimized like TextRect and Panel for filling).
There are several buttons, each with their own functionality.
-tiny size brush
-medium size brush
-big size brush
-flood fill
-undo
-redo
-eraser
-erase all the drawing
-save (save the drawing as a local .png file and create a specific folder on the PC to store the drawings.)
-save (save the drawing in memory)
-load (loads the drawing saved in memory when returning to the application.)