Discuss Scratch

Nimbus-2007
Scratcher
20 posts

Using Cloudlink 4 for Online Multiplayer in a Turbowarp Project

Hello Scratch,
I have a Scratch account, and I wasn’t sure where else to post this. I feel like this is the best place to ask something like this.

I am working on a game in Turbowarp, and I want to add online multiplayer. I did my research, and I already know about the limitations of cloud variables. The game I’m making would, when played online, require the ability to send data to a room of players. Basically, the game runs separately on each device, with each player character being moved by a “command” variable that tells them what action to take next. It’s an action game, so the updates for cloud variables need to be fairly quick.

Most importantly, the game is too big to upload onto Scratch, so I have to make it in Turbowarp. Scratch’s file size limit of 5 MB is too small for this project, and I passed that limit quite a while ago (the full project — costumes, scripts, sounds, and all — is around 175 MB). Because of this, I want to put the project onto Itch (dot) io. From what I know, that platform can run Turbowarp pretty well, and it can handle many of the extensions I’d like to include.

This is where I looked into Cloudlink 4, which seems perfect for making online multiplayer games in Turbowarp. The only problem is, I don’t know if Itch (dot) io can handle it, and I’m not totally sure how Cloudlink 4 works. I get that it connects to servers and sends information, but I really need to know how to send data that gets saved into specific variables. For example, I know how to send “Hello world” to the server globally, but I don’t know how to send “Hello world” across the server and have it saved to a variable of my choice.

So, in total, my question is about how Cloudlink 4 actually works, and whether putting my full project on Itch (dot) io would even be a good choice for what I want to do.

Sorry for the wall of text, but I hope somebody here can help. This might be a pretty advanced question, and if so, I apologize in advance. But I’d like to start by asking here.

Thanks,
— Nimbus 2007

P.S. If Itch (dot) io isn’t the best place to share the game, then I have another question: is it possible to post a project directly onto the Turbowarp site, without Scratch first? I’ve seen mixed answers — some say yes, some say no.
Additionally, I had to rewrite this entire post due to Scratch's filter bot being very strict. That's why some phrases look weird.
RokCoder
Scratcher
1000+ posts

Using Cloudlink 4 for Online Multiplayer in a Turbowarp Project

Nimbus-2007 wrote:

the full project — costumes, scripts, sounds, and all — is around 175 MB
The 5MB limit is for the project.json file, so it doesn't include all the assets. What size is your JSON file at present? Techniques exist to reduce that file's size, and sharing the project directly on Scratch is often the best approach.
Nimbus-2007
Scratcher
20 posts

Using Cloudlink 4 for Online Multiplayer in a Turbowarp Project

The JSON file is about 22 MB in size. It’s a very large game, at least compared to what Scratch can normally handle. I know there are ways to reduce that size, but honestly, I’d like to host my game on a platform bigger than Scratch.
No offense to the Scratch team, but with Turbowarp I’m able to work without the same limits as the Scratch editor. That means I don’t have to worry as much about things like file sizes or clone counts. (For example, my game uses a custom particle system, with the clone count sometimes going over 300.)
Because of this, I feel like Itch (dot) io would be more accessible and better suited than Scratch.
That’s why my question is about Turbowarp extensions: do you know how the Cloudlink extension works, and whether it can be used on Itch (dot) io reliably?

Last edited by Nimbus-2007 (Sept. 30, 2025 16:26:02)

Powered by DjangoBB