Discuss Scratch

mrcreatorluigi
Scratcher
1000+ posts

How do you encrypt usernames in cloud variables?

I was making a high score for this game:
https://scratch.mit.edu/projects/558915600/

If you hover over the world record number, I want it to show the username of who currently has the record. But I don’t know how to encrypt usernames into cloud variables, is there some guide I can use or a full script?

if i was in aladdin, my first wish would be to have infinite wishes, and use those infinite wishes for infinite wishes on each wish, rince and repeat
testdebugging
Scratcher
100+ posts

How do you encrypt usernames in cloud variables?

I'm certainly sure that you have to encrypt the username into numbers to make it compatible for the cloud variable, and a decryption block to decrypt it for visual use.

There might be another way, but that's the most reasonable one in my opinion.


“Only those who want everything done for them are bored.” Billy Graham






mrcreatorluigi
Scratcher
1000+ posts

How do you encrypt usernames in cloud variables?

testdebugging wrote:

I'm certainly sure that you have to encrypt the username into numbers to make it compatible for the cloud variable, and a decryption block to decrypt it for visual use.

There might be another way, but that's the most reasonable one in my opinion.
I know that, but I'm not advanced enough to figure out HOW to code it.

if i was in aladdin, my first wish would be to have infinite wishes, and use those infinite wishes for infinite wishes on each wish, rince and repeat
SnowfurOfThunderClan
Scratcher
14 posts

How do you encrypt usernames in cloud variables?

Maybe you need this code:
when green flag clicked
forever

if <touching [mouse-pointer v] ?> then
say (☁ highscore)
else
say ()
end
mrcreatorluigi
Scratcher
1000+ posts

How do you encrypt usernames in cloud variables?

SnowfurOfThunderClan wrote:

Maybe you need this code:
when green flag clicked
forever

if <touching [mouse-pointer v] ?> then
say (☁ highscore)
else
say ()
end
That won't work because cloud variables only support numbers

Last edited by mrcreatorluigi (Aug. 22, 2021 20:50:08)


if i was in aladdin, my first wish would be to have infinite wishes, and use those infinite wishes for infinite wishes on each wish, rince and repeat
mrcreatorluigi
Scratcher
1000+ posts

How do you encrypt usernames in cloud variables?

RESOLVED: watched a griffpatch tutorial and figured it out, reporting to be closed

if i was in aladdin, my first wish would be to have infinite wishes, and use those infinite wishes for infinite wishes on each wish, rince and repeat

Powered by DjangoBB