This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2010-05-28 19:59:19

qwertypower
Scratcher
Registered: 2010-02-24
Posts: 100+

Better pen

I think scratch 2.0 should have a more advanced pen. With features like erase and fill.


http://img690.imageshack.us/img690/8586/x1eo8x.png  http://img690.imageshack.us/img690/9164/logozrv.png
http://img693.imageshack.us/img693/8186/image843.png      http://img411.imageshack.us/img411/406/bobs.png      http://img535.imageshack.us/img535/2898/firegrob.png     Add zip the cybug, bob the sea urchin, and firegrob to your sig!

Offline

 

#2 2010-05-28 20:12:01

Chrischb
Scratcher
Registered: 2008-07-24
Posts: 1000+

Re: Better pen

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.  smile


I fall: It's a tragedy. You fall: It's comedy.
Hmph enjoy your fall - I get a lovely spring... without pans of new leaves.

Offline

 

#3 2010-05-28 20:28:35

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Re: Better pen

Like Chris said. Filling can actually be done. Look at some of nxIII or MathWizz''s projects.


Hai.

Offline

 

#4 2010-05-28 21:32:04

qwertypower
Scratcher
Registered: 2010-02-24
Posts: 100+

Re: Better pen

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.  smile

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.  smile

Last edited by qwertypower (2010-05-28 21:33:09)


http://img690.imageshack.us/img690/8586/x1eo8x.png  http://img690.imageshack.us/img690/9164/logozrv.png
http://img693.imageshack.us/img693/8186/image843.png      http://img411.imageshack.us/img411/406/bobs.png      http://img535.imageshack.us/img535/2898/firegrob.png     Add zip the cybug, bob the sea urchin, and firegrob to your sig!

Offline

 

#5 2010-05-28 22:07:21

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: Better pen

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  smile

Erase, I fully support  smile

Offline

 

#6 2010-05-29 03:56:40

juststickman
Scratcher
Registered: 2009-05-31
Posts: 1000+

Re: Better pen

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  smile

Erase, I fully support  smile

Fill, 1 sprite 1 script projects to improve graphics.

Erase, we need it :0


http://is.gd/iBQi2 Add grob to your sig and help with world dominiation!http://is.gd/iBQ9Q                                                             Hey guys, we're seriously naming our team bob?

Offline

 

#7 2010-05-30 14:51:58

RCScratch
Scratcher
Registered: 2010-05-26
Posts: 48

Re: Better pen

[blocks] <{ I }><{ would }><{ like }><{ that }><{ too, }><{ but }><{  it's }><{ impossible. }> [/blocks]

Last edited by RCScratch (2010-05-30 14:54:03)


http://i736.photobucket.com/albums/xx7/RCScratch/RCSCRatch.gif http://www.danasoft.com/sig/467044211994.jpg

Offline

 

#8 2010-05-30 15:03:24

juststickman
Scratcher
Registered: 2009-05-31
Posts: 1000+

Re: Better pen

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.


http://is.gd/iBQi2 Add grob to your sig and help with world dominiation!http://is.gd/iBQ9Q                                                             Hey guys, we're seriously naming our team bob?

Offline

 

Board footer