Tip: combine the x and y in one variable called P1 and same for P2, P3, etc. This will decrease the lag so much. But this is a great way to learn the basics
Encoding and decoding X and Y positions through one cloud variable multiple times to read out a cloud Value. Usernames X positions Y positions and others
Is it possible to make it so some can can make a lobby and have an id for people to copy and paste to join the lobby. Just like among us? If so can you do a tutorial. I’ll help a lot👍
im about a year late and you may have figured it out by now but I had an idea. Make it to where it will only show a specific player when typing a code in by making a copy of the player for a new lobby and only show that player in that lobby, like if you typed 584 and it would be a copy of that specific game and still be able to run multiple games at once by using different copies and only showing that game when typing a code so every time a new lobby is made a new copy is made
@�̴̀͌̕ litterally no one asked. no one will. and you are probably an idiot becuase your sentence makes no sence, you have no context, no one gets what you are saying and you are probably 6 so shut up.
This is very good for beginners I would recommend this to my friend who is just learning scratch, for advanced multiplayer you want a encoder and decoder for just 1 cloud variable so you can store you x and y cords in it so the movement will be smoother.😎🤓
The advanced way of doing this would be to Encode X and Y and Decide then sending it through one cloud variable. Then you set X and Y positions through the script then funnel it into a Value variable. Also send the username but put it in another variable to think this variable Value.
In my opinion i think just setting some cloud varibles to 1 when the right player is pressing the right button then when the other players computers detect the input then it will move the player with those inputs on other scratchers screens in sync with the inputting players screen is probably the best way to do this
@@FlyingDino92 Yes, I can agree. It doesn't always work, for example, I tried making a game based of Halo, and it doesn't really work. Although, that was my fault. There was just a while ago, though, that this didn't work, because when I tested it, it wasn't multiplayer.
Hi, I want to make a game where you collect things and you can sell them for coins and other people can sell you to you. Does anyone know if it can be done?
I’m trying to make a gameshow scratch game where it accepts a maximum of 4 players from different devices. Kind of want to make it that if 4 players makes it to the game then the game will automatically start but if 2 or 3 made it in then it doesn’t start yet. Then there will be 4 sprite buttons that if selected will tell the players what positions they will be in on the backdrop. Been wondering how I can successfully do that.
Griffpatch made the most efficient way but if your game has different movement mechanics then you can simply just make it set x and y positions to clouds and yeah Tho it's better to make the best way
When I play as player one or the blue cat both of my cats move and I did all the things in the vid as in when I press right arrow they both move instead of the one cat moving
HELP: the players keep going to the corner Edit: Oh I fixed it, apparently the P1 X and Y, including P2 X and Y just needed to be reset! Meaning that the X and Y have accidentally was like somewhere of like a THOUSAND number on X and Y, technically what I meant is the X and Y keep on adding numbers without your consent, in order to fix that, just set the X and Y to 0 so they don't force themselves in a corner or somewhere away... You can also set where they appear, Player X and Y work just like normal Scratch X and Y, it means you can set them somewhere you want
when i tried it was laggy griffpatch fixed that problem it was laggy bcuz a cloud var takes 100 milisecs to change the number for everyone online so thats why
imagine needing to watcch a tutorial. haha!, (internal slight hatred) only hard part was me thinking negative signs still worked, but nope. after that, same day, game release, its 4:12 am rn,
Amazing video!!! Just wanted to know if it would be possible to add a chat to the game. If so that would help so much! either way, tysm for the tutorial.
I know this video was made a year ago but I have a problem with it, on my P1 screen, P2 doesn't move, but on my P2 screen, everyone moves. anyway you can help me?
Tip: combine the x and y in one variable called P1 and same for P2, P3, etc. This will decrease the lag so much. But this is a great way to learn the basics
Craftinators SX what does that mean
Nancy Chen wdym
Thx
Encoding and decoding X and Y positions through one cloud variable multiple times to read out a cloud Value. Usernames X positions Y positions and others
Can you please make a video about it
i love this, but it's not working! I did it all correct, but it just said we were the same player.
Check your code again then
Fr bro😊
Grammar needs improvement, but, otherwise, AWESOME! Thx!
He might be from a different country. Lol.
@@kesaya3806 No, in the video he made multiple mistakes, for example he wrote: You is Blue Cat, but without mistakes it is You are Blue Cat!
@@CoderMedia i only said that he might be from another country, what point are you trying to make?
@@kesaya3806 Wait... You said that the video maker is from another country, I thought that you said that Ruhan Chaudhary is from another country...
Coder Media oh I see
Is it possible to make it so some can can make a lobby and have an id for people to copy and paste to join the lobby. Just like among us? If so can you do a tutorial. I’ll help a lot👍
@Micah Ocampo I want him to do it soooo badly
Sameeeeee
im about a year late and you may have figured it out by now but I had an idea. Make it to where it will only show a specific player when typing a code in by making a copy of the player for a new lobby and only show that player in that lobby, like if you typed 584 and it would be a copy of that specific game and still be able to run multiple games at once by using different copies and only showing that game when typing a code so every time a new lobby is made a new copy is made
@@zacharyroper6012 lol kinda stopped scratch and lost my big project
I made a code but in Griffpatch’s advanced engine that does that, it only shares the x and y when your in a especific room
i just love how this is the most beginner way to make online games
this fake it doest work
@@nehasinghal9457 do you have full scratcher status?
@neha singhal no this work you are not a *scratcher* check before *judging people*
@@Subtoscratchyoutuber no u
@�̴̀͌̕ litterally no one asked. no one will. and you are probably an idiot becuase your sentence makes no sence, you have no context, no one gets what you are saying and you are probably 6 so shut up.
I have a problem in the game. I am trying to post the link but it auto-deletes it.
i adapted the code and i'm curently working on a amang-os (get it because among us a mangos) and this is how its going, thx by the code
im a big dum dum and forgot to put the link, here it is: scratch.mit.edu/projects/428365419/
Omg same
amog us? sus
This is very good for beginners I would recommend this to my friend who is just learning scratch, for advanced multiplayer you want a encoder and decoder for just 1 cloud variable so you can store you x and y cords in it so the movement will be smoother.😎🤓
Sane I'm new and this video makes it super easy
@@lionfire6022 I'm a scratch vet I can help with anything you have abt it, just ask
Nice cool super
Thanks :)
When waiting for my friend to join, I became both characters at once. How can I fix this?
Use player variable, If player variable is 1 then control player 1 , if player variable is 2 then control player 2
@@FlyingDino92 Thanks :D
@@FlyingDino92 What you said doesnt quite make sense, can you explain it a bit better?
1:04 just marking my sopt! :)
Nice! I made one too, but with 3 players. Nice work!
me too
I’m just starting with 3,but I will make 6
@@thelegendaryphoenix8434 well why the **** not?
@@thelegendaryphoenix8434 maximum isn't 3, you can increase it, it's not that hard, just make more Player variables like the same ones
The advanced way of doing this would be to Encode X and Y and Decide then sending it through one cloud variable. Then you set X and Y positions through the script then funnel it into a Value variable. Also send the username but put it in another variable to think this variable Value.
Easy ways are better
@@priyabalaji529 agreed
In my opinion i think just setting some cloud varibles to 1 when the right player is pressing the right button then when the other players computers detect the input then it will move the player with those inputs on other scratchers screens in sync with the inputting players screen is probably the best way to do this
I doubt that you will answer this, but how do I add functionality to my multiplayer game, ex like a gun or somthing
YOU HAVE HELPED ME SO MUCH!!!
the programmer I am glad to help you :)
I love the tutorial! You should improve your english a little bit but thanks for the video! :D
it always picks player 1?
What you mean?
Jack Wessel I think he’s saying both players are player 1, or that he’s only getting player 1
@Devin Brown Yeah it still makes me get player 1
@@swaggied me too
You have mistake here:
You is blue cat = You 》is《 blue cat
You _are_ blue cat
Bruh he talks like yoda 😂
Jk thanks for the help
XD
@@FlyingDino92 IT DID NOT WORK FOR MEEE!
@@ernestolaurel224 me to
@@ernestolaurel224 right
really easy, man.
I love it so much!
Gotta give credit
cuz it help me so much!
I think 76 people who dislike is people who are not scratcher
This is very good method to use for multiplayer games, I like it :)
Just wanna let you know
Was is a past word
Is is a present word
No hate this is a good tutorial!
Most views video!!!!
I am sus
Congratulations
Make A Version With 4 Players.
Well I mean, it's very helpful! Other videos that show how to make an online scratch game take a full series! This only takes 8 minutes.
@@soggyturnip11 this is for beginner, and this also has many problem if you want to make a game
@@FlyingDino92 Yes, I can agree. It doesn't always work, for example, I tried making a game based of Halo, and it doesn't really work. Although, that was my fault. There was just a while ago, though, that this didn't work, because when I tested it, it wasn't multiplayer.
Its not working for me and I did everything right
This really helped
Char Sunder I am glad to help you :)
I cant get the red version to work! do you think you can help?
Question: at the begining for the variables, is it "P1 online7" or "P1 online?" ?
You can name yourself, in my video is [P1 online?]
So @Tiny Gaming king you have bad connection?
Thanks to learnig easy online games very very thanks
I'm not late but I'm commenting late but uh thx so much! This really helps me make my games online.
The movement didnt appear on the other tab.
which ones are for this sprite only or all sprites(the variables I mean)
In the video, all variable I put for all sprites :)
didn't work at all. I followed every direction and my character didn't even move.
Cause you play in mobile it allows only in pc
Hi! Flying Dino I am a new scratcher, i want to ask you how can i become a scratcher and use cloud variable, my scratch does not show cloud
you can take a look on this: en.scratch-wiki.info/wiki/Scratcher
thnx bro +1 like and respect
If you store x and y in one var and replace go to with glide ,the lag will perish.😎
I cant Play whit my friend
it worked the project i foud and it worked thanks
Thanks for tutorial you earned a sub
*Your video are amazing good video*
omg ty so much this is so easy to make and makes multiplayer simple!!!
aw man limit is 2 players cuz of the cloud variable limit
Hi, I want to make a game where you collect things and you can sell them for coins and other people can sell you to you. Does anyone know if it can be done?
You can try it :D
I will try
I’m trying to make a gameshow scratch game where it accepts a maximum of 4 players from different devices. Kind of want to make it that if 4 players makes it to the game then the game will automatically start but if 2 or 3 made it in then it doesn’t start yet. Then there will be 4 sprite buttons that if selected will tell the players what positions they will be in on the backdrop. Been wondering how I can successfully do that.
I have an account too :)
I love it,but it doesn’t work :(
Can you help me ? I have a Scratch account but I don't know why I haven't the cloud variable.
Only the Scratcher can using the cloud variable, this website can help you :)
en.scratch-wiki.info/wiki/Scratcher
FINNALY A ONLINE TUTORIAL THAT WORKS... time to do what I always do with my games, IPAD MODS
and I'm Swimming Dino 29
It didn't work for me.):
I don’t have the cloud thingy edit: ok now I do
maybe your account was new scratcher
Hello! I was following the tutorial and.... It didn't work.. 2 people was controling Player 1... Idk why it doesn't work...
Griffpatch made the most efficient way but if your game has different movement mechanics then you can simply just make it set x and y positions to clouds and yeah
Tho it's better to make the best way
'you is blue cat' the grammar is not so good, but everything else is good.
It's cause its a space alien like yoda.
@@leismatt1961 Yeah
I think they’re trying to say “You are the blue cat”
@@amokaanimationz240 no it is you is blue cat
@@epicgamerbro3410 Ok me always wrong
When I play as player one or the blue cat both of my cats move and I did all the things in the vid as in when I press right arrow they both move instead of the one cat moving
HELP: the players keep going to the corner
Edit: Oh I fixed it, apparently the P1 X and Y, including P2 X and Y just needed to be reset! Meaning that the X and Y have accidentally was like somewhere of like a THOUSAND number on X and Y, technically what I meant is the X and Y keep on adding numbers without your consent, in order to fix that, just set the X and Y to 0 so they don't force themselves in a corner or somewhere away... You can also set where they appear, Player X and Y work just like normal Scratch X and Y, it means you can set them somewhere you want
Thats happening with me to but instead I can’t fix it
this works for one of my scratch games, so i thought i could reuse it. I put the cloud thing into a new game and it didn't work. :(
Thank you! Thank you thank you thank you! You earned a sub
Thank you so much! 🙏 😊 Really helped me with my projects! Plz make more tutorials
I am glad to help you :)
This Is Epiccc! Plus Im Making Multiplayer Remake Of PIGGY.
3d games are not good for scratch mate
@@micahjayasinghe5673 Yet It Still Works Fine..
when i tried
it was laggy
griffpatch fixed that problem
it was laggy bcuz a cloud var takes 100 milisecs to change the number for everyone online so thats why
Ello, flying Dino. How do I make it so that an infinite number or at least a limited double digit of people can join?
Why does it not work? Why can I not move the character up? Is my PC just really bad?
I can just be the blue cat
TYSM FOR THIS VIDEO IT HELPED ME OUT SO MUCH also i added chat feature
I am making this multiplayer game and I did the cloud variables stuff but it isn’t updating for some reason
thanks i can play with my friend like among us or terraria
I have a problem, all players control one sprite and I don't know why, I scripted exactly like you
Nah the grammar, you wrote "you is blue cat" *are
:P
@@FlyingDino92 ok but you are a pro in scratch
Im really having a hard time trying to know what it means, can you make a video on explaining what its doing?
You *IS* blue cat!?
imagine needing to watcch a tutorial. haha!, (internal slight hatred) only hard part was me thinking negative signs still worked, but nope. after that, same day, game release, its 4:12 am rn,
THANK YOU
uh, my player 1 got stuck on the edge of the game, can you help?
edit: I cannot move it
how can i make "multiplayer" quiz game for android and upload it on google play
not work
Is it possible for if I was to make a fighting game the can control there character that They pick on the select screen
hello i trying to make fortinite but is scrolling but is scrolling you can help with me that
Amazing video!!! Just wanted to know if it would be possible to add a chat to the game. If so that would help so much! either way, tysm for the tutorial.
I know this video was made a year ago but I have a problem with it, on my P1 screen, P2 doesn't move, but on my P2 screen, everyone moves. anyway you can help me?
Thanks for help
IT ACTULLY WORKS! but.. My brother tried joining the game on a different device but he somehow appeared in a different server, so is my Friends..
you need two different "Scratcher" account to work on two different device, have you check your two device was sign in to the "Scratcher" account? :)
did this get patched or something bc now it won't work. My cloud variables aren't changing on both tabs (the player check ones to be specific)
ℍ𝕚
I like it
Good vidio
Thank you so much! I just tried it and i'll be using it for my game
this was uploaded 4 days before my bday when i turned 9
Belated happy birthday
It didn’t work, it is always set to player 1
Did you did something wrong?
Flying Dino 92 fixed it thanks
how u fixed?
@@tjjeffreys6859 how did u fix it b/c i have the same problem.
flamer. The first player just has to be active, u can’t leave him idle while u switch tabs, get ur friend to get player 2 while ur on player 1
YAY IT WORK!!!!! love the vid, ur name, and your icon btw!
Sorry I disliked by mistake but I liked now
you have 872 subscribers i have 4 yea but im gonna still subscribe your video cuz 4 and 872 is not enough subscribers to be super popular :)
Is there a way to make multiplayer games without cloud?
(Question funded by 3 Emeralds™)
I FREAKIN LOVE IT THANK YOU SOOOO MUCH I CANT BELIEVE IT WORKS I MADE A AWESOME PARTY SIMULATOR
I am glad to help you :)
@@FlyingDino92 check out what I made with your tutorial! scratch.mit.edu/projects/391506206/
On my other screen, it's stuck on the 3rd sprite... :(( it won't say "You is Red Scratch"
Iam gonna use this to make an online scratch chatting game where you can talk to random scratchers
Multiplayer games are fun because it is way mor fun to play together then alone!
Worked thanks
This isn’t working for me, I tried using an alt acc to test it. Does the other person’s acc have to be a full on Scratcher or can New Scratchers play?
Only Scratcher
only full scratchers
Thanks a lot!
wow cool project
Also, when the players can move it sends them to the very right side of the screen.
Both players are moving, can you help me? Or did I made a mistake?
same problem
same problem
What is your “Player ID” when you playing?
@@FlyingDino92 what do you mean?
@@ProjectPoyo Did you type the character that you wanted to move?