I think scratch 2.0 should have a more advanced pen. With features like erase and fill.
Offline
How exactly would the blocks work? I can imagine a filling one, for example - it would allow the programmer to select a color (from a palette or number), and fill the area when used.
Would it detect filling by background color? If so, that would be complicated - but most Scratched paint projects use a white background and such, so that's not bad.
As for the erase block, would it erase by stamping white (or another color) down or by removing all penned areas in the space?
Please explain more.
Offline
Chrischb wrote:
How exactly would the blocks work? I can imagine a filling one, for example - it would allow the programmer to select a color (from a palette or number), and fill the area when used.
Would it detect filling by background color? If so, that would be complicated - but most Scratched paint projects use a white background and such, so that's not bad.
As for the erase block, would it erase by stamping white (or another color) down or by removing all penned areas in the space?
Please explain more.
Well, it would work like this:
Every pen line you make broadcasts a signal.
When you try to fill something the colour you selected would fill until it detected
the signal the line is broadcasting.
[blocks]<when green flag clicked>
<forever>
<if><mouse down?><< <and><touching[ paintcansprite
<wait until><mouse down?>
fill
I hope that will work.
Last edited by qwertypower (2010-05-28 21:33:09)
Offline
It's a wonderful idea, but I fear Scratch will then be considered some sort of a paint editor. Really, when would you need the fill tool? I've never come across such a situation, except in Paint editors, where it would be creative to make your own
Erase, I fully support
Offline
coolstuff wrote:
It's a wonderful idea, but I fear Scratch will then be considered some sort of a paint editor. Really, when would you need the fill tool? I've never come across such a situation, except in Paint editors, where it would be creative to make your own
Erase, I fully support
Fill, 1 sprite 1 script projects to improve graphics.
Erase, we need it :0
Offline
RCScratch wrote:
[blocks] <{ I }><{ would }><{ like }><{ that }><{ too, }><{ but }><{ it's }><{ impossible. }> [/blocks]
What do you mean it's impossible? Flash can do it already.
Offline