Discuss Scratch

zappgame_version3
Scratcher
100+ posts

Screen S&L

I am the Soon-To-Be Creator of one of the best Pen Drawing programs yet. But…
HOW
DO YOU SCREEN SAVE
FOR PETAL'S SAKE
I tried following a griffpach tutorial on how to screen scan But It got to the point of every griffpach tutorial (You know that point. ) where the code stops working/doesn't work and then you have to RETHINK Y̶̧̡̢̡̘̙͖͈̣̥͖̣̫͉̮̪̪̗͕̳͓̠̩̟͉͎̼̻̤͚̮͙̩̖̼̥͉͖͈̝̞̰̱̣̮̜̋̽͗̄̐̿̚͜ͅǪ̷̢̡̡̳̟͇̦̺̼̝̼̪̮͉̳͍̩̦͕̪̘̱̤͚̻̰͓̙̳̞̤̥̖̜͔̩͈̺͔̣̥͔̜̈͂̎͂͋̇͛̈́͐̔͌̇̊̓̉̋́̒̅͂͌͗̊̏̆͋̀̀͂͒̈́͋̽͛̍̚͘̚͜͠͠͠ͅͅȔ̶̢̟̭̳̗̩̞̭̤̩̱̗̮̯͚̭͛̉̋̅̍͐͊̐̔̃͛̒̓͌̉̐̓̋͆̇̀͑͆̋͘͘͘͠Ṟ̵̨̢̢͖͕̲̮̹͈͔̳̬͔͛͋̒̈̍̈́͑̃̉͂̏͆̾̿͑͒͊̔̀́͆̔̊̏́͗̍̑̐̍̀̚͘͜͝ͅ ̷̧̢̨̫̟͙̘̯̫͉͔͚͖͇̰͉̺͓͉̈́̔̈̅̾̋͒ͅȨ̸̨̧̢̯̠̠̣͕̟̞̼͕̩̰̫̦̼̟̂̄̄͆͌͝ͅŅ̴̢̧̨̭̦̱͇̤̬̬͎͈̳̬̘͉͙͚̭̩̅͂̀͛͋͒͌̈͊͌͗̋̏͐̆̆̿̋͠T̶̛̜̉̊̎̔̐̉̃͌͊̍͛̋̂̄͐̏͝I̸͓̗͈̯͓̘̰͚̭̥̘̙̤̙̪̺̠̟̟̊̒͐̔̎̑̒̔̆̽̋̓̏͠͝ͅR̴̡̡̨̢̨̛̠̭̹͔̘̱͇͔̗̰͔͙͕̬͎̤̟̖̤̻̰̻̠̺͚͚̩̬͙̞͈̳͊̐̈́̌̋̐̌̀̐̍̒͐̆͆̾̍̉̌̎͆̊̋̓͊̾̓̉̓̈́͆̃͌̆̀̎͊̉͒͆̚̚͜͠͝͝͝͠͝͝͝Ȩ̶̧͙̝̟̜̥̥̩̯̭̮͎͎̫͍̘̝̮͙̫͍̑̑͑̊̃͂̐̈̀̈́̾͒̿̋̂̋̀̎̉̃̏̔͒̾̽̓̐́̍̍̔̕̚̕͜͝͝͝͠ ̸̧̺̤̯̞̯̮̼̳͎̝͈̣̥̺̥̪͔͍̫͇̟͖̫̰̗͚̊̐͐̂͑̀͠L̶̡̢̧̧̨̛̮̦̜̮̜̬̰͚̝̖͇̙͎̫̻̝̩̮͍̥̤͖̠̼͓̬̀̽̍̓̀͛̑̎͌͌̐͑̈̓͛̅͌̀̈́͗̀͆͂̉̾̑̐͛̌̆̅̎̈̓̔͘͘͘̕̕̕ͅÌ̸̡̡̧̨̨̼͎͓͇̞͍͚͖̲̺̲̟͔͚̦͕̳̳̯̠̲̝̪̣̲͇̠͇͔̤̦̹̙̪͈̙͎̠͍̾̃̋͋̽͛̇͆̿̈́͊̌̓̒̽̇̊̈́̊͋͆͋́̋̆͜͝͠͝F̶͚̼̗̝̯͆͗̑̔́̀̄̋̅̔̋̔̈́̔̎̈͘͘̕͜͠͠ͅȨ̴͚̼͕̱̙̯͙͇͎͙̖̏̉͂̓̔̈̅͌͂̑̂́̇͘͝? (That part that's covered up says “griffpach tutorial (You know that point”)

Now, you may be thinking,


think [Just look up a pen-saving tutorial?]
BUT HERE'S THE THING
1. None of the things I saw saved/loaded colors/other settings, which my project has.
PLUS
2. I have stamps, so even if I found a way to edit the code, I would have to make it detect,
define PenSave
The code for the OTHER modes; Pen and Eraser
if <(Mode) = [3 (Stamp)]> then
Find (every (stamp) input)
Repeat (every (stamp) input)
go to x: ( (X) of every (stamp) input) y: ( (Y) of every (stamp) input)
set [StampID v] to ( (StampID) of every (stamp) input)
stamp (StampID)
end
But wouldn't it be easier to just
define ScreenSave
Get screen code
Set [ScreenCode v] to (Whatever goes here)
delete all of [SaveCode v]
add [↓↓↓ Code ↓↓↓] to [SaveCode v]
add (ScreenCode) to [SaveCode v]
add [Now save it somewhere or post it in the comments!] to [SaveCode v]
define Decode (Code)
Load (Code)
And Get your life over with?
Please do something to help I need to (Filename1 sound)
I NEED TO MAKE THIS BEFORE HALLOWEEN I SET A DEADLINE FOR MYSELF
I wanted to put angry David up there but I have to be a scratcher before I can do that. This is an alt anyway.

Last edited by zappgame_version3 (Oct. 2, 2022 01:39:37)


My badges:

(Badges by Autofirejm)
If you wanna see this thing, look at TKTK1234567's signature, it was too long for scratch.
Select text and shift + down to read


A funny scratchblocks script was supposed to be here but it was too long for scratch


Ads:








SCUFFED SUPERSCHOOL UNRELEASEDT



legendary34678
Scratcher
1000+ posts

Screen S&L

You would have to save the screen as the pen drawing is made because there's no way to save the entire screen's pixels (as far as I know) unless you do some insane color detection magic.

Can you beat my latest game?

Have you heard of the X Y Problem?
Please check out me projects please I'm desperate –> Idle Balls, Candy Grab!, Don't Move Your Mouse!, Rude Robot, Tic Tac Toe, Memory Game, Corn Maze, and Idle Balls PEN EDITION!

Oh, hey! I have 100+ posts now!
Oh, hey! I have 500+ posts now! (8/26/22)
Oh, hey! I have 1000+ posts now! (9/23/22)
(Thanks to @AntonL1kesPotato for helping me figure out how to add a signature!)
zappgame_version3
Scratcher
100+ posts

Screen S&L

legendary34678 wrote:

(#2)
You would have to save the screen as the pen drawing is made because there's no way to save the entire screen's pixels (as far as I know) unless you do some insane color detection magic.
Color detection magic was what Griffpatch was doing… But alas…

zappgame_version3 wrote:

(You know that point”)

My badges:

(Badges by Autofirejm)
If you wanna see this thing, look at TKTK1234567's signature, it was too long for scratch.
Select text and shift + down to read


A funny scratchblocks script was supposed to be here but it was too long for scratch


Ads:








SCUFFED SUPERSCHOOL UNRELEASEDT



zappgame_version3
Scratcher
100+ posts

Screen S&L

Bump

My badges:

(Badges by Autofirejm)
If you wanna see this thing, look at TKTK1234567's signature, it was too long for scratch.
Select text and shift + down to read


A funny scratchblocks script was supposed to be here but it was too long for scratch


Ads:








SCUFFED SUPERSCHOOL UNRELEASEDT



Arzenist
Scratcher
98 posts

Screen S&L

You just record the color and position of each pixel into a list separated with a special character, and then with another special characters for the next pixel, then for the import process you measure the numbers color and stop at the special char 1, set the pen color to that, then measure the pixels x position and set the position of the pen to that
zappgame_version3
Scratcher
100+ posts

Screen S&L

Arzenist wrote:

You just record the color and position of each pixel into a list separated with a special character, and then with another special characters for the next pixel, then for the import process you measure the numbers color and stop at the special char 1, set the pen color to that, then measure the pixels x position and set the position of the pen to that
*reads that 99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 times and still doesn’t get it*

My badges:

(Badges by Autofirejm)
If you wanna see this thing, look at TKTK1234567's signature, it was too long for scratch.
Select text and shift + down to read


A funny scratchblocks script was supposed to be here but it was too long for scratch


Ads:








SCUFFED SUPERSCHOOL UNRELEASEDT



zappgame_version3
Scratcher
100+ posts

Screen S&L

Dumb-behind me wrote:

Arzenist wrote:

You just record the color and position of each pixel into a list separated with a special character, and then with another special characters for the next pixel, then for the import process you measure the numbers color and stop at the special char 1, set the pen color to that, then measure the pixels x position and set the position of the pen to that
*reads that 99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 times and still doesn’t get it*
Oh, wait I kinda get it now, I think I get it. There might be a wiki page for that…

My badges:

(Badges by Autofirejm)
If you wanna see this thing, look at TKTK1234567's signature, it was too long for scratch.
Select text and shift + down to read


A funny scratchblocks script was supposed to be here but it was too long for scratch


Ads:








SCUFFED SUPERSCHOOL UNRELEASEDT



zappgame_version3
Scratcher
100+ posts

Screen S&L

Bump
Oh, BTW This is the link to what I need this for

Last edited by zappgame_version3 (Oct. 16, 2022 17:43:35)


My badges:

(Badges by Autofirejm)
If you wanna see this thing, look at TKTK1234567's signature, it was too long for scratch.
Select text and shift + down to read


A funny scratchblocks script was supposed to be here but it was too long for scratch


Ads:








SCUFFED SUPERSCHOOL UNRELEASEDT



zappgame_version3
Scratcher
100+ posts

Screen S&L

Bump again because it got knocked down too much for people to care again

My badges:

(Badges by Autofirejm)
If you wanna see this thing, look at TKTK1234567's signature, it was too long for scratch.
Select text and shift + down to read


A funny scratchblocks script was supposed to be here but it was too long for scratch


Ads:








SCUFFED SUPERSCHOOL UNRELEASEDT



zappgame_version3
Scratcher
100+ posts

Screen S&L

B U M P

My badges:

(Badges by Autofirejm)
If you wanna see this thing, look at TKTK1234567's signature, it was too long for scratch.
Select text and shift + down to read


A funny scratchblocks script was supposed to be here but it was too long for scratch


Ads:








SCUFFED SUPERSCHOOL UNRELEASEDT



zappgame_version3
Scratcher
100+ posts

Screen S&L

bump

My badges:

(Badges by Autofirejm)
If you wanna see this thing, look at TKTK1234567's signature, it was too long for scratch.
Select text and shift + down to read


A funny scratchblocks script was supposed to be here but it was too long for scratch


Ads:








SCUFFED SUPERSCHOOL UNRELEASEDT



zappgame_version2
Scratcher
59 posts

Screen S&L

Bump
zappgame_version3
Scratcher
100+ posts

Screen S&L

I need an easier way to do this:

Arzenist wrote:

You just record the color and position of each pixel into a list separated by a special character, and then with another special character for the next pixel, then for the import process you measure the numbers color and stop at the special char 1, set the pen color to that, then measure the pixels x position and set the position of the pen to that (Grammarly got mad so I had to edit it)

Last edited by zappgame_version3 (Oct. 27, 2022 19:35:26)


My badges:

(Badges by Autofirejm)
If you wanna see this thing, look at TKTK1234567's signature, it was too long for scratch.
Select text and shift + down to read


A funny scratchblocks script was supposed to be here but it was too long for scratch


Ads:








SCUFFED SUPERSCHOOL UNRELEASEDT



Coder105024
Scratcher
75 posts

Screen S&L

forever
if <mouse down?> then
set [color v] effect to (color)
stamp
add (color) to [colors v]
add (x position) to [x-positions v]
add (y position) to [y-positions v]
wait until <not <mouse down?>>
end
end


A wise computer program once said…
01001110 01100111 01100111 01111001 01110101
zappgame_version3
Scratcher
100+ posts

Screen S&L

Coder105024 wrote:

(#14)
forever
if <mouse down?> then
set [color v] effect to (color)
stamp
add (color) to [colors v]
add (x position) to [x-positions v]
add (y position) to [y-positions v]
wait until <not <mouse down?>>
end
end
Yes but how would you LOAD It?

My badges:

(Badges by Autofirejm)
If you wanna see this thing, look at TKTK1234567's signature, it was too long for scratch.
Select text and shift + down to read


A funny scratchblocks script was supposed to be here but it was too long for scratch


Ads:








SCUFFED SUPERSCHOOL UNRELEASEDT



Coder105024
Scratcher
75 posts

Screen S&L

zappgame_version3 wrote:

Coder105024 wrote:

(#14)
forever
if <mouse down?> then
set [color v] effect to (color)
stamp
add (color) to [colors v]
add (x position) to [x-positions v]
add (y position) to [y-positions v]
wait until <not <mouse down?>>
end
end
Yes but how would you LOAD It?

when I receive [load v]
set [item v] to [1]
repeat (length of [colors v] :: list)
go to x: (item (item) of [x-positions v] :: list) y: (item (item) of [y-positions] :: list)
set [color v] effect to (item (item) of [colors v] :: list)
stamp
change [item v] by (1)
end


A wise computer program once said…
01001110 01100111 01100111 01111001 01110101

Powered by DjangoBB