Code a Multiplayer Scratch Game | JOINING | Episode 2

236,053
0
Published 2023-06-10
Continue to code our multiplayer Scratch game, we look at how to get 100+ players to join a single cloud game! In this second tutorial we will be looking at how to smooth our player motion using buffering lists, and how to allow any number of players to join our game even with only one cloud variable! Yes that's from 1 to 100+ players! Crazy right?

▶️ Watch Episode 1 -    • Create an Epic Multiplayer Game in Sc...  
▶️ Watch Episode 2 -    • Code a Multiplayer Scratch Game | JOI...  
▶️ Watch Episode 3 -    • Awesome Cloud Clones!!! - Multiplayer...  
▶️ Watch Episode 4 -    • Make a Multiplayer Platformer in Scra...  
▶️ Full Playlist -    • Griffpatch's Epic Multiplayer Tutorial  

🐱 Scratch Studio - scratch.mit.edu/studios/33558302/comments

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

🐱 Some of my Cloud Games
MMO Platformer - scratch.mit.edu/projects/612229554
MMO Minecraft - scratch.mit.edu/projects/843162693
Cloud Platformer Fun - scratch.mit.edu/projects/12785898
Slither.io - scratch.mit.edu/projects/108566337
Taco Burp - scratch.mit.edu/projects/478790208

▶️ More Video Tutorials & Fun!
youtube.com/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:29 Movement Tweening vs. Buffering
1:54 Two sprites – “My Player” & “Cloud Player”
4:17 Rework the Cloud Player Sprite
6:56 Encoding the player’s buffered motion
8:30 Player 2 has joined the game
11:46 Player UID
13:06 Watching for Cloud Variable Updates
14:57 Who changed the cloud variable
17:37 Handling New or Existing Players?
22:53 Next Episode

#scratch #griffpatch #mmo #cloudgaming #scratch3 #online #codingforbeginners #blockcoding #cloud #cloudgaming #learntocode

All Comments (21)
  • @SBZome
    I still don't know what "mod" does :(
  • @itzmonstrovrW
    Man, Griffpatch you are just so kind! The way you talk so friendly and spend your time to help us is so heart-warming, you have grown so much and it makes me happy. A scratch youtuber with over a quarter million. It's amazing what you have done with scratch and all of the limits that you have pushed. You are a scratch prodigy and I've literally never seen a scratch youtuber smarter than you. I have been using scratch for 3 years and I consider myself a great coder but I am nowhere near your level. Thank you for providing us with amazing videos and content and I hope you live an amazing life! God loves you. :)
  • @EmanueleX
    this is so cool you manage to make scratch into a proper game engine and still are able to explain it so simply
  • @vVearon
    the editing is amazing! i especially love the first 30 seconds
  • I love your videos and projects and contributions to the community. Even though I quit scratch a year ago, I still enjoy seeing development on big projects like this. I did check out this game a few days after you published it, and it was really impressive and I even managed to find you in the lobby once!
  • @martiancatgamer
    I love following these tutorials when they come out. Great job Griffpatch!
  • @TwhackyAttacky
    Love your tutorials man! One of my best Scratch projects was made using your old cloud engine. Can't wait to see how the new one turns out!
  • @gabesonic2
    Wow! Thanks for showing episode 2, I've been actaully waiting for weeks for the episode to come but it's finally here, I already made episode 1 and recently episode 2, I can't wait for episode 3!
  • @khushbufauzdar9880
    One question: You pick each player's UID randomly. So, it might happen that two or more players can have the same UIDs. Then what?
  • @redmath991
    Griffpatch is the best scratcher on the planet, the work you do is absolutely amazing :) Keep it up!!
  • @crackerpooppop
    Griffpatch always does the most insane things! I don't know how he does it!
  • The video is absolutely insane, the shear scale of the episode given in a nice user friendly tutorial. Griffpatch truly is next level.
  • @David12_
    This is amazing griffpatch, your tutorials are incredible and super-useful!! Thanks
  • @NITRO_PRO
    Griffpatch is the BEST scratcher with the BEST tutorials. He teaches all his tricks with his viewers.
  • I love thus tutorial series. I'm going to be using this to make an online game inspired by The Legend of Zelda and Pokemon. Thanks Griffpatch! Can't wait for the next episode!
  • @wongmanwaihehe
    I never thought this idea! Super!👍🏻👍🏻👍🏻
  • @KatTheCaz
    The moment you realize you can comment before the video has even started.
  • @Oring17
    I have now started to learn C++ and am looking to continue my game development journey elsewhere. Thanks for all the amazing learning opportunities you have provided me with over the years. I will likely still watch your videos for the cool concepts and fundamentals you provide though. Thanks for everything!
  • @Ryanmatix
    Been loving these tutorials! Keep up the good work! ❤❤
  • @axer552
    Very cool! Waiting for the next episode! :D