Discuss Scratch

DonnyCraft
Scratcher
100+ posts

Save Data in Scratch

Support!
Super_Toad
Scratcher
7 posts

Save Data in Scratch

iTweak0r wrote:

Rub0Gameton wrote:

If it were locally, it should be through Local Shared Objects (what Flash uses to store stuff in yor computer)

good idea!

(I know this is an old post but I still want to answer)
What you do is you give the player a code that they can save to there computer as a text file and paste it later.
If your ok with cloud variables then use 'Save Data Engine',
it saves a code with the players username on to a cloud list and automatically loads it when the player clicks on the green flag.
OpiGames
Scratcher
100+ posts

Save Data in Scratch

No support
Scratch is for beeing creative! It isn't hard to make cloud saves - everything you need is coder with decoder and some imagination
If someone isn't Scratcher, project can just give him code. Easy!
Just see: If Scratch Team adds blocks to do everything (for example save load gravity moving) it will be not longer Scratch! Not the same one… When they do that, you don't need to do anything, you have already all game, just join blocks…
Toastache
Scratcher
9 posts

Save Data in Scratch

Cookies sound like a good idea.

when green flag clicked
switch costume to [loading save data...]
load cookie [level] to var [level]
load cookie [totalcoins] to var [coins]
switch costume to [Loaded. Click to save.]

when this sprite clicked
delete [all cookies]
set cookie [level] to [level]
set cookie [totalcoins] to [coins]
switch costume to [Saved!]

Last edited by Toastache (March 8, 2016 04:36:59)

Toastache
Scratcher
9 posts

Save Data in Scratch


Cookies sound like a good idea.


when green flag clicked
switch costume to [Loading save data...]
load cookie [level] to var [level]
load cookie [totalcoins] to var [coins]
switch costume to [Loaded! Click to save!]

when this sprite clicked
switch costume to [saving...]
delete [all] of the cookies
get cookie [level] from [level]
get cookie [totalcoins] from [coins]
switch costume to [Saved!]
stop [all]

Last edited by Toastache (March 8, 2016 04:43:50)

juangenial452
Scratcher
57 posts

Save Data in Scratch

import () variable :: variables
export () variable :: variables
good blocks

Last edited by juangenial452 (Nov. 28, 2016 16:17:32)

Meowlit12
Scratcher
100+ posts

Save Data in Scratch

You know everyone that the Scratch Team at some point, deletes cloud data right? I Support Local Data.
Digital_Gaming
Scratcher
1000+ posts

Save Data in Scratch

This would allow for longer games. Supoort
CodingKirby
Scratcher
8 posts

Save Data in Scratch

I would have to think that this is clever, but if cloud data is stored on the server for Scratch, wouldn't it change someone's data to someone else's? For example, if someones on level 2 and you are on level 10, if what I said was true, the level you are on wouldn't be level 10, instead it would be level 2. This would cause a problem with the game, and no one would reach the final level and beat it unless you play it without stopping the game, meaning you would keep the game running until beating the game. Even after that, you might be switched back to any level except the last one.
Let's continue. If you want to change the cloud data name and change what it does without making a new variable, you can't. This would make the game bigger with more variables, and that would mean anyone with a slow computer or slow internet playing the game would make it take forever to load, and less people would play it. So if you could edit the variables without making new ones or making a whole new project, games you make even though are big, it would still run a bit faster and would save time on projects.
But there would still be one problem. You really can't delete variables, so the only way to do that is to make a new project, which would make the projects take more time. So if you could right-click on variables and click ‘Delete’ or ‘Edit’, it would be easier.
So variables are useful, including cloud data ones, but there are still problems with them. So if anyone sees this, send it to the people who make Scratch. That would be useful. Thanks!
PintOfMilk
Scratcher
1000+ posts

Save Data in Scratch

No support

OpiGames wrote:

No support
Scratch is for beeing creative! It isn't hard to make cloud saves - everything you need is coder with decoder and some imagination ;)
If someone isn't Scratcher, project can just give him code. Easy!
Just see: If Scratch Team adds blocks to do everything (for example save load gravity moving) it will be not longer Scratch! Not the same one… When they do that, you don't need to do anything, you have already all game, just join blocks…
I agree^ with this

and you can make users copy the paste the save (or like code) to a file using
(list :: list)
Have a look at this https://scratch-mit-edu.ezproxyberklee.flo.org/projects/24179776/
and this https://mv-ezproxy-com.ezproxyberklee.flo.org/wiki/Saving_Data#Saving_Data_in_Lists


I don't support because these workarounds
jellyrmaker
Scratcher
95 posts

Save Data in Scratch

meh maybe support

Last edited by jellyrmaker (Feb. 8, 2017 19:00:27)

BJATJames
Scratcher
22 posts

Save Data in Scratch

I think that's a great idea
nickeljorn
Scratcher
1000+ posts

Save Data in Scratch

Support! I heard that gamers have to sleep and eat once in while because they're only humans.
duckboycool
Scratcher
1000+ posts

Save Data in Scratch

No support, having an auto-encoder and decoder is just not Scratch. It's not that hard to make anyway.

Also previously stated reasons.
kenny2scratch
Scratcher
500+ posts

Save Data in Scratch

Some block mock-ups:
save data [asdf] into tag [test] :: #00aaaa
(data in tag [test] :: #00aaaa) // reports "asdf"
<tag [test] exists? :: #00aaaa> // reports "true"
delete data in tag [test] :: #00aaaa
Digital_Gaming
Scratcher
1000+ posts

Save Data in Scratch

Support. This would make bigger games more feasible.
Digital_Gaming
Scratcher
1000+ posts

Save Data in Scratch

Digital_Gaming wrote:

Support. This would make bigger games more feasible.

Digital_Gaming wrote:

This would allow for longer games. Supoort
Sorry for saying the same thing twice. My B
Sans299
Scratcher
13 posts

Save Data in Scratch

move (0) steps
<[Ur life] < [a dog]>
Sans299
Scratcher
13 posts

Save Data in Scratch

That * mudafocka wrote:

import (stupidity) variable :: variables
export (Intelligence) variable :: variables


fphiladelphia
Scratcher
1000+ posts

Save Data in Scratch

Sans299 wrote:

move (0) steps
<[Ur life] < [a dog]>
Please don’t spam.

Powered by DjangoBB