Hi!
Could you please implement a fill command (perhaps in the Pen category) which uses the sprite's current position and fills with a selected colour until it reaches pixels with different colours? For example, I could use the pen to draw shapes and then fill them with a specific colour.
Offline
The reason I thought of this is because I'm teaching some kids Logo and I'd like to replace Logo with Scratch. So, I want them to use a turtle and draw a black 'n' white chessboard, but I can't find a way to draw the black squares.
Offline
Another thing that might be useful that would be like this would be a "Fill" Block that fills an area between 4 Points, which would be useful in creating 3D filled Polygons.
Or maybe a function like Flash's beginfill() and endfill().
Last edited by RHY3756547 (2009-11-21 12:40:08)
Offline
06dknibbs wrote:
While this would e very useful, I'm still not sure whether It would be possible
![]()
Although, I don't see any reason why it shouldn't be..
Scratch is made in Squeak. This includes the paint editor and everything inside of it. If there is a fill tool in the paint editor, a fill tool is also 100% possible to implement into a block.
Offline
illusionist wrote:
06dknibbs wrote:
While this would e very useful, I'm still not sure whether It would be possible
![]()
Although, I don't see any reason why it shouldn't be..Scratch is made in Squeak. This includes the paint editor and everything inside of it. If there is a fill tool in the paint editor, a fill tool is also 100% possible to implement into a block.
![]()
Exactly! Squeak is quite advanced and can support everything that you use to create games in scratch, like gradient fills etc. I haven't seen any instances of Alpha PNGs, though but I'm sure even they're possible.
Last edited by RHY3756547 (2009-11-21 13:20:08)
Offline
RHY3756547 wrote:
Another thing that might be useful that would be like this would be a "Fill" Block that fills an area between 4 Points, which would be useful in creating 3D filled Polygons.
![]()
Or maybe a function like Flash's beginfill() and endfill().
ya thats what i was thinking! so then scratch could have texture! i wonder if somebody could do that in BYOB?
Offline
here is what the block would look like. [fill color [ ] to outline color [ ] ]
Offline
I can see a ton of possibilities for a fill tool. Textures, better paint projects, etc. I support!
And as to making a filled-in chessboard, you can set the pen size to something small and just scroll up and down across the region to be filled.
Offline