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

Комментарии • 1,2 тыс.

  • @griffpatch
    @griffpatch  Год назад +132

    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! 😅

    • @lightlinereal
      @lightlinereal Год назад +9

      My username is builder43, it's the most recent project
      EDIT: Thanks for everyone who helped me, it works now.

    • @Lelumini
      @Lelumini Год назад

      My username is lulcake132 and the project is called Cloud multiplayer

    • @EntoDucki
      @EntoDucki Год назад +4

      What about clone limit?

    • @KING-eq2rx
      @KING-eq2rx Год назад +3

      @@EntoDucki true

    • @mothaclysm
      @mothaclysm Год назад +7

      Will you ever create an actual 3D level? (similar to that one platformer)

  • @TheycallmeJasJas
    @TheycallmeJasJas Год назад +266

    Griffpatch is that teacher who makes learning fun

    • @griffpatch
      @griffpatch  Год назад +88

      I hope so!

    • @TheycallmeJasJas
      @TheycallmeJasJas Год назад +25

      @@griffpatch yes the tutorials are very easy to follow. I like how you explain things aswell

    • @RonicTheEgg
      @RonicTheEgg Год назад +10

      The old science teacher

    • @triple_play_games
      @triple_play_games Год назад +6

      @@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
      @tmstv5561 Год назад +1

      @@triple_play_gameswhat device are you on?

  • @Scratch_Learning
    @Scratch_Learning Год назад +34

    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!

  • @b-on-y
    @b-on-y Год назад +77

    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.

  • @crackerpooppop
    @crackerpooppop Год назад +23

    I honestly can’t believe the incredible things Griffpatch does; and only in 3 videos!

  • @user-q2d
    @user-q2d Год назад +57

    No one can replace griffpatch❤❤!

    • @Cleacat
      @Cleacat Год назад

      Only unity can cus it makes money, but its not scratch

    • @OttoDoesOCs
      @OttoDoesOCs Год назад

      I know a few that can replace me

    • @ianfarquharson2933
      @ianfarquharson2933 Год назад

      Me I can make it without tutorial lol

    • @OttoDoesOCs
      @OttoDoesOCs Год назад

      @@ianfarquharson2933 I wasn't talking about that I can obviously make this easily without tutorials

    • @orrinpants
      @orrinpants Год назад

      @@OttoDoesOCs He wasn't replying to you

  • @maltion9097
    @maltion9097 8 месяцев назад +3

    Watching this now makes the old tutorials of multiplayer look as basic stuff. This is amazing.

  • @Lukex305
    @Lukex305 Год назад +40

    Griffpatch tutorials:
    - easy, simple to follow
    - fun, enjoyable
    IT Teacher:
    - hard, difficult to follow
    - not really fun
    Great Video!

    • @Ivrabynyuk
      @Ivrabynyuk Год назад +1

      Facts

    • @baconboy1800
      @baconboy1800 Год назад +2

      Imagine Griffpatch As Your IT Teacher

    • @veto_real
      @veto_real Год назад +1

      @@baconboy1800 would actually be amazing

    • @Ivrabynyuk
      @Ivrabynyuk Год назад +1

      @@baconboy1800 Oh yeah

    • @JMS-ji3qp
      @JMS-ji3qp 8 месяцев назад

      +joni

  • @MemesbroOnScratch
    @MemesbroOnScratch Год назад +3

    Griffpatch in 2027: How to recreate Skyrim in Scratch with just 1 asset

  • @DeguProductions
    @DeguProductions Год назад +7

    So excited to see a new episode!

  • @vaguedestruction
    @vaguedestruction Год назад +4

    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

    • @Tethrarxitet
      @Tethrarxitet Год назад

      this did NOT happen to you 😭 did it

  • @infectedai0130
    @infectedai0130 Год назад +15

    It's AWESOME how many things Griffpatch has accomplished!
    Keep up the good work!!!

  • @gamedog123games
    @gamedog123games Год назад +4

    He secretly created Scratch and makes epic tutorials exposing different strategies to make it more epic!

  • @ninjacorsOLD
    @ninjacorsOLD Год назад +48

    Griffpatch teaches me more than my 20 coding books combined

    • @OttoDoesOCs
      @OttoDoesOCs Год назад +3

      Not your average coder he is a god he probaly could've recreated this universe in scratch maybe in a few months

    • @OttoDoesOCs
      @OttoDoesOCs Год назад +2

      @@thelogicalgamer-bv7tk Give the guy some time at least he still needs to optimize it

    • @OttoDoesOCs
      @OttoDoesOCs Год назад +2

      @@thelogicalgamer-bv7tk I know I just added a pinch of logic in there

    • @jamilatohirzoda302
      @jamilatohirzoda302 Год назад +2

      Me too, 😂

    • @Oreovr872
      @Oreovr872 Год назад +1

      🤣lol🤣

  • @crh5512
    @crh5512 Год назад +1

    Whenever you upload, I drop everything to watch it. Thank you for these tutorials. They helped me get started in scratch!

  • @IAmExisting2.0
    @IAmExisting2.0 Год назад +1

    I'm only at the start of this video and it's already very helpful!This video is amazing!

  • @dodobodyhany5315
    @dodobodyhany5315 Год назад +6

    that is one of the most fun tutorials I ever saw. thank you griffpatch. I am a new subscriber 😊😊

  • @cav3sp1d3rgam1ng
    @cav3sp1d3rgam1ng Год назад +9

    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
      @griffpatch  Год назад +2

      Hey there! So please you love my content - Do you Scratch yourself or are you more of a gamer?

  • @user-nh2bs6it2v
    @user-nh2bs6it2v 7 месяцев назад

    I have played literally all of Griffpatch's games on scratch. They are the GOAT!

  • @aldesianvero
    @aldesianvero Год назад

    Griffpatch you make all the tutorials fun and easy. Sometimes i feel like a one hour tutorial is like a 1min tutorial.

  • @Jilvenhong
    @Jilvenhong Год назад +3

    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!

  • @LucasStMars
    @LucasStMars Год назад +3

    griffpatch is a legend no-one can replace him

  • @Rainsteper
    @Rainsteper Год назад +1

    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!

  • @tvishihandmade7070
    @tvishihandmade7070 5 месяцев назад

    THANK YOU SOOO MUCH GRIFFPATCH YOUR MULTIPLAYER TECHNIQUES WILL BE THE BASE TO MY GAME!!

  • @Triggered_7
    @Triggered_7 Год назад +5

    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!

  • @rockets4lifegaming
    @rockets4lifegaming Год назад +5

    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

  • @warsoldier3188
    @warsoldier3188 Год назад +2

    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!

  • @FeniteFr
    @FeniteFr Год назад +21

    I think for the next episode, the best idea is to create an online scrolling platformer :) But let's see what people want

    • @skyfish2104
      @skyfish2104 Год назад

      L e m o n ?

    • @UnifiedUltra
      @UnifiedUltra Год назад +1

      i kinda want the regular platformer for my roblox style game using griffpatch’s platforming engine

    • @FeniteFr
      @FeniteFr Год назад +2

      @@skyfish2104 lemon !!!

    • @orrinpants
      @orrinpants Год назад +1

      Take his old scrolling platformer and put in this tutorial. Then you have that.

    • @ihavefluffcats2471
      @ihavefluffcats2471 Год назад +1

      @@orrinpants dont forget to replace the set x blocks to the variable x and y

  • @Speed-TV
    @Speed-TV 9 месяцев назад +4

    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

  • @aldesianvero
    @aldesianvero Год назад +1

    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

  • @Darius-1234
    @Darius-1234 Год назад +1

    Thanks Griffpatch now I now how to create a online game

  • @amos9g
    @amos9g Год назад +4

    hey griffpatch, could you make a series about unity? that would be awesome! keep up the good work!

  • @blobdude19
    @blobdude19 Год назад +3

    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!

  • @AsmaTaranum-ul8iw
    @AsmaTaranum-ul8iw Год назад +1

    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

  • @IMUSIC---
    @IMUSIC--- Год назад

    Such a great tutorial. Can't wait for tutorial 4

  • @yoshihome
    @yoshihome Год назад +4

    with griffpatch's tutorials, it's very easy to combine them to make a huge game!

  • @giuseppesgaming6316
    @giuseppesgaming6316 Год назад +5

    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.

  • @kaustubhshrestha1265
    @kaustubhshrestha1265 Год назад +1

    I can't manage time for scratch anymore but still watch griffpatch videos.

  • @KrustyKonnor
    @KrustyKonnor 7 месяцев назад

    Thank you griffpatch. These tutorials help me A LOT!

  • @frostberry
    @frostberry 11 месяцев назад +3

    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)).

  • @stepanss4886
    @stepanss4886 Год назад

    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!!

  • @user-rq2hu1jn6w
    @user-rq2hu1jn6w Год назад

    I have been waiting for this! Yay

  • @Jittersucksattelly
    @Jittersucksattelly Год назад

    Griffpatch is the type to be a teacher and be nice to others and I can respect that Sir.

  • @fr3aky.
    @fr3aky. Год назад

    can't wait to watch!

  • @Rickmonas90
    @Rickmonas90 Год назад +1

    I was waiting for this! I'm making a fighting game with ace attorney characters so thanks for the multiplayer tutorials!

  • @NITRO_PRO
    @NITRO_PRO Год назад

    Nice! CONGRATS ON 500K followers! You are the king of scratch!

  • @Pjgmer
    @Pjgmer 9 месяцев назад

    I love the hidden edits they are why Griffpatch makes learning fun 😊

  • @JTWMoo
    @JTWMoo Год назад

    So cool! I'm SO excited to make my own multiplayer ONLINE game!!! 😃

  • @ploocky
    @ploocky Год назад

    Your the best scratch tutorial channel ever!

  • @Arrow-Pointer
    @Arrow-Pointer Год назад

    Woo! Part 3!

  • @reinhartthegamer
    @reinhartthegamer Год назад

    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!

  • @ploocky
    @ploocky Год назад

    This is my fav tutorial ever!

  • @EpikZizzy
    @EpikZizzy Год назад

    can't wait for the next episode so i can make my game online for me and my friends to play!

  • @Firelord8447
    @Firelord8447 Год назад

    Waking up to see griffpatch uploaded! Yay!

  • @_SparkHere
    @_SparkHere Год назад +2

    If Griffpatch was our computer science teacher, we would all be happy

  • @kevinpari9500
    @kevinpari9500 Год назад

    I love how this video is so exciting 😅

  • @matthiasgaming-ck3ky
    @matthiasgaming-ck3ky Год назад

    omg it worked!!! tysm and I amazed my friend.

  • @BrantleyTheEpicYoutuber
    @BrantleyTheEpicYoutuber Год назад

    Yay! It’s here! Episode 3!

  • @villeolof2000
    @villeolof2000 Год назад

    Nice! Also really much looking forward to a platformer tutorial!

  • @jingboss1234
    @jingboss1234 Год назад

    TYSM griffpatch, this is so cool!

  • @TochedGrass3742
    @TochedGrass3742 Год назад +1

    I just got done with ep 6 on the tile scrolling and I have a brand new tutorial ready for me lol😂

  • @alyshachen4000
    @alyshachen4000 Год назад +2

    I really love Griffpatches tutorials, They help me make awsome games, and they are fairly simple.

  • @inhex1603
    @inhex1603 Год назад

    I was staring at the members only release so eager to watch the video (I'm poor). Glad to see it's out!

  • @zebedayeveryday7223
    @zebedayeveryday7223 Месяц назад

    WOAHHHH THANKS GRIFFPATCH YOU MADE MY SCRATCH GAME GOOD!!!

  • @cormacisawesome
    @cormacisawesome Год назад

    Amazing Video griffpatch i love your work and you are an amazing teacher

  • @bucketmusicreal
    @bucketmusicreal Год назад +1

    Les go new part!

  • @o9mansionboy_creater
    @o9mansionboy_creater Год назад +1

    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
      @griffpatch  Год назад

      Will come for persevering and getting it working, that's great!

  • @ConODonoghuePhoto
    @ConODonoghuePhoto Год назад +1

    I love this stuff! Next video I want to see a platformer plugin :D

  • @s.w3671
    @s.w3671 7 дней назад +1

    Griffpatch is the best coding teacher

  • @EntoDucki
    @EntoDucki Год назад

    Perfection! im probably going to use this for my top down game

  • @axer552
    @axer552 Год назад +1

    Thank you, griffpatch!! 😀

  • @landmineflipflop7021
    @landmineflipflop7021 Год назад

    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.

  • @jennyliu8824
    @jennyliu8824 Год назад +2

    The worst thing that can happen is following a griffpatch tutorial and suddenly you realised you did something wrong

  • @carefull-nh9bz
    @carefull-nh9bz Год назад

    I can feel my brain expanding as i listen to what griffpatch says 😂

  • @Alikespan
    @Alikespan Год назад +1

    Griffpatch is that teacher who makes us really want a next lesson with him

  • @luxmilYT
    @luxmilYT Год назад +1

    During these tutorials you've inspired me to get back on scratch! Thank you

  • @Taro0638
    @Taro0638 Год назад +1

    Love your vids Griffpatch 😊

  • @thesmalltime8288
    @thesmalltime8288 Год назад +1

    Love your vids, fellow scratcher!

  • @tt_thoma
    @tt_thoma Год назад

    I love the new dynamism of the music

  • @nikodemusdelponte7198
    @nikodemusdelponte7198 Год назад +1

    Im so exited for the next episode

    • @griffpatch
      @griffpatch  Год назад

      It'll be here this weekend!!! (or right now for early access channel members!)

    • @nikodemusdelponte7198
      @nikodemusdelponte7198 Год назад

      @@griffpatch cool!

  • @awesomedixdam106
    @awesomedixdam106 Год назад

    good tutorial i like it and the dancing scratch cats

  • @kaileh57
    @kaileh57 Год назад

    I'm using this to learn the concepts for actual online multiplayer outside of scratch

  • @jeffdadaggoYT
    @jeffdadaggoYT 4 месяца назад

    It took multiple times doing the tutorial right, and I did it, by the thank you griffpatch for the tutorials

  • @joejames1414
    @joejames1414 Год назад

    Amazing video! keep it up 😃😃😃

  • @triple_play_games
    @triple_play_games Год назад

    YAY it is here!

  • @DiscordWumpus
    @DiscordWumpus Год назад

    I cant wait for what all of our fellow scratchers will see about this!

  • @freduilici2634
    @freduilici2634 2 месяца назад

    12:13, u had a perfect chance to say subcribe, lol

  • @aileigh.yeeeeee
    @aileigh.yeeeeee Год назад

    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.

  • @petrolheadscinematic
    @petrolheadscinematic Год назад

    Thank You Griffpatch!

  • @jbzanimations
    @jbzanimations Год назад

    I like this video its very useful and i really like the editing

  • @LakkzScratch
    @LakkzScratch Год назад +1

    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)

  • @OperacaoEpa
    @OperacaoEpa Год назад +1

    Whohoo finally some true action! I am really excited to see the projects that use these. From this point on, its just creativity! 😺

  • @maxqian6381
    @maxqian6381 Год назад +1

    Honestly griffpatch just helps me code so much fun things. I wouldnt be at my scratch status without him.

  • @Mr.Guning
    @Mr.Guning Год назад

    this is so helpful thankyou

  • @FedukkVang
    @FedukkVang Год назад

    Hi Griffpatch!
    U r pro in Scratch
    Good job genius

  • @Jamesporkchop
    @Jamesporkchop Год назад

    how does this man not have 1 Million subs yet??

  • @persono759
    @persono759 Год назад

    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

  • @Huy_Official.
    @Huy_Official. Год назад

    Thank you a lot!!! Tower Defence next please!

  • @aayanshsaxena123
    @aayanshsaxena123 4 месяца назад

    I liked this!

  • @MINTGREENYT369
    @MINTGREENYT369 8 месяцев назад

    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