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

#1 2010-06-25 14:49:38

explosivedude
Scratcher
Registered: 2010-06-22
Posts: 64

drawing program help!!!!!!!!!!!!

im making a drawing program and im new so im trying to figure out how to make the paintbrush draw on the screen i have everything else figured out on here except for how to make it draw can u please help me!!!!!!!!!

Offline

 

#2 2010-06-25 15:02:23

06dknibbs
Scratcher
Registered: 2008-01-29
Posts: 1000+

Re: drawing program help!!!!!!!!!!!!

Create a Sprite and then use two scripts like this:

http://i404.photobucket.com/albums/pp129/06dknibbs/Blah.gif?t=1277492788

Which tells the sprite your drawing with the go to the mouse.

Then add.

http://i404.photobucket.com/albums/pp129/06dknibbs/Blah2.gif?t=1277492820

Which is the paint  smile

You can also change the colour by using the http://i404.photobucket.com/albums/pp129/06dknibbs/Blah4.gif?t=1277492842 in another script eg:

http://i404.photobucket.com/albums/pp129/06dknibbs/Blah3.gif?t=1277492870

For different colours ^^

Last edited by 06dknibbs (2010-06-25 15:09:02)


http://i404.photobucket.com/albums/pp129/06dknibbs/Untitled-3-6.jpg

Offline

 

#3 2010-06-25 15:12:31

explosivedude
Scratcher
Registered: 2010-06-22
Posts: 64

Re: drawing program help!!!!!!!!!!!!

thank you so much that helped alot but now when im making it draw it only draws a dot. i have to click two times to make it draw a line any advice on that?

Offline

 

#4 2010-06-25 15:38:40

06dknibbs
Scratcher
Registered: 2008-01-29
Posts: 1000+

Re: drawing program help!!!!!!!!!!!!

Oh, that script won't work in the program in normal mode, since holding your mouse down picks the sprite up instead.

Try running the project in presentation mode instead  big_smile

Last edited by 06dknibbs (2010-06-25 15:41:08)


http://i404.photobucket.com/albums/pp129/06dknibbs/Untitled-3-6.jpg

Offline

 

#5 2010-06-25 18:25:19

explosivedude
Scratcher
Registered: 2010-06-22
Posts: 64

Re: drawing program help!!!!!!!!!!!!

thanks so much i just posted it and i gave u credit for helping me too.

Offline

 

#6 2010-06-25 21:54:21

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

Re: drawing program help!!!!!!!!!!!!

Glad to see you're having success! Keep up the good work  big_smile

Offline

 

Board footer