Pages: 1
Topic closed
How to fill an area with a color using a program?
In Logo there is command called "fill"
Fills in a region of the graphics window containing the turtle and bounded by lines that have been drawn earlier.
Is there something like that in Scratch? I can't find it.
Offline
Dude it's under the sprite edit window between the square maker and eraser.
It looks like a paintbucket.
Offline
numbers1234567890 wrote:
Dude it's under the sprite edit window between the square maker and eraser.
It looks like a paintbucket.
No, I need a tile, like:
pendown
penup
clear
stamp
etc.
I need one that works like the paintbucket.
Offline
I don't think there's an actual block that does it, but you might be able to find a way to do it. I recommend looking through some of the drawing projects on scratch, maybe you'll find something there.
Offline
Have a small sprite that stamps itself every time it moves. Then make it move in many directions until it touches the color of the border, and at that point it should stop. If you make it then go back to the center, turn maybe 1 or 2 degrees, then repeat the process very quickly, then you will have a fairly realistic paintbucket tool.
Offline
Topic closed
Pages: 1