Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Logins on scratch
- codingwizard2
-
Scratcher
37 posts
Logins on scratch
Well I've been trying to make a game where you can login or make an account but it dosent seem to be working. I have tried every thing except the thing that works. Please help!
\
when this sprite clicked
hide
add (username) to
\when this sprite clicked
hide
add (username) to
- Also please try my games!
Last edited by codingwizard2 (Feb. 7, 2018 00:32:03)
- Pizzadude007
-
Scratcher
9 posts
Logins on scratch
Hi I will check out your games but did you share the project? i am not an expert at code but i might be able to help. 

- deck26
-
Scratcher
1000+ posts
Logins on scratch
If you're expecting the project to remember names added to a list when it has since been reloaded that won't happen unless you use a cloud list. (True cloud lists don't exist but can be emulated.)
- codingwizard2
-
Scratcher
37 posts
Logins on scratch
I have now shared it. But how do you do a cloud list?
- MathainoTest
-
Scratcher
4 posts
Logins on scratch
What @deck26 means is that you can store usernames in a cloud variable. Because cloud variables do not support letters, you need to use a letter to number converter (do a search on the Scratch website, there are many out there, for beginning Scratchers it's a bit complex). Once you do that, you need to convert the username to a string of letters, then when it needs to be used again, convert it back.
Here we run into the problem of multiple usernames stored. However, this is easily solved with a seperating character, such as / and ?, because usernames can't include these letters.
Here we run into the problem of multiple usernames stored. However, this is easily solved with a seperating character, such as / and ?, because usernames can't include these letters.
- FuturePr0
-
Scratcher
100+ posts
Logins on scratch
Check out the wiki page on Global High Scores.i don't think that will work, that one is more complicated and doesn't use cloud lists, if they don't want to use a leaderboard then that wiki page isn't their answer.
- deck26
-
Scratcher
1000+ posts
Logins on scratch
It covers encoding/decoding usernames which is the important thing. It certainly is using a cloud list.Check out the wiki page on Global High Scores.i don't think that will work, that one is more complicated and doesn't use cloud lists, if they don't want to use a leaderboard then that wiki page isn't their answer.
- hipi-hotel
-
Scratcher
19 posts
Logins on scratch
I support cloud accounts on my game:
https://scratch.mit.edu/projects/180035813/ < Scratch Legends, the most stable 1v1 PvP & Hangout in Scratch! Join awesome battles, collect skins and buy armor for your character! #cloudbased - or why not just chill in the public chatroom?
https://scratch.mit.edu/projects/180035813/ < Scratch Legends, the most stable 1v1 PvP & Hangout in Scratch! Join awesome battles, collect skins and buy armor for your character! #cloudbased - or why not just chill in the public chatroom?
- codingwizard2
-
Scratcher
37 posts
Logins on scratch
I have looked up information and copied the code and put it on a cloud variable but now how do i make it change back into letters. But so far so good!

- deck26
-
Scratcher
1000+ posts
Logins on scratch
Have you tested the encoding has worked as you expect? If you've used the page I referred to it also covers the decoding.
- FuturePr0
-
Scratcher
100+ posts
Logins on scratch
i thought at one point it said ‘because cloud lists aren’t out yet'.It covers encoding/decoding usernames which is the important thing. It certainly is using a cloud list.Check out the wiki page on Global High Scores.i don't think that will work, that one is more complicated and doesn't use cloud lists, if they don't want to use a leaderboard then that wiki page isn't their answer.
- deck26
-
Scratcher
1000+ posts
Logins on scratch
True cloud lists don't exist - they have to be emulated. That's what every cloud list project does and what that wiki page does. They tend to just be referred to as cloud lists but strictly should always be referred to as ‘emulated cloud lists’.i thought at one point it said ‘because cloud lists aren’t out yet'.It covers encoding/decoding usernames which is the important thing. It certainly is using a cloud list.Check out the wiki page on Global High Scores.i don't think that will work, that one is more complicated and doesn't use cloud lists, if they don't want to use a leaderboard then that wiki page isn't their answer.
- codingwizard2
-
Scratcher
37 posts
Logins on scratch
hey guys try it so far. It is not even close to being done but just see if there are any problems.
https://scratch.mit.edu/projects/202753345/#editor

https://scratch.mit.edu/projects/202753345/#editor
- Discussion Forums
- » Help with Scripts
-
» Logins on scratch