Discuss Scratch

Poukatchu
Scratcher
100+ posts

Acess to Cloud data history as a list

Cloud variable can be very useful while making projects and it can be very fun to use them for multiplayer games, but they lack of something that would allow us to keep more data. I know that cloud list will not be added to scratch because it would be a problem for the server to hold too much information.

However, there would be another way that already exist to keep those informations: The Cloud data history.

I think that it would be a great addition to add a way to access them in something like a list, which would just contain every variables in order. You would not be able to directly add or remove things to this list, but just read the informations that are already stored in Scratch's servers.

Currently, I think this history can only hold a certain amount of numbers, and I think this addition would be useful even with the same limit and even if it only updates itself once the project is reloaded.

This would be very useful for things like online saving or creating projects in which you can add thing that can stay in the game, for example a level maker that would store your level in a cloud variable, and then could be played by other players by using the Cloud Data history to load it. It could even do more simple things like saving where people die in your games and show them to other people. In this case, you can see that the amount of numbers stored (I think it is 120) would not affect anything, it would only show the 120 last deaths.

I know that all of this sounds a lot like Cloud Lists, and I can understand why we can't have them in Scratch, but the Cloud Data history is right there, so why couldn't we use it? It would add so much to scratch in my opinion. I may have missed something that would make this impossible, but I really hope this could be a thing

Last edited by Poukatchu (April 18, 2020 10:10:51)

WindOctahedron
Scratcher
1000+ posts

Acess to Cloud data history as a list

Doesn't that already exist?
Below the love and favourite buttons, there is “Cloud variables, see data”. Click on the “see data” to view the history. For example, here.

Edit: changed the project so that it won't count as advertising.

Last edited by WindOctahedron (April 17, 2020 19:40:20)

Poukatchu
Scratcher
100+ posts

Acess to Cloud data history as a list

Yes, that is my point. It exist, but, at my knowledge, you can not use it with code inside your project, you can only look at it. It would be useful to have a way to add these in the scripts of your projects
AFNNetworkK12
Scratcher
1000+ posts

Acess to Cloud data history as a list

Poukatchu wrote:

Yes, that is my point. It exist, but, at my knowledge, you can not use it with code inside your project, you can only look at it. It would be useful to have a way to add these in the scripts of your projects
Well, you can possibly use encrypt/decrypt to do this.
1. Make a local var containing the cloud var's value.
2. Encrypt the cloud var value and put it in a seperate cloud var separating the values by spaces.
3. When use is needed, decrypt into a local var.
4. Use that for what you need.
Poukatchu
Scratcher
100+ posts

Acess to Cloud data history as a list

Yes, but the problem is that there is not enough space. I would love if we were able to permanently save a cloud variable in a list, but they reset when someone leave the project. For example, if I would like to create a automatic save feature that would allow the player to continue the game at the same point he was when he left without using a code (I am aware you can use save codes and ask the player to enter it each time, but he will need to save it in a file or something and I don't think that many people will try to do this), I can't just add his name and his save's data in a list, because it will all disapear once he leave. The total 2560 digits in the 10 cloud variable isn't enough to do things like that.
MentalBox
Scratcher
100+ posts

Acess to Cloud data history as a list

Necroposting because I wanna plead this case and I posted a dupe earlier

AFNNetworkK12 wrote:

Well, you can possibly use encrypt/decrypt to do this.

Encryption isn't very accessible to someone new to scratch who just wants to make high score list for example. I was faced with this challenge almost 5 years ago when I got my scratcher status. It took months of trying and procrastinating before I actually did it successfully.

I'd have an easier time making api calls for the cloud data in some js userscript than I would trying to collect the exact same data through cloud variables, which is counterintuitive for scratch.

Last edited by MentalBox (Aug. 18, 2022 01:27:46)

devm_15
Scratcher
7 posts

Acess to Cloud data history as a list

It can be used to make folders like i did in my project windows 98

Powered by DjangoBB