Discuss Scratch

KartikDua
Scratcher
8 posts

Making a massively multiplayer online game in scratcg using cloud variables.

Hey all, yes I know that this topic has been discussed but I want to make sure I am going the right way.
So, here's the thing, you may say that i am new to scratch but i want to make an mmo in scratch and I think I can use 6 of the cloud variables for player data and the remaining four for username data
Is this the right way to go about it?
-EmeraldThunder-
Scratcher
1000+ posts

Making a massively multiplayer online game in scratcg using cloud variables.

It's better to encode the player data and username into one variables as long as it is shorter that 256 characters. Then you can use other cloud variables for things such as accounts systems or new scratcher detectors to make your game even more polished.

Nothing here.
badatprogrammingibe
Scratcher
500+ posts

Making a massively multiplayer online game in scratcg using cloud variables.

I do not wish to dishearten you, but making any sort of decently complex multiplayer online game in scratch is impossible due to changes to cloud variables (see https://scratch.mit.edu/discuss/topic/291775/ ) made a while back. It has been done in the past, but it is unfortunately impossible now. It's still possible to store approximately 2kb of data, so a simple multiplayer game might be possible, but something complex that would store usernames wouldn't work with more than 150 or so users, and much less if you want to store any data corresponding to each user.
There's another way of going about it, which is using a dedicated server that directly interacts with cloud data to send messages back and forth, but you might get banned for that.
Za-Chary
Scratcher
1000+ posts

Making a massively multiplayer online game in scratcg using cloud variables.

badatprogrammingibe wrote:

I do not wish to dishearten you, but making any sort of decently complex multiplayer online game in scratch is impossible due to changes to cloud variables (see https://scratch.mit.edu/discuss/topic/291775/ ) made a while back.
Note that cloud variables can hold 256 digits each these days.

This is my forum signature! On a forum post, it is okay for Scratchers to advertise in their forum signature. The signature is the stuff that shows up below the horizontal line on the post. It will show up on every post I make.

I was a Scratch Team member from May 10th 2019 to October 29th 2021.

my notebook | scratch team essay | accessibility essay
-Intensify-
Scratcher
55 posts

Making a massively multiplayer online game in scratcg using cloud variables.

@griffpatch has created an infinite player massive platformer.. 200+ Users have played it at the same time. 256 digits is more than enough

“Nothing is impossible, the word itself says ‘I’m possible’! – Audrey Hepburn”
RL1123
Scratcher
1000+ posts

Making a massively multiplayer online game in scratcg using cloud variables.

-Intensify- wrote:

@griffpatch has created an infinite player massive platformer.. 200+ Users have played it at the same time. 256 digits is more than enough

“Nothing is impossible, the word itself says ‘I’m possible’! – Audrey Hepburn”
Actually, it's not infinite and it'll break at some point. He's used 9 cloud variables for player data storage so that equates to around 2304 digits. I'm sure he's found a way to optimise the cloud engine and allow hundreds of users to play at the same time, but since there is a finite amount of cloud data, only a finite amount of people can join.



through tough thorough thought, though














Signature #11
nampinanathali
Scratcher
1000+ posts

Making a massively multiplayer online game in scratcg using cloud variables.

you can technically do a project with 200k players. the lag begin though around 50 users at the same time

mom when look at my browser history
KartikDua
Scratcher
8 posts

Making a massively multiplayer online game in scratcg using cloud variables.

Thanks a lot for helping me, I will probably not straight away try and make an mmo in Scratch, but yes griffpatch has made an mmo with like a max of more than 200 players(but he is like a real coder and the best scratcher).
I will make a 10 player multiplayer first and then move on! ;D
KartikDua
Scratcher
8 posts

Making a massively multiplayer online game in scratcg using cloud variables.

-EmeraldThunder- wrote:

It's better to encode the player data and username into one variables as long as it is shorter that 256 characters. Then you can use other cloud variables for things such as accounts systems or new scratcher detectors to make your game even more polished.
But, the encoded data of a player's username might be 100 characters long….
KartikDua
Scratcher
8 posts

Making a massively multiplayer online game in scratcg using cloud variables.

badatprogrammingibe wrote:

I do not wish to dishearten you, but making any sort of decently complex multiplayer online game in scratch is impossible due to changes to cloud variables (see https://scratch.mit.edu/discuss/topic/291775/ ) made a while back. It has been done in the past, but it is unfortunately impossible now. It's still possible to store approximately 2kb of data, so a simple multiplayer game might be possible, but something complex that would store usernames wouldn't work with more than 150 or so users, and much less if you want to store any data corresponding to each user.
There's another way of going about it, which is using a dedicated server that directly interacts with cloud data to send messages back and forth, but you might get banned for that.

Yeah, you can't make a cloud chat due to moderation issues, but you can make a multiplayer game with more than 10 players.
still thanks!
Elijah999999
Scratcher
1000+ posts

Making a massively multiplayer online game in scratcg using cloud variables.

KartikDua wrote:

But, the encoded data of a player's username might be 100 characters long….

Thankfully, the limit to Scratch usernames is 20 characters long.

Pretty much only use the forums for save codes now.

Here is my Mario Maker (fan game) world code:
https://scratch.mit.edu/discuss/topic/743192/?page=57#post-8009005

Powered by DjangoBB