Discuss Scratch

CompleXcoding2
Scratcher
37 posts

I need help trying to make a cloud data list

I need help trying to make a cloud data list! I just figured out that normal lists can't be seen by everyone.
The list is intended to read the data such as their username, password (use a fake one)and their game data. so when you join the game again you don't have like the amount of money the last person that played had.

the sign in feature, i added into my project is what i am talking about. it is in the notifications.

https://scratch.mit.edu/projects/238648318/

congyingzhou
Scratcher
1000+ posts

I need help trying to make a cloud data list

CompleXcoding2 wrote:

I need help trying to make a cloud data list! I just figured out that normal lists can't be seen by everyone.
The list is intended to read the data such as their username, password (use a fake one)and their game data. so when you join the game again you don't have like the amount of money the last person that played had.

the sign in feature, i added into my project is what i am talking about. it is in the notifications.

https://scratch.mit.edu/projects/238648318/

There aren't cloud lists so you could make a cloud variable and use ‘letter-to-number’ code to save it. (e.g. a=1 b=2…)Example here.

This is my signature. It appears after I post anything! (I added this for people who thought I was advertising)
and now i have finally removed that line of links, a lot don't work anyway after I unshared a bunch of projects
Oh look a rainbow (I wanted to make my whole signature a rainbow, but busted character limit)
2nd most-poster in Requests (still???), top 20 most-poster overall, 7.3K posts total, 6.5K requests foolproof mind reader??, try to beat the unbeatable tic-tac-toe AI
deck26
Scratcher
1000+ posts

I need help trying to make a cloud data list

congyingzhou wrote:

CompleXcoding2 wrote:

I need help trying to make a cloud data list! I just figured out that normal lists can't be seen by everyone.
The list is intended to read the data such as their username, password (use a fake one)and their game data. so when you join the game again you don't have like the amount of money the last person that played had.

the sign in feature, i added into my project is what i am talking about. it is in the notifications.

https://scratch.mit.edu/projects/238648318/

There aren't cloud lists so you could make a cloud variable and use ‘letter-to-number’ code to save it. (e.g. a=1 b=2…)Example here.
Much better in my opinion to use a loop to find the current letter in either a list or string of acceptable characters than use all those if blocks. Also better to code A as 01 so all characters are encoded using 2 digits. The wiki page on Global High Scores shows how to do this.

However cloud vars are now limited to 10 per project with a max length of 128 digits each so you'll only be able to store data for a limited number of users.

Last edited by deck26 (Aug. 20, 2018 07:31:28)

Powered by DjangoBB