Discuss Scratch

schadenfreude32
Scratcher
1 post

Pen Stamping

In my project below, if you select brushes 3 and 4 and use them, it stamps the costume. However, when you move the mouse across quickly, only a few stamps are produced. Is there any way to make it so that the stamps can be produced consistently? Thanks a lot!

https://scratch.mit.edu/projects/1205745874/fullscreen/
-leopard-gamer-
Scratcher
61 posts

Pen Stamping

It took some time for scratch to finish a forever loop, try to make it simple by replacing the complicated actions with my blocks that is run without screen refresh
And after that, make sure it is as simple as possible and make sure it only runs the code that are significant, run it with 60FPS mode if you can.
-leopard-gamer-
Scratcher
61 posts

Pen Stamping

You can also create a list that record the x and y of the mouse and let it stamp at the x and y.
Make it in 2 different sprites because this will make them run at the same time and detecting mouse x and y take very little amount of time.
Classic_Slash
Scratcher
53 posts

Pen Stamping

schadenfreude32 wrote:

In my project below, if you select brushes 3 and 4 and use them, it stamps the costume. However, when you move the mouse across quickly, only a few stamps are produced. Is there any way to make it so that the stamps can be produced consistently? Thanks a lot!

https://scratch.mit.edu/projects/1205745874/fullscreen/
you can make a momentum based curser follower script, it wil smooth out atleast the rough edges.

Powered by DjangoBB