Scratch how to use the mouse to draw? Scratch to follow the movement of the mouse drawing skills

Time:2020-11-17

How to draw as you like in scratch, follow the movement of the mouse and stop painting when you release the mouse? How to draw flowers? Let’s take a look at scratch’s drawing tutorial.

Software name:
Mega scratch 3 for Mac v1.0.2 for Macs
Software size:
71MB
Update time:
2019-03-07Download now
Software name:
Scratch 3.0 offline Edition (children programming software) offline editor v3.6.0 Chinese free installation version
Software size:
171MB
Update time:
2020-02-21Download now

1. Open our programming software, scratch 3.0, and develop good habits,First enter the file name, save.

2. Clear the stage area.

3、Set it uppaint brushColor, thickness, brightness, etc.

4. Because we have to press the mouse to start painting, release the mouse to stop painting. So we need an implementation if… Then.

5. If you press the mouse,We need to write and draw.If you release the mouse,We need to lift the pen and stop painting.

6、Press the mouse and start drawingThe line needs to move with the mouse. Here we add the mouse pointer.

7. Because we need to draw continuously,So at the end of the day, we add repeat.

8. When drawing, in order to modify the thickness and color of the brush, we can set the color, thickness and brightness of our brush in the repeat operation. I want to be able to set it every time I write.

The above is scratch to follow the mouse mobile drawing skills, I hope you like, please continue to pay attention to developeppaer.

Related recommendations:

How does scratch record the tracks of kittens?

How does scratch make an animation of a cat reciting an ancient poem?

Scratch 3.0 how to play guitar? Scratch programming to achieve the effect of playing guitar tutorial

Recommended Today

Summary of recent use of gin

Recently, a new project is developed by using gin. Some problems are encountered in the process. To sum up, as a note, I hope it can help you. Cross domain problems Middleware: func Cors() gin.HandlerFunc { return func(c *gin.Context) { //Here you can use * or the domain name you specify c.Header(“Access-Control-Allow-Origin”, “*”) //Allow header […]