Drawing application with _draw() - Advanced #Godot 3 Tutorial
Learn how to use the _draw function of CanvasItem nodes to draw custom shapes.
Documentation for _draw(): #class-canvasitem-method-draw
Challenges documentation:
1. Draw with squares instead of circles
You can use the draw_rect method for this #class-canvasitem-method-draw-rect
2. Draw a line from the last clicked point to the next clicked point
You could use draw_line: #class-canvasitem-method-draw-line
or draw_polyline: #class-canvasitem-method-draw-polyline
You’ll also have to change up the way the _input function works.
3. Draw a polygon
You can use draw_polygon: #class-canvasitem-method-draw-polyg
1 view
92
29
4 months ago 00:10:25 2
Stylized Sci-Fi Grate - Substance 3D Designer
4 months ago 00:10:43 3
Stylized Fantasy Wall - Substance 3D Designer
4 months ago 00:10:23 6
Stylized Plaster Wall - Substance 3D Designer
4 months ago 00:11:50 2
Stylized Wall Material - Substance 3D Designer
4 months ago 00:15:37 1
OPEN SOURCE alternatives to the MOST POPULAR productivity apps!