Discuss Scratch

et321
Scratcher
12 posts

saving drawings

I rote a drawing program and I want the users to be able to save their image


- ET
Julianthewiki
Scratcher
100+ posts

saving drawings

In where?

Julianthewiki | Double the Fun | Double the Thrill | Double the Coolness

Daydream: A Book By Julianthewiki | Official Studio | Chapter 1 | Chapter 2 | Chapter 3
World Population Clock | 24,618,660 | Learn More | Suggest Ideas
Two Year Anniversary Special | 101,405,320 | Learn More
Belated Happy Pi Day! | 102,312,109
Par0dy
Scratcher
100+ posts

saving drawings

Well you could store it on the system by using Cloud Variables and save the color pixel by pixel but that's very difficult also that you're new to scratch and not a scratcher yet.

et321
Scratcher
12 posts

saving drawings

I no its kinda annoying but if you could give me some tips once I get the cloud
MeDiaMond
Scratcher
500+ posts

saving drawings

You could make a very small sprite (only a dot) and let it move over every pixel and get its color (seems like you have to use very many if blocks for that - so it'll be very expensive…) then save each color in one number and join them all to one variable. (this will be very long…)
Another way is this: You could save each thing you draw imediately after it's done. (Maybe by adding the coordinates of the pen when the mouse is clicked or something like this - I don't know exactly if this is possible because I don't know how the project works.)
hope this helps!
et321
Scratcher
12 posts

saving drawings

You can look up Drawing
et321
Scratcher
12 posts

saving drawings

Julianthewiki,

In the cloud…except I don't have it yet.



-ET
PH-zero
Scratcher
100+ posts

saving drawings

Another thing you could do right now is converting the image into a string and then displaying it in a list so the user can copy it and paste it into word or notepad++ or any text-editor.

But just as the others said, it is very difficult and expensive to scann a pixel-graphic.

Ever wanted to rotate the stage? Or to
go to x:() y:() z:() ::custom
Click me!
RPFluffy
Scratcher
1000+ posts

saving drawings

You code figure out how to give certain codes to colors and then encode it into a cloud variable but that would be tedious and you don't have cloud vars yet!

Nothing Is EVER 100%, that is just an assumption.















Some important links: Here and here or need help click Here. Eats followers, Loves helping people.
My “..” and “…” are not spelling mistakes, it means that they are ways of telling someone that I can continue more about it and that the sentence isn't ended the best way. I like putting new indents and lines so I can split up what I am talking about.




































Some important links: Here and here or need help click Here. Eats followers, Loves helping people. Check this MMO out! Kiwi = Support WHAT THAT'S IMPOSSIBLE: Through the drop down ;)
if <> :: control cstart

else :: control
end

Powered by DjangoBB