Discuss Scratch

bullelk12
Scratcher
100+ posts

Username and Password system

Alright, so, if my understanding of how cloud variables will work is correct, then this project will show how to make a Username and Password system with fake cloud variables. By fake I mean normal variables with the “*Cloud” next to their name. This marks that this variable will be a cloud variable when cloud variables are enabled. Go ahead and check it out: Username/Password

Read the instructions and notes for more details.

Last edited by bullelk12 (Feb. 21, 2013 19:30:51)

GlennWright
Scratcher
100+ posts

Username and Password system

Impressive
tlangster
Scratcher
100+ posts

Username and Password system

Good job

Suggestion: Have it correlate to your User ID so that it has its own reserved slot.
nXIII
Scratcher
1000+ posts

Username and Password system

The problem with usernames and passwords (rather than user IDs) is that anyone can see inside the project and show the password list.
bullelk12
Scratcher
100+ posts

Username and Password system

, yea, I was thinking about that. I was thinking I would try to encrypt it somehow, but someone may be able to crack the code.
bullelk12
Scratcher
100+ posts

Username and Password system

I believe that I fixed it, not positive though. I added a third parameter cloud list that corresponds with the Username and Password lists. Now, when the player registers, it also adds he/she's UserID to a cloud list. So it doesn't matter if they know the password and username because they would also need to have the same UserID when they login, which is not possible. So I think it's fixed, any comments?

Last edited by bullelk12 (Feb. 22, 2013 01:02:32)

nXIII
Scratcher
1000+ posts

Username and Password system

I just don't see why you need passwords if you can verify their identity with the user id block…
bullelk12
Scratcher
100+ posts

Username and Password system

yea, I know. It sort of defeats the purpose. However, having a username and password system can make the project seem more… I don't know, cliche I guess, lol. Just has a more natural feeling about it I guess.

You could easily subtract the username and password altogether and just keep the UserID. Then you would automatically login, which would be interesting. So that's the other side of the scale. More simple vs more natural.

Last edited by bullelk12 (Feb. 22, 2013 02:56:41)

nXIII
Scratcher
1000+ posts

Username and Password system

bullelk12 wrote:

yea, I know. It sort of defeats the purpose. However, having a username and password system can make the project seem more… I don't know, cliche I guess, lol. Just has a more natural feeling about it I guess.

You could easily subtract the username and password altogether and just keep the UserID. Then you would automatically login, which would be interesting. So that's the other side of the scale. More simple vs more natural.
Yeah, that's an interesting point. It does make the project seem more “application-y.” Automatic login can be really nice, though.
bullelk12
Scratcher
100+ posts

Username and Password system

well, here's an idea that molds both ideas together. There could be a check box that says “would you like to auto login?”, and if it's selected then it would automatically login the player.
bullelk12
Scratcher
100+ posts

Username and Password system

bump
allydozen
New Scratcher
1 post

Username and Password system

hi gys this is my first time on scrach.
JacobyJr
Scratcher
31 posts

Username and Password system

For the lists you could make this script:
whenclickedforeverHideTheList

Then hide the script somewhere in your project.

Last edited by JacobyJr (Dec. 6, 2014 08:06:07)

9805
Scratcher
4 posts

Username and Password system

Have good day you and then we have anything
move10stepswhenclickedsayhello
9805
Scratcher
4 posts

Username and Password system

whenclickedmove25stepsthinkIloveeveryone.for2secs

Powered by DjangoBB