Create an Epic Multiplayer Game in Scratch 🐱 Step-by-Step Tutorial!
Вставка
- Опубліковано 4 чер 2024
- Upgrade your Scratch Games to be online multiplayer cloud games by following this exciting new Scratch Tutorial series. Whether you want just 2 to 8 players, or over 100 players, I will show you how it can be done using my newly developed fully backpackable cloud MMO engine. Any kind of game can be converted to online from platformers, space shooters, io games, 3d games, tile based scrollers, yes anything! Have you seen my recent MMO platformer or MMO minecraft? or slither.io Cloud Platformer Multiplayer Fun? Well now it's your turn! Let's get Scratching :D
▶️ Watch Episode 1 - • Create an Epic Multipl...
▶️ Watch Episode 2 - • Code a Multiplayer Scr...
▶️ Watch Episode 3 - • Awesome Cloud Clones!!...
▶️ 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
🚀 Boost Your Creativity with Griffpatch
The Griffpatch Academy will take you from "Gamer to Game Creator"
Learn more at 👉 griffpatch.academy 👈
😺 Scratch was developed by the Lifelong Kindergarten Group at the MIT Media Lab. See scratch.mit.edu
-------------Video Chapters-------------
0:00 Intro
0:57 "New Scratcher's" can't use cloud?
1:36 Cloud Variables
2:51 Testing with Two Web Browsers
3:49 Cloud Game Done Wrong!
6:14 The Limits of Cloud Variables
7:23 Encoding 2 numbers in a single Cloud Variable
8:45 Coding the basic number encoder
10:56 Coding the basic number decoded
13:42 Negative Numbers
15:17 Decoding Negative Numbers
16:16 Updating our Game to use a single cloud variable
17:40 Testing
19:09 Next Episode
19:52 Outro
#scratch #griffpatch #mmo #cloudgaming #scratch3 #online #codingforbeginners #blockcoding #cloud #cloudgaming #learntocode
Griffpatch’s next video: “Hello fellow scratchers, today we’re converting the Mona Lisa into binary code and importing it into Scratch!”
BRO😂
We are going to learn how to turn people into gods using scratch simple coding😂😂
LOL
Wait, I actually did that in an image scanning project for a 3D engine! lol!
I think so he will do that🤣🤣
Griffpatch is the guy who really made my mind really think in scratch coding
MOM IM FAMOUS
Same
Same
Game
[if then
[repeat until
eat (Burrito)]]
pretty sweet that you can play with other players in the cloud variable in the cool new game “earth”
I love how griffpatch really explain from the very very first basic concept to something huge, which is really helpful for the new scratchers who want to make cloud games!😻
But new scratchers kan't make a cloud game tho😶🌫️
@@fridae8856 i think they mean new scratchers that just became scratchers lol
It's incredible how these tutorials are both useful and entertaining at once. I always find myself just watching them without even planning to create a project, just for entertainment purposes.
yeah same
Same
i watch them and later i program it
same
@@yeah2x2 same
Griffpatch, sometimes, I don't even follow your tutorials. I am just in awe every time you make things happen (especially your raycasting series). You have inspired me to make better projects on my scratch account. Thank you for that.
I've literally moved on to python, html, css, and javascript, yet I still watch griffpatch's videos. I just love to see what incredible things scratchers (like griffpatch) are doing.
Oh, I also still check my scratch messages every day, even though I don't get much anymore (besides studio activity).
👍
Griffpatch is really the ultimate Scratch tutorial maker. Thank you again for all of these tutorials !
yep
Great
This is exactly what I needed, thank you griffpatch!! Looking forward to the next episodes of this series! 😃
I've waited for YEARS. I'm SO happy that this video came out!
I have been wanting to make a multiplayer game like this for so long and I’m so happy you made a tutorial for it!
8:10 That is ... surprisingly smart actually.
After seeing your post about this video I've just started working on a cloud-based game, and the way I got around this problem was by keeping the number "9" as a special symbol. Kind of like a "next task" operator. Also useful for finding out where you are in the variable.
That does of course imply that every number and letter is a string of two numbers, which is why I could see some insane optimization with your method; to get the absolute most out of what we are offered by scratch.
I was gonna follow that entire series for multiplayer a day ago and realised I messed up somewhere...I had quit it and now you upload this at the perfect time!!
I'm glad you redid the cloud multiplayer tutorial, as the editing is definitely better this time. Also guys you can see the old tutorial to see how buffering would work in Scratch.
First of the non-membership variety!
Wow!
No Ur the fourth sadly
@@flipping7 Seriously????????????????
Griffpatch is the type of teacher everyone would want to have. He's so fun! 😀
He is! Plus he taught everyone so much about scratch! Thank you, griffpatch!
He is fun:)
If only he was trying for that job
Hopefully, he doesn't become that one guy...
I really wanna create a multiplayer 3d sandbox game in scratch, and while I don't have enough experience to do that yet, these tutorials really teach me the concepts better!
Griff!! I watched your old tutorial yesterday and was touring back in to it thank you for the update one!!! Love getting over it btw have been playing it a school keep up the good work!!
Griffpatch once again breaking the boundaries of scratch, revolutionising it! Great work!
oh mAHUn!
Or once again breaking boundaries of my patience because I did something wrong and I do not know what it is
You managed to spell revolutionizing right but failed to say "breaking"
@@dinyminke5073 lmao i didnt even realize. ik how to spell it but didnt read it after typing
breaking my brain with my measly cursor making measly bugs
i'm so glad that you made your old tutorials better and made them into a more clear video. look forward to watching!
edit: just finished now and looking forward to the second one!
I have followed the old tutorial, but I just didn't know how to bring it to another game, now in this tutorial, it makes my life far easier! I'm SO happy that this video came out:)
Thank you so much for updating your old tutorial, I have waited so long for this!
This is very cool! I already has a multiplayer on my platformer but if I have energy to do it, I may change to this better trabuque! (I used your old cloud game tutorial for it)
I use to spend hours following your tutorials! I took me 2h 45m to do the one that has your text appear letter by letter! As you can see I am not a good coder but you’ve been my inspiration in coding and me and my sister loved playing your minecraft game during online classes! You’ve helped me gain confidence to try learning html and css! It’s very difficult but I hope I can push through! Awesome tutorials btw nobody to explain it in a way I could understand, not even my digits, literacy teacher.
Woohoo!
If inspiration is true then >
Set coding to true
2:51 “who wants to share an unfinished game?”
Modern gaming industry: 👀
Lol so true
Yesssss I’ve been waiting for a series on multiplayer games!!!
I was literally making a multiplayer system for my game but didn't know how to continue but then this came out. THANK YOU GRIFFPATCH!
I already made one lol but let's plook if i can make it better :)
Same! Looking for SO LONG for a tutorial
I think it could be a fun idea if you started a tutorial on simulation projects like The Sims. It would probably be extremely complicated, but maybe worth it in the end.
You could program eating, drinking, school, marriage, birth, death, etc., and go wild. You don’t need to do this idea, but I thought it sounded interesting.
That is actually a great idea.
no drinking though
Finally after this tutorial I’m one step closer to making a multiplayer doom style 3d shooter in scratch thank you griffpatch!
its amazing how griffpatch can make absolutely any topic on scratch easy and make it understandable so you can even explain how to do it to somebody else!
Id love to see you make a merge game! Keep up the good work
The amount of videos that you put out each month is astonishing. You are like that teacher that everybody wishes they could’ve had
So true
The last cloud multiplayer tutorial you did had encoding and decoding as spaghetti code, so it was a relief when you made it easier!
I love griffpatch i mean theres not many other people doing scracth tutoriels like this these are masterpieces the thing is when I need a tutoriel you already have like 300 episodes and one time i needed to figure out how to make a platformer 5 seconds later how to make a platformer by griffpatch in my recommended seriously your the best keep up the best work.
Griffpatch is that one person who really help millions of scratchers in one video, this is really impressive!
I don't even USE scratch, but I love these tutorials and seeing how far Scratch is being pushed!
I was so happy when it was actually working without a lot of lag! JUst CAN'T wait for the next episode!
Hello! Before watching this great video tutorial, I coded and decoded cloud variables a little differently. The x position was given the first four characters, the y position was the next four characters, and so on. But your method of encoding and decoding is much more perfect! Thank you very much! 😊☺😋
To convert negative values, we can simply add 240 or 360 to them, depending on the coordinate. And add these numbers to the positive values too. I used google translator, so sorry if the text is bad! 😀
I was thinking the same thing!
Yes, but it converting the value won't require having to add and remove values, which can be useful when sending many different types of values, having to add and remove different values.
The text is good
Or just add 500 to both, so you don't have to check the coordinate
@@WindowsDrawer Why didn't I think of that right away?
This man is the definition of a perfect developer, he is taking scratch to another level, who knows what he is going to achieve next, I love it.
He's doing things that Scratch never intended to be possible lol
@@yaboidonnie7275 fr
Love to see that you've re-done this series!
This has been something I've been wanting to do for a LONG time thank you for making this.
A great video just like normal keep up the great work 🥰
Thank you! - I hope it will have a high success rate for people following.
@@griffpatch You should make an achievement tutorial. And of course the next episode of this tutorial.
@@walterbeckett9461 achievements would be a cool tutorial!
@@griffpatch I want next episode!!!!!
@@RadiantSolo123 this stuff takes time.. maybe be patient?
Keep up the incredible work! Guaranteed to be a catalyst for a whole new generation of awe-inspiring MMORPG projects!
I hope so!
@@griffpatch Try to make a game with 0 sprites!
@@RadiantSolo123 that is very impossible
@@arthurzhg2887 i mean it might not be a good game but that’s certainly possible
@@arthurzhg2887 there was a creator contest on Scratch for this a while back. Someone managed to make a dungeon crawler!
Thanks, Griffpatch! I am trying to make an multiplayer game with a ton of fun minigames, and because of you my dreams might turn into reality!
This is super clever to explain. It was hard to get my mind around encoding and decoding. But now I get this even more. Great video! 😁
This is why I like programming, coming up with great ideas, pulling it off, then making it reusable! Hopefully AI doesn't ruin it!
Yeah i agree, things like chatgpt and other chatbots are just ruining the whole idea of coding, because the whole idea of coding is to make your mind think, but if you just ask an AI then it defeats the whole purpose!
@@marley206 same thing for art, music, and writing
3 minute gang
👇
This is actually really useful for Paper Minecraft modders as well, the save code system cave be very confusing and this video also helps explain how that works :)
Nice!! I've been wanting to learn how to make multiplayer games for such a long time! Continue the series please, I'd love to make a game of my own!
@griffpatch why do you not release merch
INDEED - I have been looking into this for a while, but my branding has been a little up in the air :)
You inspired me not to give up on programming. Thanks to you, I will frequent an IT high school and now know how to porgramm in Python and C#
I really excited for the next episodes! I love you griffpatch!
Glad to see a remaster of the old multiplayer tutorial series remastered
This is gonna be really helpful in the future, I'm currently making a Galaxy Shooter style game and want to implement a duel mode of sorts with multiplayer capability, I definitely wouldn't have figured this out on my own lol
Sometimes I wanna use a Griffpatch tutorial, but instead, when I click on one it's so entertaining that I watch it till the end and forget to follow it! STOP BEING SO DARN GOOD WE DON'T DESERVE IT!!!!!!
Thanks I wanted this for so long
thanks Griffpatch!! you have been my scratch tutor for YEARS!!
thank you! this was so awesome and such easy to code! I didn't make any mistakes in my coding and it all went smoothly! this is such an upgrade in my coding area and I don't even care if its in two parts! I absolutely love the new style too! Good luck with editing the next video!
Griffpatch's Tutorials are just so cool, I subbed and hit dat notification bell. Im really excited for part 2 :)
Very robust tutorial, better than anything I've come up with! You already know I'm excited for the next episode :)
Great!
thanks griffpatch i was makign a uppercase to lowercase converter and this helped alot!
Griffpatch, i first found out about you from your 3d laser tag, now I think of you as an AWESOME scratch coder
I had an idea, and thanks to this, it can become a reality. Thank you for helping me code!
this also functions as a good tutorial for encoding/decoding in general, thanks griffpatch!
EDIT: I also did some of your tutorials like the old healthbar tutorial and the save data tutorial!
Wow thanks! I use scratch since 2021 and this was a great tutorial which the project is extremely acurate as the tutorial! I can't wait for episode 2!
omg i cant wait for the next tutorial! i wanna make a pokemon mmo game and this will make it so easy!! thank you so much griffpatch!
Every Time I Use Griffpatch Tutorial, It ALWAYS Works! Thanks So Much!
Very excited for the next episode!
Awesome! Now I can practise!
Even when you find problems in your code especially multiplayer, it's really cool when you find a way around Scratches limitations!
HEROBRINE
It would be really interesting to see this in the raytracing game you made. That would be cool!
Your vids make this topic so much simpler lol, can’t wait for part 2
Time to go crazy with my 3D Raycaster game.
Your videos are not only to educate, they are fun. Thanks Griffpatch
I am so so so so soooooooo happy your making a multiplayer game to play with people in REAL life! this is like the hardest thing EVER to code without you it could've took me 10,000 years to figure it out! thank you SOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO much!
Oh gosh, Griff, this is exactly what I wanted to do as a kid. Maybe I'll make something short using this, just to fufill my childhood dream. Good to see you again, by the way!
Give me a minute though, I'm trying to edit and upload a video of my own
Before I watched this vid I challenged myself to make an online game myself and succeeded by using an encoder, decoder and using a 0 as a separator. However, it all ran at 10 fps because of the 0.1 seconds delay on Scratch’s cloud variables and I didn’t know how to code for a buffer so thx🙏.
I really like the new style of videos, you have improved a lot from those old screen recordings a few years ago!
Yes! It's taken a lot of hard work, but keeping at it has helped me progress!
Phenomenal video, I can't wait for part 2!🎉
Thanks griffpatch! Your tutorials are awesome.
Can't wait for the next one!
Griffpatch is the best. Instead of just telling us what blocks to place, he explains why.
I've searched far and wide for a tutorial for a online scratch game that covers projectiles, I really hope the next episodes include it
For that you will have to wait a few episodes as be get the main scripts in place
This tut really helped me I started to code because of you I made lemonoids Mario and cat runner from all of your tutorials you are the best yt ever
Very helpful. Thank you very much! I will do my best!
This compact encoding will be PERFECT for my MMO game!
Thanks for teaching me how to get Cloud Variables! I seriously could NOT find them!
One method you can use if you want to send a float is to have a fixed width mantissa to whatever precesion you want, perform subtraction to get negatives if the first digit is >5, and then multiply it by 10^exponent offset by some predefined amount.
So for example, a format of 6, 2-45 would be an 8-digit number, which encodes a value between -500000 to +499999, times 10 raised to a power between -45 and +54.
Combining this with your raytracing tutorial will be awesome!
wow! Well as usual Congratulations to you! :D
Yo Griffpatch, it actually works and it helped a lot with the diagonal stuff. and thanks for the tutorial btw, keep up the good work
Good Episode. :) Can't Wait For The Next Episode
This is what I was searching for!
You’re just so amazing!!
Pretty cool script!
Although there are some issue that are apparent to me. If the value you're encoding ever goes over 9 digits in length, it immediately breaks the decoding system and could probably lead to the entire variable being decoded improperly.
Love ur vids btw!
You're the best scratcher! Thanks for motivating other scratchers!😀
Really exited for this series! Are you going to make anymore RPGs or Super Mario episodes?
I will make more RPG for sure, and I do want to get another mario in at some point
WOO TYSM Griffpatch!!
griffpatch is the best! You're funny, and you inspired me to make scratch games (: please continue making videos and scratch games!
Thanks again, griffpatch, you helped me in so much projects, and LETS GET SCRATCHING!
Scratch on!
@@griffpatch You too!