Multiplayer is easy now | Scratch
Тәжірибелік нұсқаулар және стиль
CloudLink - github.com/mikedev101/cloudlink
In this video I show off cloudlink one of the many new extensions in Turbowarps new update.
Cloudlink allows us to do networking much easier and allows us to make big multiplayer games but still with an Scratch environment
Songs: Chill - sakura Hz, (Cant remeber the rest)
#scratch #programming #multiplayer
Пікірлер: 153
definitely going to come back to this when I have time; I haven't paid much attention to turbowarp outside of using it as a less laggy way to run projects, so this is all cool and new to me :3
@user-pq2ih4yh3r
10 ай бұрын
:0 i know u u use scratch
@ameridev
9 ай бұрын
maybe you can apply it to your 3d games?
@jn567
9 ай бұрын
Yeah there's a bunch of extensions you can add.
@JooNazzX
6 ай бұрын
Same the game jolt api is awesome so is all the fetch data and 2d box physics 💪
@abisoyealaba749
Ай бұрын
lol
Unity: **makes downloading a something payed, and making a lot of developers in debt** Scratch: **turns purple i guess?** Turbowarp: **proceeds to add a easy way to make multiplayer**
@thekrazydev
9 ай бұрын
Lol, this so true
@exorich
9 ай бұрын
fr why is scratch now frikin purple my eyes are bleeding
@1trie
9 ай бұрын
if you think the purple was bad, just see how scratch looked like on 2015@@exorich
@ches2839
9 ай бұрын
you're the type of kid to make animations on scratch
@matanimatesstuff2820
9 ай бұрын
@@ches2839 well you are just spreading my comment dude
*READ* Make sure you join a room before sending data. Otherwise your data will be sent to anyone using that same server from other projects connected to the same server. I'll soon make a updated video with room joining and hopefully matchmaking so stay tuned!
@mikedev101
10 ай бұрын
You can link to a room to work around that.
@thekrazydev
10 ай бұрын
@@mikedev101 Oh okay I'll modify the comment
@NeriQward
9 ай бұрын
hi! please do a tutorial on how to make a multiplayer game (with sending x/y data) using cloudlink, i would be very grateful!
@AJ-Palermo
9 ай бұрын
Rooms are broken, since last time I checked
@thekrazydev
9 ай бұрын
@@AJ-Palermo I've recently used them and had them working, but did take some fidgeting. Will show in my upcoming vid/series of making a full game using this exstention.
i made a jackbox inspired game with cloudlink! thanks for the basics!
Randomly found this video, love the vibes it's really chill also you have a very nice voice :]
@thekrazydev
10 ай бұрын
Glad you like it :D. Thank you :)
@YourLocalSharkFanatic
10 ай бұрын
@@thekrazydevYou're welcome :D
@Blueisbackshorts.
9 ай бұрын
hey i like it too
6:11 bro didnt rrly see the "When connected" action but putting that ahead its really cool.
Thanks man!! :DD
8:34 i cant believe you just called dumplings "ice cream cone" lol
@thekrazydev
9 ай бұрын
Bro, I dont know how I didnt realize it was on stick lol. Genuinely thought it was a cone thanks for the info lol
@ego-lay_atman-bay
8 ай бұрын
It's not even dumplings either, it's a dango. Ok, a dango may be dumplings on a stick, but it's still called a dango.
This reminds me of the "MMO" Extension inside of Gandi ide.
very useful!
omg tx YOUR THE BEST
By the way I think something bad happened to the scratch cloud variables, the new cloud variables don't work(it's possible that it works again now I tried it 2 days ago several times)
wow, so easy. nice music
my childhood dream of making my own terrible roblox clone can finally come true
@Wyvurn
9 ай бұрын
yayy
@DaAlphaDawg
8 ай бұрын
yay
"Ice cream code" Dude that's a dango, it's very different.
alright going to use scratch as a database now, i guess?
I've gotten to 7:14 in the video, but when I run the code it doesn't connect. Does anyone know how to connect to the servers? EDIT: I just used server 3 (Oceania) dispite being farther away it accually worked
You must look new extentions man And we can do good games.
i been using scratch like almost a decade and there is an easy multiplayer now
make a tutorial on how to make a multiplayer game next
a question. does turbo warp read my pc? because it tells me in the Navigator extensions to paste and copy which finger I am touching. once I entered turbo warp and it started to close chrome and turn off the pc and it also told me operating system blah blah blah
Let's make some unmoderated chat rooms
@CripsyFries
3 ай бұрын
just use a external api like purgo malum (use the network extension)
👀
I used this code. But when I start project, sprite says "Failed To Connect". I need to help.
bro, im having a problem, when i start the project, the clones start teleporting to random positions
would i be able to manifest this into a matchmaking sequence to find other people playing the game and into a fighting game?
@thekrazydev
13 күн бұрын
Yes, but im pretty sure the addon has stopped being supported as the developer is working on a new version
Could you use the same server number to connect to for multiple projects and it would work?
@thekrazydev
9 ай бұрын
Yes. But make sure to join a room before doing so. All data sent on the server gets sent to everyone. Even people on other servers. So make some kind of ID or something and then join a room with it. I'm working on a multiplayer game tutorial series thingy stay tuned.
@Ray-uy4ez
9 ай бұрын
@@thekrazydev Okay
@Toshy128
7 ай бұрын
@@thekrazydev with mine i tried it so it makes an ID which is randomly generated and then if it has to it sends at then deletes. i put it into a list but it dosent goto another copy of the project. help?
@jn567
6 ай бұрын
all clients need the same id to send data to other people @@Toshy128
Scratch if it had steroids
how do i get my own server
theres no global data packet block for me :(
"when connected" "when failed to connect"
Can you make how to make a multiplayer platformer with this? It would be very helpful!
@pou-c
Ай бұрын
the problem is, you can't upload it to scratch
SONG PLEASE (in the beggining)
@thekrazydev
9 ай бұрын
secret crates - Springtime Stroll :)
@Tealen
9 ай бұрын
thank u so much im subbing just for that@@thekrazydev
do you need scratch extensions for these extensions/blocks?
@Thatoneham
10 ай бұрын
this is a custom extenstion so no you dont need scratch extenstion
@islemgaming201
10 ай бұрын
@@Thatonehamoh ok, ty!
@Donobodude
9 ай бұрын
You don’t need any browser extensions, if that’s what you meant. You DO need Turbowarp for the custom extensions though.
@Toshy128
7 ай бұрын
or any custom version of scratch that supports adding extensions@@Donobodude
what if someone made discord with this lol
thanka
How did you set up your server?
@thekrazydev
4 күн бұрын
I was incorrect about needing an server. All you need to do is join an room. Heres an more in depth tutorial -> kzread.info/dash/bejne/nKeA1ruEqamocag.htmlsi=G4io8kvHzjXXpWD6
me who still has trouble making a multiplayer game on penguinmod
box2d turbowrap tutorial next?
@NeriQward
9 ай бұрын
i can teach you thats easy
@CreativeMC_YT
9 ай бұрын
@@NeriQward how
is never connecting how to fix that
:D i helped make cl server partly
@ShowierData9978
10 ай бұрын
also cl py server has support for cloud vars
can you make a cloud list with cloudlink?
@thekrazydev
8 ай бұрын
Probably but there no build in method of making one, so you would still have to program it.
my like is 700th 😎
For me, the connection is failed.
I can't connect to a server (yes i'm connected to the internet)
how do i host my own server on my pc if i do not want to pay
@thekrazydev
9 ай бұрын
I think you can use the cloudlink python library. Check the documentation on how to use that. But I could be wrong. Ill do some research and let you know
@xTres_12332
9 ай бұрын
is that extension for turbowarp@@thekrazydev
@xTres_12332
9 ай бұрын
and is there anyway where i can buypass the maximum of 10cloud variables because that is all going to be on my server if its possibl. Why would they care@@thekrazydev
Heya
Make Online moving, noit sent data only
6,755th viewer and 210th liker and 43rd commenter!
gonna check it out maybe it's better than unity
@ad1340yt
10 ай бұрын
Its block coding 💀
@CreativeMC_YT
10 ай бұрын
@@ad1340yt but for 2d games it might be better
@CreativeMC_YT
10 ай бұрын
@@ad1340yt yes but for simple 2d and for 2d in generarl it could be better
@Ray-uy4ez
9 ай бұрын
@@ad1340yt So?
@ad1340yt
3 ай бұрын
@@Ray-uy4ez I use turbowarp to make stuff but I would NOT just say it's better than unity, unity has like 10x more stuff and things
i know the owner of this extension also MEOWER REFERENCE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
could? you tell me how to show position for multiplayer, other then that your getting a sub
@thekrazydev
10 ай бұрын
All you would need to do is send position x instead of subscribe. For sending position x and y I'd recommend using the JSON extension. Create an JSON object, then add X as position x and add Y as position y, then send that JSON object over. I'll most likely be doing a series on using this cloud-link to make a multiplayer game with lobbys and infinite player support being its so powerful (Especially with JSON ), so stay tuned for that . Though I highly recommend learning JSON. It'll make your life so much easier, and not to hard to learn.
@Thatoneham
10 ай бұрын
@@thekrazydevabout lobbies. Earlier I made a simple chat and the connect lobby ID won't go higher then 4
@thekrazydev
10 ай бұрын
@@ThatonehamCould you explain what you mean by lobby id?
@Thatoneham
10 ай бұрын
@@thekrazydev i use connect to server, i have a button that asks for your "lobby id" . it sets a variable to that id, then when you click connect it will set the server connection code to the set "lobby id" and attempt connection
@Thatoneham
10 ай бұрын
right now im trying to make the text have your username
i cant connect :/
Oh... Mia want try.. when I become good enough... I'm ganna create a simple league of legends game "custom champions"
why u downgraded scratch blocks to scratch beta???
DO Not use s2 in the JSON. That server is deprecated
@ShowierData9978
10 ай бұрын
i know because i made it
penguinmod: hah, weak..
they removed the global packet
Pizza
why am I getting messages from other people?
@Toshy128
7 ай бұрын
Because it’s public server. You need to connect to a room or do what I did
@Toshy128
7 ай бұрын
I made it so it adds a special ID at the end before it sends to servers and when there’s new global data it checks to see if there’s a special ID (Id can be just “mickey”) then if there is I use text and do replace ID in GLOBAL DATA (message) with “ “ nothing. It works and you could use a randomizer but I don’t know how to do that. Hope this helps!
or penguin mod
you mean turbowarp
Someone enter in my chat and talk with me, but i doesn't know the people
@thekrazydev
8 ай бұрын
Watch my latest multiplayer video, I explain that and how to do more advanced stuff
@youuniverse9228
8 ай бұрын
@@thekrazydev I got the same problem
they hacked me :(
nope🤧
..
@lokiolson6151
28 күн бұрын
..
i made the same but a ukrain man has talked with me
100% copied from gandi IDE
inefficient
Do U have discord?
why @ZonxScratch