Scratch Canvas

An asset by boukew99
The page banner background of a mountain and forest
Scratch Canvas thumbnail image
Scratch Canvas thumbnail image
Scratch Canvas hero image

Quick Information

0 ratings
Scratch Canvas icon image
boukew99
Scratch Canvas

Canvas for drawing in Godot Engine with mouse, trackpad, touch and pen. Also includes optional demo (scratch_drawer) of how to use it.* The Canvas is an extension of TextureButton and uses Line2D for drawing.* The drawing line can be edited and some examples are given. * The canvas can capture the screen and use that as the texture of the Canvas. Then the lines are hidden, to decrease drawing cost.

Supported Engine Version
3.4
Version String
1.3
License Version
MIT
Support Level
community
Modified Date
2 years ago
Git URL
Issue URL

Scratch Canvas README icon

Canvas for drawing in Godot Engine with mouse, trackpad, touch and pen.

~94 lines of code | ~6.2 kB

Usage

  • Instance it in your scene
  • The Canvas is an extension of TextureButton and uses Line2D for drawing.
  • The drawing line can be edited.
  • The optimized canvas captures the screen and uses that as the texture of the Canvas. Then the lines are hidden, to decrease drawing cost.

License

MIT

Aim

Have an adjustable canvas scene that you can just instance and use.

Canvas for drawing in Godot Engine with mouse, trackpad, touch and pen. Also includes optional demo (scratch_drawer) of how to use it.

* The Canvas is an extension of TextureButton and uses Line2D for drawing.
* The drawing line can be edited and some examples are given.
* The canvas can capture the screen and use that as the texture of the Canvas. Then the lines are hidden, to decrease drawing cost.

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
Scratch Canvas icon image
boukew99
Scratch Canvas

Canvas for drawing in Godot Engine with mouse, trackpad, touch and pen. Also includes optional demo (scratch_drawer) of how to use it.* The Canvas is an extension of TextureButton and uses Line2D for drawing.* The drawing line can be edited and some examples are given. * The canvas can capture the screen and use that as the texture of the Canvas. Then the lines are hidden, to decrease drawing cost.

Supported Engine Version
3.4
Version String
1.3
License Version
MIT
Support Level
community
Modified Date
2 years ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers