Discuss Scratch
- Discussion Forums
- » Questions about Scratch
- » Making a massively multiplayer online game in scratcg using cloud variables.
- 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?
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.
- 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.
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.
https://scratch.mit.edu/discuss/topic/291775/ ) made a while back.Note that cloud variables can hold 256 digits each these days. 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
- -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”
“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.
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. @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”
- 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
- 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
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.
But, the encoded data of a player's username might be 100 characters long…. 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.
- KartikDua
- Scratcher
8 posts
Making a massively multiplayer online game in scratcg using cloud variables.
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.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
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.
But, the encoded data of a player's username might be 100 characters long….
Thankfully, the limit to Scratch usernames is 20 characters long.
- Discussion Forums
- » Questions about Scratch
- » Making a massively multiplayer online game in scratcg using cloud variables.