Awesome Cloud Clones!!! - Multiplayer Scratch Tutorial #3
HTML-код
- Опубликовано: 3 авг 2024
- 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...
▶️ More Video Tutorials & Fun!
/ griffpatch
😺 Scratch was developed by the Lifelong
Kindergarten Group at the MIT Media Lab. See scratch.mit.edu
-------------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
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! 😅
My username is builder43, it's the most recent project
EDIT: Thanks for everyone who helped me, it works now.
My username is lulcake132 and the project is called Cloud multiplayer
What about clone limit?
@@EntoDucki true
Will you ever create an actual 3D level? (similar to that one platformer)
Griffpatch is that teacher who makes learning fun
I hope so!
@@griffpatch yes the tutorials are very easy to follow. I like how you explain things aswell
The old science teacher
@@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
@@triple_play_gameswhat device are you on?
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!
100% true
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.
School: ❌
Griffpatch: ✅
lol
that too on scratch not javascript or python
Not true for me
You should say MIT teacher 😂
I honestly can’t believe the incredible things Griffpatch does; and only in 3 videos!
No one can replace griffpatch❤❤!
Only unity can cus it makes money, but its not scratch
I know a few that can replace me
Me I can make it without tutorial lol
@@ianfarquharson2933 I wasn't talking about that I can obviously make this easily without tutorials
@@OttoDoesOCs He wasn't replying to you
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!
Facts
Imagine Griffpatch As Your IT Teacher
@@baconboy1800 would actually be amazing
@@baconboy1800 Oh yeah
+joni
Griffpatch in 2027: How to recreate Skyrim in Scratch with just 1 asset
So excited to see a new episode!
Griffpatch: "Make a new variable called 'CLOUD CHANNEL'"
Ad, immediately after: "Do you wanna grow your RUclips channel?"
Me: no not that kind of channel
this did NOT happen to you 😭 did it
It's AWESOME how many things Griffpatch has accomplished!
Keep up the good work!!!
He secretly created Scratch and makes epic tutorials exposing different strategies to make it more epic!
Griffpatch teaches me more than my 20 coding books combined
Not your average coder he is a god he probaly could've recreated this universe in scratch maybe in a few months
@@thelogicalgamer-bv7tk Give the guy some time at least he still needs to optimize it
@@thelogicalgamer-bv7tk I know I just added a pinch of logic in there
Me too, 😂
🤣lol🤣
Whenever you upload, I drop everything to watch it. Thank you for these tutorials. They helped me get started in scratch!
I'm only at the start of this video and it's already very helpful!This video is amazing!
that is one of the most fun tutorials I ever saw. thank you griffpatch. I am a new subscriber 😊😊
Woohoo!
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!
Hey there! So please you love my content - Do you Scratch yourself or are you more of a gamer?
I have played literally all of Griffpatch's games on scratch. They are the GOAT!
Griffpatch you make all the tutorials fun and easy. Sometimes i feel like a one hour tutorial is like a 1min tutorial.
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 is a legend no-one can replace him
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!
just like me
THANK YOU SOOO MUCH GRIFFPATCH YOUR MULTIPLAYER TECHNIQUES WILL BE THE BASE TO MY GAME!!
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!
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 think for the next episode, the best idea is to create an online scrolling platformer :) But let's see what people want
L e m o n ?
i kinda want the regular platformer for my roblox style game using griffpatch’s platforming engine
@@skyfish2104 lemon !!!
Take his old scrolling platformer and put in this tutorial. Then you have that.
@@orrinpants dont forget to replace the set x blocks to the variable x and y
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
Thanks Griffpatch now I now how to create a online game
hey griffpatch, could you make a series about unity? that would be awesome! keep up the good work!
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!
Awesome!
@@griffpatch love your videos! Dont stop making them!
same lol
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
Such a great tutorial. Can't wait for tutorial 4
with griffpatch's tutorials, it's very easy to combine them to make a huge game!
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 can't manage time for scratch anymore but still watch griffpatch videos.
Thank you griffpatch. These tutorials help me A LOT!
My cloud clones keeps flashing in and out of existence, anyone know why? I assume it has something to do with the inactivate variable since taking out the hide block results in the blinking to stop (but then they don't hide after 150 frames (5 seconds)).
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 have been waiting for this! Yay
Griffpatch is the type to be a teacher and be nice to others and I can respect that Sir.
can't wait to watch!
I was waiting for this! I'm making a fighting game with ace attorney characters so thanks for the multiplayer tutorials!
Nice! CONGRATS ON 500K followers! You are the king of scratch!
I love the hidden edits they are why Griffpatch makes learning fun 😊
So cool! I'm SO excited to make my own multiplayer ONLINE game!!! 😃
Your the best scratch tutorial channel ever!
Woo! Part 3!
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!
This is my fav tutorial ever!
can't wait for the next episode so i can make my game online for me and my friends to play!
Waking up to see griffpatch uploaded! Yay!
If Griffpatch was our computer science teacher, we would all be happy
I love how this video is so exciting 😅
omg it worked!!! tysm and I amazed my friend.
Yay! It’s here! Episode 3!
Nice! Also really much looking forward to a platformer tutorial!
TYSM griffpatch, this is so cool!
I just got done with ep 6 on the tile scrolling and I have a brand new tutorial ready for me lol😂
I really love Griffpatches tutorials, They help me make awsome games, and they are fairly simple.
I was staring at the members only release so eager to watch the video (I'm poor). Glad to see it's out!
WOAHHHH THANKS GRIFFPATCH YOU MADE MY SCRATCH GAME GOOD!!!
Amazing Video griffpatch i love your work and you are an amazing teacher
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 :)
Will come for persevering and getting it working, that's great!
I love this stuff! Next video I want to see a platformer plugin :D
Griffpatch is the best coding teacher
Perfection! im probably going to use this for my top down game
Thank you, griffpatch!! 😀
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.
The worst thing that can happen is following a griffpatch tutorial and suddenly you realised you did something wrong
I can feel my brain expanding as i listen to what griffpatch says 😂
Griffpatch is that teacher who makes us really want a next lesson with him
During these tutorials you've inspired me to get back on scratch! Thank you
Awesome!
Love your vids Griffpatch 😊
Love your vids, fellow scratcher!
I love the new dynamism of the music
Im so exited for the next episode
It'll be here this weekend!!! (or right now for early access channel members!)
@@griffpatch cool!
good tutorial i like it and the dancing scratch cats
I'm using this to learn the concepts for actual online multiplayer outside of scratch
It took multiple times doing the tutorial right, and I did it, by the thank you griffpatch for the tutorials
Amazing video! keep it up 😃😃😃
YAY it is here!
I cant wait for what all of our fellow scratchers will see about this!
12:13, u had a perfect chance to say subcribe, lol
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.
Thank You Griffpatch!
I like this video its very useful and i really like the editing
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)
Whohoo finally some true action! I am really excited to see the projects that use these. From this point on, its just creativity! 😺
Honestly griffpatch just helps me code so much fun things. I wouldnt be at my scratch status without him.
this is so helpful thankyou
Hi Griffpatch!
U r pro in Scratch
Good job genius
how does this man not have 1 Million subs yet??
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
Thank you a lot!!! Tower Defence next please!
I liked this!
I guarantee you, Griffpatch is the kind of guy to make the most complex things, such as algebra, trigonomotry, any other programming language that isn't scratch, and turn them into the easiest things on earth