Discuss Scratch
- Red_Firework
-
100+ posts
New Blocks: Download blocks
EVERYBODY, PLEASE READ THIS ENTIRE THING TO FULLY UNDERSTAND IT
These blocks would be used to download items to a new page on the scratch servers or the user’s computer. Examples: the value of variables, the values of lists, or text. Uses are: can be used to download files from an operating system simulator, can save game data and not lose progress, and other things. And these files will be locked to the user who download/ uploaded them so they can’t be used to make chat rooms or as a replacement for cloud variables. And so scratch doesn’t lag, it will transmit data 256 bytes a 1 tenth of a second. This is equivalent to the speed that cloud variables update.
These blocks would be used to download items to a new page on the scratch servers or the user’s computer. Examples: the value of variables, the values of lists, or text. Uses are: can be used to download files from an operating system simulator, can save game data and not lose progress, and other things. And these files will be locked to the user who download/ uploaded them so they can’t be used to make chat rooms or as a replacement for cloud variables. And so scratch doesn’t lag, it will transmit data 256 bytes a 1 tenth of a second. This is equivalent to the speed that cloud variables update.
download variable [ v] to [ v]Edit: Thanks for replying to comments for me guys!
Lock file [ v] to []
download list [ v] to [ v]
download text [] to [ v]
upload file [ v] from [ v]
(upload file [ v] from [ v])
<file type is [ v]>
(file count uploaded to [ v])
(count of [ v] files on [ v])
(file [ v])
<file [ v] uploaded to [ v]?>
<file [ v] downloaded to [ v]?>
Last edited by Red_Firework (July 3, 2021 16:30:49)
- The_Agent_J
-
100+ posts
New Blocks: Download blocks
May you please tell me where it gets saved? If it gets saved into the computer's files then no support because people can use it to download NSFS/W stuff onto your computer, if there is a section that would be added to scratch that would file everything that you saved/downloaded the support, as it can really help big platformers and other things you want to save.
- dhuls
-
1000+ posts
New Blocks: Download blocks
You can't import videos into Scratch so the download video block shouldn't exist.
IMO, only the download text block would be a good idea, since the others can simply be downloaded by viewing inside.
IMO, only the download text block would be a good idea, since the others can simply be downloaded by viewing inside.
- CreatorBN
-
100+ posts
New Blocks: Download blocks
Agree. You can't import videos into Scratch so the download video block shouldn't exist.
IMO, only the download text block would be a good idea, since the others can simply be downloaded by viewing inside.
offtopic Also I just left this page and suddenly somebody comments on it, that was fast
- b7_
-
62 posts
New Blocks: Download blocks
This could be used to install malware and computer viruses. It would have to be a button and not a block, so that the project couldn't go like this:
when green flag clicked
download (computerirus.png)
- CreatorBN
-
100+ posts
New Blocks: Download blocks
Agree, I was worried for that too. This could be used to install malware and computer viruses. It would have to be a button and not a block, so that the project couldn't go like this:when green flag clicked
download (computerirus.png)
- Red_Firework
-
100+ posts
New Blocks: Download blocks
The_Agent_J wrote:In that case, I think only the download variables, lists, and text blocks should be implemented. And as in reply to your question, I was planning to download it to the user's computer, but I think your idea of saving the files to a new page of scratch is better.
May you please tell me where it gets saved? If it gets saved into the computer's files then no support because people can use it to download NSFS/W stuff onto your computer, if there is a section that would be added to scratch that would file everything that you saved/downloaded the support, as it can really help big platformers and other things you want to save.
- The_Agent_J
-
100+ posts
New Blocks: Download blocks
Alright, full support then. I feel like it would be really useful.The_Agent_J wrote:In that case, I think only the download variables, lists, and text blocks should be implemented. And as in reply to your question, I was planning to download it to the user's computer, but I think your idea of saving the files to a new page of scratch is better.
May you please tell me where it gets saved? If it gets saved into the computer's files then no support because people can use it to download NSFS/W stuff onto your computer, if there is a section that would be added to scratch that would file everything that you saved/downloaded the support, as it can really help big platformers and other things you want to save.
- Red_Firework
-
100+ posts
New Blocks: Download blocks
The reason I came up with this idea was I'm making a o.s. simulator, and I'm trying to give it functional saving. Currently it encodes and saves the data to the cloud. This would help me a lot because I could save the user's files to scratch and there wouldn't be limited people with access to files.
- dhuls
-
1000+ posts
New Blocks: Download blocks
One question. If there's download blocks shouldn't there be upload blocks?
Windows: %USERPROFILE%\Documents\Scratch Downloads
%USERPROFILE% is usually C:\Users\
macOS: $HOME/Documents/Scratch Downloads
$HOME is usually /Users/
download [filename.txt] [contents]::custom-arg // Plain Text Only, stored in a special locationMaybe the location could be
set [foo v] to (upload [filename.txt]::custom-arg)
Windows: %USERPROFILE%\Documents\Scratch Downloads
%USERPROFILE% is usually C:\Users\
macOS: $HOME/Documents/Scratch Downloads
$HOME is usually /Users/
- linearlemur
-
500+ posts
New Blocks: Download blocks
You should have a preview of what's going to be downloaded, and a confirmation box.
- Red_Firework
-
100+ posts
New Blocks: Download blocks
What exactly do you mean? You should have a preview of what's going to be downloaded, and a confirmation box.
- dhuls
-
1000+ posts
New Blocks: Download blocks
It would show the contents of what's about to be downloaded, and a yes or no option.What exactly do you mean? You should have a preview of what's going to be downloaded, and a confirmation box.
- badilreal
-
100+ posts
New Blocks: Download blocks
there should be an nsfw scanner before putting an image to save
- dhuls
-
1000+ posts
New Blocks: Download blocks
It would be better to just limit this to plain text. Also, an image scanner would take a lot of time to implement and it could be easily worked around (splitting it into multiple images, low res, etc.). there should be an nsfw scanner before putting an image to save
- DJUmbreon2
-
100+ posts
New Blocks: Download blocks
Where the h3ll will everything go! These blocks would be used to download items to a new page on the scratch servers or the user’s computer. Examples: the value of variables, the values of lists, or text. Uses are: can be used to download files from an operating system simulator, can save game data and not lose progress, and other things. And these files will be locked to the user who download/ uploaded them so they can’t be used to make chat rooms or as a replacement for cloud variables. And so scratch doesn’t lag, it will transmit data 256 bytes a 1 tenth of a second. This is equivalent to the speed that cloud variables update.download variable [ v] to [ v] :: list
Lock file [ v] to [] :: list
download list [ v] to [ v] :: list
download text [] to [ v] :: list
upload file [ v] from [ v] :: list
(upload file [ v] from [ v] :: list)
<file type is [ v] :: sensing>
(file count uploaded to [ v] :: sensing)
(count of [ v] files on [ v]:: sensing )
(file [ v] :: list)
<file [ v] uploaded to [ v]? :: list >
<file [ v] downloaded to [ v]? :: list >
- Red_Firework
-
100+ posts
New Blocks: Download blocks
You can choose between the user's computer or the scratch servers (the ones that host this website).Where the h3ll will everything go! These blocks would be used to download items to a new page on the scratch servers or the user’s computer. Examples: the value of variables, the values of lists, or text. Uses are: can be used to download files from an operating system simulator, can save game data and not lose progress, and other things. And these files will be locked to the user who download/ uploaded them so they can’t be used to make chat rooms or as a replacement for cloud variables. And so scratch doesn’t lag, it will transmit data 256 bytes a 1 tenth of a second. This is equivalent to the speed that cloud variables update.download variable [ v] to [ v] :: list
Lock file [ v] to [] :: list
download list [ v] to [ v] :: list
download text [] to [ v] :: list
upload file [ v] from [ v] :: list
(upload file [ v] from [ v] :: list)
<file type is [ v] :: sensing>
(file count uploaded to [ v] :: sensing)
(count of [ v] files on [ v]:: sensing )
(file [ v] :: list)
<file [ v] uploaded to [ v]? :: list >
<file [ v] downloaded to [ v]? :: list >
- Red_Firework
-
100+ posts
New Blocks: Download blocks
Hello, I’m just making this post to bump up my topic.
Last edited by Red_Firework (June 16, 2021 15:55:18)
- Red_Firework
-
100+ posts
New Blocks: Download blocks
Hello, I’m just making this post to bump up my topic.