How To Make A Snake Game In Scratch 3.0!

Поделиться
HTML-код
  • Опубликовано: 5 авг 2024
  • Click this link to become a channel member: bit.ly/sammycheez_member
    Click this link to become a subscriber: bit.ly/sammycheez_sub
    Check me out on Scratch here: scratch.mit.edu/users/SammyCh...
    What's up guys, it's SammyCheez here, back with another video. In today's video, I will show you how to make a snake game in 2020! If you want me to release more Scratch 3.0 tutorials, let me know! This tutorial is simple and easy. Make sure to watch the full video to learn how to make the Snake Game! Music provided by spoti.fi/NCS
    Scratch is developed by the Lifelong Kindergarten Group at the MIT Media Lab. See scratch.mit.edu
    #tutorial #code #scratch

Комментарии • 110

  • @SammyCheez
    @SammyCheez  3 года назад +11

    Check me out on Scratch here: scratch.mit.edu/users/SammyCheez/

  • @vihaantheviking6071
    @vihaantheviking6071 3 года назад +8

    Thank's for making this video SammyCheez, this video helped me a lot. It was very easy!

  • @ConConSmith
    @ConConSmith 3 года назад +2

    Great video! used it to help me make my own, Thanks!

  • @sunniipop
    @sunniipop 3 года назад +5

    I am giving credit to you for this project! Helped alot!

  • @user-ki3ur8bb2o
    @user-ki3ur8bb2o 3 года назад +10

    Lmao thanks free pass for my test 🤣🤣

  • @kalpanasharma4969
    @kalpanasharma4969 6 месяцев назад

    Taught me alot about scratch 3

  • @gusfring5738
    @gusfring5738 2 года назад +1

    Thank you ❤️❤️

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

    YO THANK YOU BRO

  • @Louis-iu8cf
    @Louis-iu8cf Год назад

    very good it help me a lot

  • @gurmailsingh6278
    @gurmailsingh6278 3 года назад +1

    Thank you very much 😭😭

  • @d7nosaur581
    @d7nosaur581 3 года назад

    Thank you sooooooooo mutch

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

    you are gifted bro

  • @parker.on_top
    @parker.on_top 2 года назад

    thabk you so much great vid keep up the good work

    • @GrandArise
      @GrandArise 2 года назад

      Can we make this thing on a ipad?

  • @merujanfidanyan4521
    @merujanfidanyan4521 3 года назад

    Thanks very much

  • @ainanadiah2826
    @ainanadiah2826 3 года назад +1

    did u kmow to do flowchart?

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

    Thanks

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

    Nice

  • @abbigail9921
    @abbigail9921 3 года назад +5

    the tutorial is good but if you see the clones it kinda just messes up and changes A LOT and is very glitchy, it doesnt effect the game play but since the clones go up so fast and if a play could get a lot of apples fast than there would be a lot of clones and theres a maximum of 300 clones and it makes like 3-4 every apples :/ idk my question is if there is a way to lower the clones without effecting the actual game play

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

    i hope next video you can make your sound more loud.thanks for the video it really usefull

  • @unicornworld1984
    @unicornworld1984 3 года назад +2

    Hi I subscribed to your channel

  • @yosephdawson7045
    @yosephdawson7045 2 года назад

    thnx

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

    ye boiii

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

    its sooo good for my kids becuse they are coders

  • @harmony_belle9686
    @harmony_belle9686 3 года назад +4

    Hey i have followed the coding for changing the snakes directions, it changes directions but also teleports randomly around the screen when the arrows are pressed. any idea how to fix it?

    • @troublinggem7657
      @troublinggem7657 3 года назад +1

      The only thing i found how to fix it was to just create an entire new scratch project and recreate the exact same thing and it didn't do it the second time.

    • @oliwierkwiatkowski8817
      @oliwierkwiatkowski8817 3 года назад +1

      Align the middle of the sprite better OR look for mistakes in code (if there are any)

    • @bsykesbeats
      @bsykesbeats 2 года назад

      @@troublinggem7657 even creating a new project didn't fix this issue for me. Any ideas?

    • @paxarite
      @paxarite 2 года назад +2

      @@bsykesbeats i know it!, you are not center the costume!!!

    • @bsykesbeats
      @bsykesbeats 2 года назад

      @@paxarite what do u mean?

  • @harathim614
    @harathim614 2 года назад

    What is the background music? Send link. BTW nice tutorial I liked it.

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

    I FINALLy made snake game!!!!!!!I also made a platformer game.....I watched your video and made it.......

  • @lavrex6491
    @lavrex6491 2 года назад +2

    Tip:
    Code for head - When green flag clicked forever if touching body broadcoast game over hide stop all
    This will make the game harder. If you touch your body, you will loose.

    • @chriscastillo3271
      @chriscastillo3271 2 года назад +4

      Theirs a problem because when you start it the game just ends automatically

  • @legoesters
    @legoesters 2 года назад +1

    when u were making the golden apple, you could have just used the fill tool to fill the apple black at: 8:59

    • @SammyCheez
      @SammyCheez  2 года назад +1

      It would fill in the apple, so I did it that way

  • @kobiandsierra6679
    @kobiandsierra6679 3 года назад

    for some reason my game over screen is the only thing showing when i press the green flag and it hides everything and the game wont work now i dont get what i did wrong

    • @kobiandsierra6679
      @kobiandsierra6679 3 года назад

      never mind it was the code that made it game over when it touched its body im not sure how to make that work right

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

    It is broken, another clone is created nest to me instead of behind me and when that clone touches the edge, i die even if the head doesn't touch

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

    Bro you are the best man I hope you become successful in you life good job 👍💯👏

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

    How would I move the snake on an iPad? I’m pretty sure that isn’t possible

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

    hey do you still reply? i need help with creating a restart button when the game ends? how do I make it obvious that the game ended?

    • @Roken101_12
      @Roken101_12 3 месяца назад

      I had a black screen cover the screen using the (glide (x) seconds to (y) (z) block) And then had the button appear

  • @kimchihalal6026
    @kimchihalal6026 2 года назад

    What's the last block you added in the GAME OVER sprite code?

    • @gohansaneric5386
      @gohansaneric5386 2 года назад

      he added when flag clicked ,go to x:0 y:0 ,hide and when i receive game over ,show

    • @DeadFoxezz
      @DeadFoxezz 6 месяцев назад

      Thanks, i couldnt see that

  • @miaclousy3006
    @miaclousy3006 3 года назад

    my clone is faulty what do i do

  • @fireblast_1000
    @fireblast_1000 3 месяца назад

    I did this by my self cause my phone went dead but i cant figure out how to start with the body spawning behind the player so if it crashes into itself you die

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

    w sammy cheez

  • @Jitesh-ek5xf
    @Jitesh-ek5xf 2 месяца назад

    Using this to make game in C .
    (I suck at snake game algorithm.)

  • @nualafletcher8135
    @nualafletcher8135 3 года назад

    Sammycheez what happened when we did the clone part was that the body would still be showing and then the head would disappear:/

    • @madsbzyy
      @madsbzyy 3 года назад

      you have to add the "if touching edge" code from the snake head sprite to the snake body sprite as well.

  • @Roken101_12
    @Roken101_12 3 месяца назад

    how do you make the snake die when it hits itself?

  • @kennethlee7763
    @kennethlee7763 3 года назад +4

    the file on the description dont work

    • @SammyCheez
      @SammyCheez  3 года назад +1

      I am working on that right now.

    • @SammyCheez
      @SammyCheez  3 года назад +1

      I cannot get the file.

  • @rohitinc
    @rohitinc 3 года назад +3

    5:45: Wait 0.01 seconds.
    Talk about patience

    • @y_onis7038
      @y_onis7038 2 года назад +1

      wait(0);

    • @caseyyeow1649
      @caseyyeow1649 2 года назад

      ​@@y_onis7038 It will only wait for one frame.

  • @galodecalca4887
    @galodecalca4887 3 года назад +1

    I did the same and my snake is totally broken, it is making a trail instead of just creating a clone and it is not getting bigger when it eats the apple

    • @SammyCheez
      @SammyCheez  3 года назад +1

      Could you share your project and then link it here so I can help you? Thanks!

  • @munawarali996
    @munawarali996 3 года назад

    Tysmmmm my sir said to do this exam and i was able to do it bcz of u tysmm for this now i can pass my examssss

  • @unicornworld1984
    @unicornworld1984 3 года назад +3

    Hi can you help me?
    The body of the snake is not connected so can you please help how to connect it
    Thanks 🙏

    • @SammyCheez
      @SammyCheez  3 года назад +3

      Can you link me your project so I can look at it? Thank you!

    • @unicornworld1984
      @unicornworld1984 3 года назад +2

      scratch.mit.edu/projects/450774945/

    • @SammyCheez
      @SammyCheez  3 года назад +4

      The reason your project is not working is that the head is and body are not centered in the "costumes" section.

    • @unicornworld1984
      @unicornworld1984 3 года назад +2

      Thank you 😊 very much

    • @rdteev7693
      @rdteev7693 3 года назад +1

      @@unicornworld1984 OMG I WAS HAVING THE SAME PROBLEM Thx for this comment it really helped me

  • @kennethlee7763
    @kennethlee7763 3 года назад +2

    do you have the file, i want to download it so bad

    • @SammyCheez
      @SammyCheez  3 года назад +1

      No, I do not have the file.

  • @vo1din8r23
    @vo1din8r23 2 года назад

    600th like!

  • @gamingx8073
    @gamingx8073 3 года назад

    hi man

  • @Cs_0820
    @Cs_0820 3 года назад

    What song is this?

    • @saisrinivas305
      @saisrinivas305 3 года назад

      Feel Good by Syn Cole (NCS Release)

    • @saisrinivas305
      @saisrinivas305 3 года назад

      On & On by Cartoon & Daniel Lévi (NCS Release)

  • @thuyanh-ij8xe
    @thuyanh-ij8xe 27 дней назад

    bắt quả tang chép bài nè

  • @JoseTheOne
    @JoseTheOne 3 года назад

    Does anyone know how to make the game end when the snake touches its self thank you

    • @phrase3010
      @phrase3010 3 года назад

      uh im super beginner at scratch but maybe in sensing you could add "when touching _____(maybe like the colour of the snake)" then game over??? idk lol

    • @caseyyeow1649
      @caseyyeow1649 2 года назад

      Drag a touching Sprite1 from another sprite to the Sprite1 sprite.

  • @oyintimegubasar5157
    @oyintimegubasar5157 2 года назад +1

    My "game over" is not broadcasting can someone help me please? Does someone is also facing this problem? Please someone help me.....

    • @SammyCheez
      @SammyCheez  2 года назад +1

      Can you share the project and then link it here? Is will to will try to help.

  • @5miles822
    @5miles822 3 года назад +1

    One thing you forgot to add is if the snake touches its tail it dies

    • @karamgamer0011
      @karamgamer0011 2 года назад

      You cant .... because the tail is always touching the head ...i tried it .. :(

  • @proudalban1an
    @proudalban1an 2 года назад

    I tried to make it work on Scratch but it DID NOT work.

  • @compresed_progamer1330
    @compresed_progamer1330 3 года назад +2

    I Followed All Steps And Instead Of Making The Golden Apple Spawn After 10 Seconds I Made It When You Eat The Apple There Is A Chance That The Golden Apple Spawn

  • @hientruongthithu2371
    @hientruongthithu2371 2 года назад

    yes , ez

  • @MsMosoka
    @MsMosoka 3 года назад

    Cmd = Action

  • @endlez4079
    @endlez4079 3 года назад

    can someone send me the script? thx

  • @itsjustridam
    @itsjustridam 3 года назад

    THE MUSIC IN THE BACKGROUND MY FAV SONG "Why We Lose"

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

    Hello

  • @poojakapahi5298
    @poojakapahi5298 2 года назад

    The only problem that is coming is that the movement of the snake and the clones are so bad

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

    Hello fellow scratchers! oh Sammy cheez! Your video is hard. The easy one is in my channel.

  • @frouenmedinajr3464
    @frouenmedinajr3464 3 года назад +1

    why the game over isnt working

  • @MsMosoka
    @MsMosoka 3 года назад

    👁👄👁 Why

  • @hehe-eo8gs
    @hehe-eo8gs 3 года назад

    help me pls

    • @SammyCheez
      @SammyCheez  3 года назад

      Share your project and then link me to your project.

  • @rajavelusvu
    @rajavelusvu 2 года назад

    Snake????????????

  • @proudalban1an
    @proudalban1an 2 года назад

    Everything on the code FREAKING sucked the website on the tutorial.

  • @TheWonderLab-kg9tj
    @TheWonderLab-kg9tj Месяц назад

    doesn't works! use*ess video! scammer