Discuss Scratch

AnnoyingDoggoX
Scratcher
72 posts

Cloud server hosting (and why scratchers need it)

What if you wanted to make a project where you can send in game currency to your friend?

You can't.

You have to store each person's currency in the cloud, all at the same time because you want to make it so you can send your currency to any player at any time.

Cloud variables go till 10, and then, only 10 people can ever use your project.

You could try joining users into multiple cloud variables, but cloud variables have a character limit.

You'll need cloud lists. (Wait! Keep reading.)

You need to be able host your own cloud server so you can create infinite cloud variables and cloud lists.

This is okay, because players can already make cloud chats, and allowing a player to host their own server would make coding one easier, but you have to host it so practically, nobody would. It wouldn't moderation.

The default 10 you get would allow users to learn and use cloud variables. For advanced scratchers, they can create more interactive projects.
D-ScratchNinja
Scratcher
1000+ posts

Cloud server hosting (and why scratchers need it)

Would this use your own computer to store all the cloud data, or the Scratch servers?

D-ScratchNinja • he/him
- The following is my signature, which always shows up below my posts. -


New! Filter through my projects with my website.

Need to fix an issue? Check out this studio for solutions to some common problems!

OS: Windows 11 / Browser: Microsoft Edge / Time zone: PST/PDT
linearlemur
Scratcher
500+ posts

Cloud server hosting (and why scratchers need it)

I believe Turbowarp has a url parameter that allows you to use a custom cloud variable server for a project: https://github.com/TurboWarp/scratch-gui/wiki/URL-Parameters#cloud_host. You could fork this cloud variable server by Turbowarp to make your own cloud variable server: https://github.com/TurboWarp/cloud-server. You can edit the code in the file “validators.js” in the “src” folder.

Last edited by linearlemur (July 7, 2021 21:14:04)


I found out how to put letters in cloud variables! https://turbowarp.org/526557379 (I really didn't feel like sharing the project, lol)
AnnoyingDoggoX
Scratcher
72 posts

Cloud server hosting (and why scratchers need it)

@D-ScratchNinja the point is to remove the cost for scratch, so they can add cloud lists as an option for users that host their own servers
AnnoyingDoggoX
Scratcher
72 posts

Cloud server hosting (and why scratchers need it)

@linearlemur okay! I think understand! That's pretty cool that you can do it with Turbowarp, although, it is not possible to allow scratch to have cloud lists and unlimited characters in cloud variables even if you did somehow connect the project to an alternative server.

Powered by DjangoBB