I like the draggable cursor idea! I almost went that way on Fuzzy Paint (I was going to have a group of draggable dots so you could remember a bunch of colors) but decided instead to go with a Store/Retrieve model. But this method is easier to tweak!
I LOVE-IT!!! Hey everyone, check out my awesome drawing games, NayrMP's Drawing Game #'s 1 & 2! Just click on my name above to go to my page and view them. Thanks! ~ NayrMP ~ : ) ~
ok its up online, and now you don't need to use the arrow keys to move the objects. Simply move the mouse! even though they are moving, i added in a constant, which can be adjusted by using the sliders. Tell me what you think!
you might want to make it so that if you click and it is on the tool bar it dose not draw. I did that in my paint project by testing wether or not it was touching the toolbar panel.
I hope this helps!
I think I know how you did it.
y of the selector relative to top left corner of color map = shade.
x of the selector relative to the top left corner of the color map = color.
check out my paint project and see if you can add the color map. OrIcould
Yeah, when the mouse is down, it sets the color as the MouseX - the color-picker's X location. so what you get is the number starting from the left of the color picker. 0 to 200.
Then it also set's the shade to MouseY - the color picker's y location times 2, (because the color piker is 50 instead of 100... the shade value goes from 1 to 100 but I didn't want the color picker to be that big.
This is a simple paint program to showcase the color picker.
See Paddle2See's "fuzzy paint" for a good paint program: (link to project)
Just pick a color and draw.
I separated the color picker from the lathe 3d modeler (link to project)
so you can more easily add it to your own projects.
Thanks to logan996 for the idea.
HOW I MADE IT: I made a scratch program that drew the color bar. it started at the lower right, with shade at zero and color at zero. sort of like this: repeat 50 times: --repeat 200 times: ----starting at one, increment the color ----by one and move the pen by 1 to the right --increment the shade by 2 and move up --one line.
I tried saving the background, but it save it as a gif with only 256 colors, there was bad banding, so I capture a screenshot of scratch, cropped it and saved it as a png.
Comments
You need to be logged in to post comments
Add a Comment
how do you clear it?!
(view all replies)Comment Reply
Cool! Awesome! Fantastic! Terrific! Great! Good!
(view all replies)Comment Reply
cool! check out my paint. (link to project)
(view all replies)Comment Reply
wow this is cool i can draw whatevers!
(view all replies)Comment Reply
WOW GREAT GAME! :-)
(view all replies)Comment Reply
thethe last two links in the project notes are bad. just thought you might want to know.
(view all replies)Comment Reply
Fixed. Thanks!
(view all replies)Comment Reply
I finished my version! (link to project)
(view all replies)Comment Reply
Nice... Was wondering how you did this...
(view all replies)Comment Reply
Excellent and very useful!
(view all replies)Comment Reply
oh sorry. i didn't read your project notes.
(view all replies)Comment Reply
How did you get color picker?
(view all replies)Comment Reply
Very Nifty =D
(view all replies)Comment Reply
wtf !!
(view all replies)Comment Reply
Brilliant!
(view all replies)Comment Reply
nice!
(view all replies)Comment Reply
JOIN SCRATCH WARS NOW AND BECOME THE RULER OF SCRATCH:(just follow this link)(link to gallery)
(view all replies)Comment Reply
Take a look at Paddle2See's "fuzzy paint". His is amazing... and not buggy like mine. (link to project)#
(view all replies)Comment Reply
you should really chaNGE TLHE FACT THAT WHENEVER I MOVE the colour or pen size it paints. its not that har, it only takes like 1 script
(view all replies)Comment Reply
sweet
(view all replies)Comment Reply
A-W-E-S-O-M-E!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
(view all replies)Comment Reply
my one had 200 views (old acc) and was never top viewed.. :/
(view all replies)Comment Reply
74 views and on the top viewed list? somethin's fishy here
(view all replies)Comment Reply
I like the draggable cursor idea! I almost went that way on Fuzzy Paint (I was going to have a group of draggable dots so you could remember a bunch of colors) but decided instead to go with a Store/Retrieve model. But this method is easier to tweak!
(view all replies)Comment Reply
(link to project)
(view all replies)Comment Reply
spotted a glitch!in the middle,the coulors are lighter,but it thinks that they are darker!
(view all replies)Comment Reply
I did notice that the range is 1 to 199 for the color and 2 to 98 for the shade... also there is no way to have all white. ...stuff to fix.
(view all replies)Comment Reply
It kind of removes the need for color variables, almost.
(view all replies)Comment Reply
This is really useful-I expect to see a boatload of projects using this!
(view all replies)Comment Reply
I LOVE-IT!!! Hey everyone, check out my awesome drawing games, NayrMP's Drawing Game #'s 1 & 2! Just click on my name above to go to my page and view them. Thanks! ~ NayrMP ~ : ) ~
(view all replies)Comment Reply
ok its up online, and now you don't need to use the arrow keys to move the objects. Simply move the mouse! even though they are moving, i added in a constant, which can be adjusted by using the sliders. Tell me what you think!
(view all replies)Comment Reply
okay i made one thats functional, and i am just finishing my version that uses mouse control. it mostly works :)
(view all replies)Comment Reply
cool!!
(view all replies)Comment Reply
im gonna try to make a 3d sim of something, idk what yet. It probably will not be as good as any of yours, but i still wanna give it a shot :)
(view all replies)Comment Reply
Cool, yeah you can do it! Let me know if I can help.
(view all replies)Comment Reply
you might want to make it so that if you click and it is on the tool bar it dose not draw. I did that in my paint project by testing wether or not it was touching the toolbar panel. I hope this helps!
(view all replies)Comment Reply
Yeah, that's a good idea.
(view all replies)Comment Reply
(link to project) I think I will make my own color picker and use it! thx for the idea!
(view all replies)Comment Reply
I think I know how you did it. y of the selector relative to top left corner of color map = shade. x of the selector relative to the top left corner of the color map = color. check out my paint project and see if you can add the color map. OrIcould
(view all replies)Comment Reply
ah i get it now. i was confused before lol
(view all replies)Comment Reply
ok i get how u made the color thing but how do u get it to pick? is it something like coordinates???
(view all replies)Comment Reply
Yeah, when the mouse is down, it sets the color as the MouseX - the color-picker's X location. so what you get is the number starting from the left of the color picker. 0 to 200.
(view all replies)Comment Reply
Then it also set's the shade to MouseY - the color picker's y location times 2, (because the color piker is 50 instead of 100... the shade value goes from 1 to 100 but I didn't want the color picker to be that big.
(view all replies)Comment Reply
Second comment! whoo hoo!! :)
(view all replies)Comment Reply
YAY, FIRST COMMENT!
(view all replies)Comment Reply