Awesome Cloud Clones!!! - Multiplayer Scratch Tutorial #3
Coding "Cloud Clones" in Scratch is achieved by combining Clones & Cloud Variables to create a MMO (Massive Multiplayer Online) experient that you can drop into any of your games using the Scratch Backpack.
In episode 3 of this Scratch tutorial series we code up use Cloud Clones to make the players visible. We expand to use 8 channels of cloud variables to communicate at scale And we figure out how players can leave (efficiently managing the remaining player slots).
Whether you're a novice coder or an experienced programmer, this episode will provide valuable insights and practical tips to level up your game development skills. Get ready to unleash your creativity and build the next generation of multiplayer games with Cloud Clones!
▶️ Watch Episode 1 - • Create an Epic Multipl...
▶️ Watch Episode 2 - • Code a Multiplayer Scr...
▶️ Watch Episode 3 - • Awesome Cloud Clones!!...
▶️ Watch Episode 4 - • Make a Multiplayer Pla...
▶️ Full Playlist - • Griffpatch's Epic Mult...
🐱 Scratch Studio - scratch.mit.edu/studios/33558...
🐱 Some of my Cloud Games
MMO Platformer - scratch.mit.edu/projects/6122...
MMO Minecraft - scratch.mit.edu/projects/8431...
Cloud Platformer Fun - scratch.mit.edu/projects/1278...
Slither.io - scratch.mit.edu/projects/1085...
Taco Burp - scratch.mit.edu/projects/4787...
⭐ Support this channel - Join to get access to perks:
kzread.infojoin
▶️ More Video Tutorials & Fun!
/ griffpatch
-------------Video Chapters-------------
0:00 Intro
0:49 Quick Recap
2:42 Cloud Player Clone Factory
4:03 Am I a Clone or the Original Sprite?
4:56 Making the Player Clones Visible
5:55 Feeding the Cloud Players Buffer
8:20 Testing Multiple Onscreen Players
9:49 More cloud variables = more stability
11:27 Which Cloud Variable do we communicate over?
14:04 Testing Multiple Cloud Variables
15:08 Players Leaving the Game
16:28 Don’t Delete Clones!
18:15 Recycling Players & Clones
19:59 Test with Circling Cats!
21:16 Outro
#scratch #griffpatch #mmo #cloudgaming #scratch3 #online #codingforbeginners #blockcoding #cloud #cloudgaming #learntocode
Пікірлер: 1 200
Griffpatch is that teacher who makes learning fun
@griffpatch
10 ай бұрын
I hope so!
@TheycallmeJasJas
10 ай бұрын
@@griffpatch yes the tutorials are very easy to follow. I like how you explain things aswell
@RonicTheEgg
10 ай бұрын
The old science teacher
@triple_play_games
10 ай бұрын
@@griffpatch Can you help me as it all works just when i have 2 projects running it starts to jump and get buggy the game is called cloud test ep3 by the user Macinx106
@tmstv5561
10 ай бұрын
@@triple_play_gameswhat device are you on?
The most commonly reported issue that followers have encountered is many clones being created rather than just one for a joined player. I will investigate your projects if you comment your scratch username below and share the project. If anyone had this problem and fixed it please comment below for others benefit! I will help as soon as I can :) but I believe the scripts as recorded are correct! 😅
@lightline9541
10 ай бұрын
My username is builder43, it's the most recent project EDIT: Thanks for everyone who helped me, it works now.
@Lelumini
10 ай бұрын
My username is lulcake132 and the project is called Cloud multiplayer
@EntoDucki
10 ай бұрын
What about clone limit?
@KING-eq2rx
10 ай бұрын
@@EntoDucki true
@cataclysmi
10 ай бұрын
Will you ever create an actual 3D level? (similar to that one platformer)
This is so bizarre how this can work so simple yet look so difficult. Griffpatch is the best teacher when it comes to scripting in scratch!
@programORdie
10 ай бұрын
100% true
@Moondew-epic
29 күн бұрын
TRUE!
I have learnt more from Giffpatch than from my Informatics teacher tbh edit - Woah I never thought this will get that popular lol, and I am in 5th-6th grade so I do Scratch in my Info class, and yes I changed IT with Informatics to not make other people confused.
@thebros_real
10 ай бұрын
School: ❌ Griffpatch: ✅
@rosebellnarciso641
10 ай бұрын
lol
@defloirgreene5428
10 ай бұрын
that too on scratch not javascript or python
@Speed-TV
10 ай бұрын
Not true for me
@DylanPews
10 ай бұрын
You should say MIT teacher 😂
No one can replace griffpatch❤❤!
@Cleacat
10 ай бұрын
Only unity can cus it makes money, but its not scratch
@OttoDoesOCs
10 ай бұрын
I know a few that can replace me
@ianfarquharson2933
10 ай бұрын
Me I can make it without tutorial lol
@OttoDoesOCs
10 ай бұрын
@@ianfarquharson2933 I wasn't talking about that I can obviously make this easily without tutorials
@orrinpants
10 ай бұрын
@@OttoDoesOCs He wasn't replying to you
I honestly can’t believe the incredible things Griffpatch does; and only in 3 videos!
Griffpatch teaches me more than my 20 coding books combined
@OttoDoesOCs
10 ай бұрын
Not your average coder he is a god he probaly could've recreated this universe in scratch maybe in a few months
@OttoDoesOCs
10 ай бұрын
@@thelogicalgamer-bv7tk Give the guy some time at least he still needs to optimize it
@OttoDoesOCs
10 ай бұрын
@@thelogicalgamer-bv7tk I know I just added a pinch of logic in there
@jamilatohirzoda302
10 ай бұрын
Me too, 😂
@lennh.2706
10 ай бұрын
🤣lol🤣
Watching this now makes the old tutorials of multiplayer look as basic stuff. This is amazing.
Griffpatch tutorials: - easy, simple to follow - fun, enjoyable IT Teacher: - hard, difficult to follow - not really fun Great Video!
@GigaWivan
10 ай бұрын
Facts
@baconboy1800
10 ай бұрын
Imagine Griffpatch As Your IT Teacher
@thebros_real
10 ай бұрын
@@baconboy1800 would actually be amazing
@GigaWivan
10 ай бұрын
@@baconboy1800 Oh yeah
@JMS-ji3qp
6 ай бұрын
+joni
It's AWESOME how many things Griffpatch has accomplished! Keep up the good work!!!
Whenever you upload, I drop everything to watch it. Thank you for these tutorials. They helped me get started in scratch!
THANK YOU SOOO MUCH GRIFFPATCH YOUR MULTIPLAYER TECHNIQUES WILL BE THE BASE TO MY GAME!!
He secretly created Scratch and makes epic tutorials exposing different strategies to make it more epic!
I’m making 2 games at the moment; a top-down arcade-style racer, and a 2D golfing game. I can’t wait to add great multiplayer to both of them!
Griffpatch you make all the tutorials fun and easy. Sometimes i feel like a one hour tutorial is like a 1min tutorial.
I'm only at the start of this video and it's already very helpful!This video is amazing!
So excited to see a new episode!
Griffpatch: "Make a new variable called 'CLOUD CHANNEL'" Ad, immediately after: "Do you wanna grow your KZread channel?" Me: no not that kind of channel
@Tethrarxitet
10 ай бұрын
this did NOT happen to you 😭 did it
Thanks for doing all this for us. You have helped me build my own games and with your awesome score and text engine video you have my whole game. Thank you
Thanks Griffpatch now I now how to create a online game
that is one of the most fun tutorials I ever saw. thank you griffpatch. I am a new subscriber 😊😊
@griffpatch
10 ай бұрын
Woohoo!
This is really cool and much more flexible than the original and I can't wait for Episode 4 edit: The UID thing has a problem where it _might_ pick the same UID as another player and even if it isn't likely, it might lead to some problems or something and also I found out that making the UID too long breaks the system
hey, I'm Zagesboy and wanted to say I love your work and everything you do to help people learn I appreciate what you do, and glad people are very grateful to have someone like you around keep up the great work and make others happy you're a true sprite and see a very inspirational person I seen. Thank you!
I have played literally all of Griffpatch's games on scratch. They are the GOAT!
I have a Splatoon shooter game i’m making and my goal this month is to make it completely online just like the original Splatoon! I would love to see how online can be integrated in shooter games!
hey griffpatch, could you make a series about unity? that would be awesome! keep up the good work!
Thank you SO MUCH for making this tutorial, i was trying to make a multiplayer game but the other videos won't work, so im glad you make a tutorial about this, Thanks very much and have a nice day!
I'm using this to learn the concepts for actual online multiplayer outside of scratch
I doubt you’ll see this griffpatch, but I’m a huge Minecraft fan, and when my friend showed me paper minecraft in 5th grade I would always play it on my school iPad and get yelled at lol the save feature is also amazing keep doing what u do man also u deserve way more subs my guy can’t believe the top 3 scratch games are ALL made by you so yeah. This comment is probably longer then like 90% of my school projects lol. So thank you griffpatch, thank you for paper minecraft!
@griffpatch
10 ай бұрын
Hey there! So please you love my content - Do you Scratch yourself or are you more of a gamer?
griffpatch is a legend no-one can replace him
I was waiting for this! I'm making a fighting game with ace attorney characters so thanks for the multiplayer tutorials!
Thank you griffpatch. These tutorials help me A LOT!
with griffpatch's tutorials, it's very easy to combine them to make a huge game!
Im not actually following the tutorial, im just watching for fun, and seeing you code has inspired me to continue coding in scratch. Thank you!
@griffpatch
10 ай бұрын
Awesome!
@blobdude19
10 ай бұрын
@@griffpatch love your videos! Dont stop making them!
@terrymathsyt
10 ай бұрын
same lol
Thank you, I had wanted to convert my game to multiplayer for a while but all my attempts at a multiplayer engine were slow and laggy, this is an amazing tutarial.
Such a great tutorial. Can't wait for tutorial 4
I would like to see it be made into a smash bros type game! I think it would be cool to go against online opponents. I was also wondering if it's possible to have people have accounts in the game so that you can friend people and play with them.
I think for the next episode, the best idea is to create an online scrolling platformer :) But let's see what people want
@skyfish2104
10 ай бұрын
L e m o n ?
@UnifiedUltra
10 ай бұрын
i kinda want the regular platformer for my roblox style game using griffpatch’s platforming engine
@FeniteFr
10 ай бұрын
@@skyfish2104 lemon !!!
@orrinpants
10 ай бұрын
Take his old scrolling platformer and put in this tutorial. Then you have that.
@ihavefluffcats2471
10 ай бұрын
@@orrinpants dont forget to replace the set x blocks to the variable x and y
Nice! CONGRATS ON 500K followers! You are the king of scratch!
I was staring at the members only release so eager to watch the video (I'm poor). Glad to see it's out!
There are still some MAJOR things missing: - We don't have a player list. We can't really identify a player number that's the same for everyone playing - No turbo mode detection so people can't cheat - Handling max player limit I feel like these are absolutely necessary for most cloud games on scratch
griffpatch you are such a great scratcher and i have watched all of your videos i dont have any more tutorials lol. I love all of your videos griffpatch
Dude i found this video thirty minutes after it was released for members but i wasnt a member and i was so freaking excited to watch this later (aka now)
Griffpatch is the type to be a teacher and be nice to others and I can respect that Sir.
I have been waiting for this! Yay
Others Scratcher : 😐 GriffPatch : 😄🎉❤❤❤
omg it worked!!! tysm and I amazed my friend.
I love the hidden edits they are why Griffpatch makes learning fun 😊
Perfection! im probably going to use this for my top down game
I just got done with ep 6 on the tile scrolling and I have a brand new tutorial ready for me lol😂
This is my fav tutorial ever!
each day, i am waiting in school to go home and watch your tutorials, when you have not uploaded, i just watch your latest videos, keep up the good work!
@saaraafzaal
6 күн бұрын
just like me
can't wait for the next episode so i can make my game online for me and my friends to play!
Nice! Also really much looking forward to a platformer tutorial!
So cool! I'm SO excited to make my own multiplayer ONLINE game!!! 😃
Thank you so much for reading my comment that I made 2 weeks before and getting ready for my Monkey meyhem v:2.2 shooting game, I am so happy and I am waiting for the NEXT EPISODE!!
I can't manage time for scratch anymore but still watch griffpatch videos.
I really love Griffpatches tutorials, They help me make awsome games, and they are fairly simple.
It took multiple times doing the tutorial right, and I did it, by the thank you griffpatch for the tutorials
Your the best scratch tutorial channel ever!
Amazing Video griffpatch i love your work and you are an amazing teacher
Waking up to see griffpatch uploaded! Yay!
Love your vids Griffpatch 😊
I've always enjoyed Griffpatch's tutorials and playing his games on Scratch. And I have a suggestion on what you can make with this code: an online golf game. People can play against each other and it would be really fun.
I love the new dynamism of the music
TYSM griffpatch, this is so cool!
I love this stuff! Next video I want to see a platformer plugin :D
Woo! Part 3!
6:15 easter egg, nice one Griffpath.
Thank you, griffpatch!! 😀
I love how this video is so exciting 😅
Hey I just wanted to say that I love your mario tile scrolling platformer videos I'm still on episode 9 and I'm already exited for the end results :> I just have one question tho, will you continue with the mario tutorials?
this is so helpful thankyou
Griffpatch is that teacher who makes us really want a next lesson with him
Thank you a lot!!! Tower Defence next please!
During these tutorials you've inspired me to get back on scratch! Thank you
@griffpatch
10 ай бұрын
Awesome!
Les go new part!
Man your the best teacher couldent get the leving working but after a bit i realised im just dumb and forgot the data packet so i got it to work hofaly you will make more of theas GRATE vidios i know i will try to make my own in the futer to help more like you do :)
@griffpatch
10 ай бұрын
Will come for persevering and getting it working, that's great!
griffpatch, thank you for introducing me to programming, now my dream job is working for insomniac or 1047 games (I am also taking CS50P right now) wish me luck!
thx so much for the engine :D i'm thinking of adding it to a rhythm game i'm making, however i would need to create different servers and a match starting and stopping system, a huge pain to code...so i hope you create a tutorial on that! :)
can't wait to watch!
Thank You Griffpatch!
Awesome! Once you're done with the multiplayer series you should show us how to make a 3D paper-like game (Like cult of the lamb)
Love your vids, fellow scratcher!
I'm interested in a shooter game because i'm following your tutorials, by the way thanks for this tutorials, i'm having fun with these
If Griffpatch was our computer science teacher, we would all be happy
MIND BENDING
Hey Griffpatch! I'm using this tutorial to attempt to make a fighting game. I having my doubts, but I'll still watch all the videos 'till their end. I hope it works!
@griffpatch
10 ай бұрын
Oh I hope you manage it, that would be awesome!!!
is there gonna be like a mini episodes on this, like, sharing costumes, separate variables for each players, etc.
Yay! It’s here! Episode 3!
Not only is this awesome for Scratch, i believe it can be applied to coding outside of that, too. Just have to wait to get the dedication to read Design Patterns...... (It would be AWESOME if you did tutorials for other engines too! I'd love to see how capable you are in something like Godot!)
I like this video its very useful and i really like the editing
Whohoo finally some true action! I am really excited to see the projects that use these. From this point on, its just creativity! 😺
YAY it is here!
Great tutorial! Although I don't have much use for it at the moment I did find it interesting. I also have an idea for another tutorial, maybe a proper 3d tutorial instead of 2d raycast?
Hi Griffpatch! U r pro in Scratch Good job genius
Im so exited for the next episode
@griffpatch
10 ай бұрын
It'll be here this weekend!!! (or right now for early access channel members!)
@nikodemusdelponte7198
10 ай бұрын
@@griffpatch cool!
Hello Griffpatch! Im a long time veiwer of your channel and i was thinking off turning this into a multiplayer drawing engine, ive been tinkering around abit but could not figure out how to send the pen lines over cloud data! if you could maybe make this as a branching off episode that would be amazing!
AMAZING!!!
@griffpatch is the best scratch teacher ever, change my mind. I just made a stop button detector. In my example, it says the id that left the game. The only time my method wouldn't work is if a player closes their browser.