Discuss Scratch

Extremguy
Scratcher
100+ posts

Scratch Socket Mod?

Is there a mod that allow to do socket data transfer in Scratch ? Scratch is so fun to use to make game interface , because of how easy it is to use , would been nice if we could have sockets , so we can communicate from a server (made by the user on their own side) to client (not stuff that would been on scratch of course) and then just convert a scratch game (as a client) to an executable. I have a made a server in java using sockets , but making game in java is bad and I love Scratch since long time ago. Hope there is a mod for that. Thanks for your help. Sorry for my grammar mistakes, I'm not an anglophone.
-Lite-
Scratcher
500+ posts

Scratch Socket Mod?

Extremguy wrote:

Is there a mod that allow to do socket data transfer in Scratch ? Scratch is so fun to use to make game interface , because of how easy it is to use , would been nice if we could have sockets , so we can communicate from a server (made by the user on their own side) to client (not stuff that would been on scratch of course) and then just convert a scratch game (as a client) to an executable. I have a made a server in java using sockets , but making game in java is bad and I love Scratch since long time ago. Hope there is a mod for that. Thanks for your help. Sorry for my grammar mistakes, I'm not an anglophone.
You can use cloud variables to connect to a server.
Extremguy
Scratcher
100+ posts

Scratch Socket Mod?

You can ?? So I could send cloud variable data to a server , but can it be on a custom port or it has to be at a specified port? Do I have to intercept the data directed to a specified port ? Is there a specific encryption method used by cloud variable ? So I can decrypt to server ? Or is it just plain bytecode? Thanks for your help!

Last edited by Extremguy (May 29, 2017 19:00:39)

Mole_Gaming
Scratcher
100+ posts

Scratch Socket Mod?

A cloud variable is just a variable that's “the same” for everyone using the project. However, it gets updated pretty slowly atm since they're working on a faster version
Magnie
Scratcher
100+ posts

Scratch Socket Mod?

With Scratch 1.4 there was Mesh (https://wiki.scratch.mit.edu/wiki/Mesh). For Scratch 2.0 your best bet is probably Scratch Extensions (http://scratchx.org/).

Powered by DjangoBB