They should have an enitire new section of blocks in scratch called 'File'
Some blocks it would contain, are:
[Create File called [ ]]
[Delete File called [ ]]
[Overwrite File called [ ] as [ ]]
[Save File called [ ]]
[Copy File called [ ] onto [ ]]
[Open File called [ ]]
<File called [ ] contains [ ]]
[Rename File called [ ] as [ ]]
Do you guys like it?
Offline
wiimaster wrote:
They should have an enitire new section of blocks in scratch called 'File'
Some blocks it would contain, are:
[Create File called [ ]]
[Delete File called [ ]]
[Overwrite File called [ ] as [ ]]
[Save File called [ ]]
[Copy File called [ ] onto [ ]]
[Open File called [ ]]
<File called [ ] contains [ ]]
[Rename File called [ ] as [ ]]
Do you guys like it?
I definitely like it but it's probably too advanced for the younger kids that Scratch was made for.
Offline
climber59 wrote:
I don't think delete, overwrite, and rename should be there (if you can do any files) because someone could delete/tamper with system files, scratch projects, or scratch itself.
Yes.
That's why the Scratch Team won't allow it.
Sorry. You can save in a list and save the project, though!
Or maybe you can make it closed so that you can only make/modify files in the Scratch Folder.
Offline
Oh the beautiful things that came into my head when I saw this.... ^^
Offline
explaining would be very complicated, actually...
@MRN: There's gray stuff surrounding the text in that picture
Last edited by Survivorduck (2010-06-17 15:13:51)
Offline
Survivorduck wrote:
@MRN: There's gray stuff surrounding the text in that picture
![]()
Those are jpeg artifacts.
Offline
Like other[s] said above, I definitely don't support the idea of delete, overwrite, and rename... You could totally mess up somebody's computer with those. And there is always the potential of somebody then creating a virus in Scratch even without those blocks. Overall, I`d support if a few of the kinks could be sorted out.
Offline
wiimaster wrote:
I do not mean like saving to someones computer files. I meant only within that 1 project. It would not overwrite or create a new file on your computer. Just small one in game projects.
I'm not so good at explaining, sorry.
So, like extended variables?
That makes sense... Sort of. Except I don't see how that would particularly differentiate from variables, or what the use of it would be.
Offline
coolstuff wrote:
wiimaster wrote:
I do not mean like saving to someones computer files. I meant only within that 1 project. It would not overwrite or create a new file on your computer. Just small one in game projects.
I'm not so good at explaining, sorry.So, like extended variables?
That makes sense... Sort of. Except I don't see how that would particularly differentiate from variables, or what the use of it would be.
I don't understand how you could use variables to remember a frame or chunk of an entire project. Could you explain how I could do that?
Offline
wiimaster wrote:
coolstuff wrote:
wiimaster wrote:
I do not mean like saving to someones computer files. I meant only within that 1 project. It would not overwrite or create a new file on your computer. Just small one in game projects.
I'm not so good at explaining, sorry.So, like extended variables?
That makes sense... Sort of. Except I don't see how that would particularly differentiate from variables, or what the use of it would be.I don't understand how you could use variables to remember a frame or chunk of an entire project. Could you explain how I could do that?
"To remember a frame" -- I'm not entirely sure what you mean by that. Or a "chunk of an entire project." Files are just text, and the computer does with that text what it will.
Offline
coolstuff wrote:
wiimaster wrote:
coolstuff wrote:
So, like extended variables?
That makes sense... Sort of. Except I don't see how that would particularly differentiate from variables, or what the use of it would be.I don't understand how you could use variables to remember a frame or chunk of an entire project. Could you explain how I could do that?
"To remember a frame" -- I'm not entirely sure what you mean by that. Or a "chunk of an entire project." Files are just text, and the computer does with that text what it will.
Meaning like, if you do something in a game, and you press save, it will remember all you have just done within the project. Then, it saves it as a file that can be re-opened, overwrited or deleted
Offline
wiimaster wrote:
coolstuff wrote:
wiimaster wrote:
I don't understand how you could use variables to remember a frame or chunk of an entire project. Could you explain how I could do that?"To remember a frame" -- I'm not entirely sure what you mean by that. Or a "chunk of an entire project." Files are just text, and the computer does with that text what it will.
Meaning like, if you do something in a game, and you press save, it will remember all you have just done within the project. Then, it saves it as a file that can be re-opened, overwrited or deleted
But, if it's in one project like you said, then it would be saved to your computer, no? Although I understand what you're saying - sort of like cookies?
Offline
coolstuff wrote:
wiimaster wrote:
coolstuff wrote:
"To remember a frame" -- I'm not entirely sure what you mean by that. Or a "chunk of an entire project." Files are just text, and the computer does with that text what it will.
Meaning like, if you do something in a game, and you press save, it will remember all you have just done within the project. Then, it saves it as a file that can be re-opened, overwrited or deleted
But, if it's in one project like you said, then it would be saved to your computer, no? Although I understand what you're saying - sort of like cookies?
Cookies? A bit I guess.
Last edited by wiimaster (2010-06-17 17:21:02)
Offline
wiimaster wrote:
coolstuff wrote:
wiimaster wrote:
Meaning like, if you do something in a game, and you press save, it will remember all you have just done within the project. Then, it saves it as a file that can be re-opened, overwrited or deletedBut, if it's in one project like you said, then it would be saved to your computer, no? Although I understand what you're saying - sort of like cookies?
Cookies? A bit I guess.
Saving data as cookies would be nice. That is how flash games do it.
Offline
coolstuff wrote:
Like other[s] said above, I definitely don't support the idea of delete, overwrite, and rename... You could totally mess up somebody's computer with those. And there is always the potential of somebody then creating a virus in Scratch even without those blocks. Overall, I`d support if a few of the kinks could be sorted out.
You can make a virus in Scratch?
And yeah, I support.
Offline
MaxtheWeirdo wrote:
coolstuff wrote:
Like other[s] said above, I definitely don't support the idea of delete, overwrite, and rename... You could totally mess up somebody's computer with those. And there is always the potential of somebody then creating a virus in Scratch even without those blocks. Overall, I`d support if a few of the kinks could be sorted out.
You can make a virus in Scratch?
And yeah, I support.
You can't make a virus in Scratch with the current version. But by modifying the files on your computer, you totally could.
Offline
coolstuff wrote:
MaxtheWeirdo wrote:
coolstuff wrote:
Like other[s] said above, I definitely don't support the idea of delete, overwrite, and rename... You could totally mess up somebody's computer with those. And there is always the potential of somebody then creating a virus in Scratch even without those blocks. Overall, I`d support if a few of the kinks could be sorted out.
You can make a virus in Scratch?
And yeah, I support.You can't make a virus in Scratch with the current version. But by modifying the files on your computer, you totally could.
Maybe there could be a "Files made by scratch" folder or something like that within the Scratch folder and files could only be created, deleted and renamed there within special folders for each project? For instance, say that I had a project called "Cat Frenzy" that used files. All the files for that project would go inside the "Cat Frenzy" folder witch would in turn be inside a folder which had all the folders for scratch projects. This would prevent projects from messing with your files or files from other scratch projects. Perhaps a little window could also pop up whenever it calls one of those blocks so that it wouldn't fill up your computer's memory without you giving your permission.
Offline
Silverspines wrote:
coolstuff wrote:
MaxtheWeirdo wrote:
You can make a virus in Scratch?
And yeah, I support.You can't make a virus in Scratch with the current version. But by modifying the files on your computer, you totally could.
Maybe there could be a "Files made by scratch" folder or something like that within the Scratch folder and files could only be created, deleted and renamed there within special folders for each project? For instance, say that I had a project called "Cat Frenzy" that used files. All the files for that project would go inside the "Cat Frenzy" folder witch would in turn be inside a folder which had all the folders for scratch projects. This would prevent projects from messing with your files or files from other scratch projects. Perhaps a little window could also pop up whenever it calls one of those blocks so that it wouldn't fill up your computer's memory without you giving your permission.
Yeah, that makes sense! Great idea!
Offline
coolstuff wrote:
Silverspines wrote:
coolstuff wrote:
You can't make a virus in Scratch with the current version. But by modifying the files on your computer, you totally could.Maybe there could be a "Files made by scratch" folder or something like that within the Scratch folder and files could only be created, deleted and renamed there within special folders for each project? For instance, say that I had a project called "Cat Frenzy" that used files. All the files for that project would go inside the "Cat Frenzy" folder witch would in turn be inside a folder which had all the folders for scratch projects. This would prevent projects from messing with your files or files from other scratch projects. Perhaps a little window could also pop up whenever it calls one of those blocks so that it wouldn't fill up your computer's memory without you giving your permission.
Yeah, that makes sense! Great idea!
Thanks!
Offline
Interesting discussion! It's tricky to think about writing files, eh?
We want to make Scratch 2.0 have the ability to save some data, but probably not on the user's local machine - probably on our server (where all the Scratch files will be saved as well). I guess it will end up being more like Google Docs: you can save and browse data from your my stuff page.
Offline
Good idea Lightnin! But offline there could still be a virus. Not sure about Squeak, but ..\ in a file path means up one level. So ..\..\..\WINDOWS, from Scratch, is your C:/WINDOWS folder. It should also make sure you can't make a folder called con or prn because those make a error in windows. I don't have a mac or Linux so idk there.
PC programmer does it again!
oh yeah, the ..\ thing could be fixed by restricting that too.
I also like the "Scratch Files" folder idea.
Offline