Discuss Scratch

minmin121
Scratcher
25 posts

Displaying usernames with cloud variables?

Hi guys so i need help again . i dont knwo how to Display usernames with cloud variables. coukld you pls help?
deck26
Scratcher
1000+ posts

Displaying usernames with cloud variables?

https://scratch.mit.edu/discuss/topic/722680/ is a recent topic covering this. You need to encode and decode since cloud vars only hold digits.
minmin121
Scratcher
25 posts

Displaying usernames with cloud variables?

i tryed but how do i then display them, using say blocks? cuz it dont work ;-;
deck26
Scratcher
1000+ posts

Displaying usernames with cloud variables?

No reason you can't display if you've handled the decoding properly. You probably need to test you encoding and decoding are working properly.
minmin121
Scratcher
25 posts

Displaying usernames with cloud variables?

the encoding adn decoding works but it isnt displaying ;-;
minmin121
Scratcher
25 posts

Displaying usernames with cloud variables?

look why dont you try it yourself: https://scratch.mit.edu/projects/873160908/
deck26
Scratcher
1000+ posts

Displaying usernames with cloud variables?

Worked as far as I can see. It displayed my username and the cloud variable username contained the correct encoded value. So what is the problem you're seeing? How do we recognise the issue?
minmin121
Scratcher
25 posts

Displaying usernames with cloud variables?

oh right basicaly it makes everyones name the same
minmin121
Scratcher
25 posts

Displaying usernames with cloud variables?

try it again- im online in it right now (:
deck26
Scratcher
1000+ posts

Displaying usernames with cloud variables?

minmin121 wrote:

oh right basicaly it makes everyones name the same
Well if you only use one cloud variable for the username everyone will see the same value! Were you expecting otherwise? You need to use separate variables with the best option probably being to combine the username with other data so you can use a single cloud variable for multiple values.
minmin121
Scratcher
25 posts

Displaying usernames with cloud variables?

deck26 wrote:

minmin121 wrote:

oh right basicaly it makes everyones name the same
Well if you only use one cloud variable for the username everyone will see the same value! Were you expecting otherwise? You need to use separate variables with the best option probably being to combine the username with other data so you can use a single cloud variable for multiple values.
oh wow yes that makes perfect sense!!! thanks for explaining it!



now i just gotta work out how to do that :I

Powered by DjangoBB