Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Help creating save code!
- weihuhu
-
Scratcher
47 posts
Help creating save code!
My project:
https://scratch.mit.edu/projects/1195370857/
Is a drawing project.
Enter+U to load save code and Enter+I to import.
The size gets crazy for some reason.
https://scratch.mit.edu/projects/1195370857/
Is a drawing project.
Enter+U to load save code and Enter+I to import.
The size gets crazy for some reason.
- grkw2020
-
Scratcher
500+ posts
Help creating save code!
I'm on mobile, so can't easily read the code. But it seems like the save code is a list of coordinates? Or am I wrong?
- Cxderz
-
Scratcher
8 posts
Help creating save code!
I'm on mobile, so can't easily read the code. But it seems like the save code is a list of coordinates? Or am I wrong?that is a decent way to do it but it is kinda weird to encode and decode lol
- grkw2020
-
Scratcher
500+ posts
Help creating save code!
Well I'm not sure if that's the method they're actually doing.I'm on mobile, so can't easily read the code. But it seems like the save code is a list of coordinates? Or am I wrong?that is a decent way to do it but it is kinda weird to encode and decode lol
- weihuhu
-
Scratcher
47 posts
Help creating save code!
Yeah, I'm trying to fit all the coordinates of the pen's xs and ys and colors and brightnesses and blah blah blah into one code to copy. One part is fixed but it takes so much time to LOAD!I'm on mobile, so can't easily read the code. But it seems like the save code is a list of coordinates? Or am I wrong?that is a decent way to do it but it is kinda weird to encode and decode lol
- grkw2020
-
Scratcher
500+ posts
Help creating save code!
If you want the code to be shorter, maybe start by storing the colour of every pixel, but not their coordinates. So, as a simplified example,Yeah, I'm trying to fit all the coordinates of the pen's xs and ys and colors and brightnesses and blah blah blah into one code to copy. One part is fixed but it takes so much time to LOAD!I'm on mobile, so can't easily read the code. But it seems like the save code is a list of coordinates? Or am I wrong?that is a decent way to do it but it is kinda weird to encode and decode lol
x=5, y=1, colour=red
white, white, white, white, red
- Discussion Forums
- » Help with Scripts
-
» Help creating save code!