How to make Snake in Unity (Complete Tutorial) 🐍🍎 -

How to make Snake in Unity (Complete Tutorial) 🐍🍎

Views: 104124
Like: 3144
Learn to make the classic 2D arcade game Snake in Unity. Snake is the common name for a video game concept where the player maneuvers a line which grows in length, with the line itself being a primary obstacle. The concept originated in the 1976 arcade game Blockade, and the ease of implementing Snake has led to hundreds of versions for many platforms.

0:00​ – Introduction
0:50 – Project Creation
1:45​ – Scene Setup
14:17​ – Snake Movement
21:28​ – Food Placement
30:00​ – Segments & Growing
39:34​ – Game Over
46:04​ – Outro

🖥️ Source code and assets:
❤️ Support my work on Patreon:
👍 Subscribe for more Unity tutorials:
💬 Join our Discord community:
⭐ Download my Unity assets:


► Learn more about my work:
► Follow for news and updates:

#unity #unitytutorial #gamedev #unity3d #unity2d #gamedevelopment #indiegame #indiedev #madewithunity


  1. feel like ti is ticking way too fast for lol. but hey, as long as you do what you love- the sky is the limit! also just a little advice to

  2. TNice tutorials is going in my helpful tutorials playlist.

  3. Social Justice Warrior O had the sa problem. click GMS and inside the Program push app and Analog 1 TE. Hope tNice tutorials helps ✌

  4. I don't get it, I don't see Nice tutorialm make a lody in tNice tutorials video?

  5. 36:07 body parts reloacation is the key of this game. I was trying to remake this game for two nights and messed up. The right solution is so simple and elegant.

  6. Thanks for the tutorial! I'm just learning how to use unity and this helped a LOT! I have no game dev experience but do have a background of C and JavaScript (fairly basic understanding of JavaScript), so learning the syntax of C# is… well it feels weird haha and this tutorial helped me pick up the syntax!! Plus this is my first ever game made in unity! I got a great mobile game idea but have no idea how to implement it, so your tutorial was my first step in my process of learning unity to a point where I can make my game idea a reality!

  7. I know that I am late. but I really need help on this one. I used the same method as you to add body segments to the snake but the body segments just have the same position as the snake's head. So rather than growing, all the prefabs just instantiate on the head. is there a way to get around this.
    I am using a bit different input method than yours but that shouldn't have any effect, would it?

    here is my grow snake function :-

    void GrowSnake()


    Transform segmentIncrease = Instantiate(this.bodySegment);

    segmentIncrease.position = segments[^1].position;



    and here is the for loop that i am calling in the update method:-

    for (int i = segments.Count – 1; i > 0; i–)


    segments[i].position = segments[i – 1].position;


  8. Corel paintshop pro 2022 please 

  9. I hope you get what you're looking for!

  10. "Well well well, look who's co crawling back" ~ five stringed spanish guitar

  11. When it come to quality content this guy never dis

  12. The truth is that the unknown scares all of us, but we just have to practice so we can get well with the software.

  13. For once, the software is actually really useful

  14. Hello Zigurous! I was following your tutorial and encountered an issue here… If you eat the first food, then the second food spawns excactly adjacent to the snake head, then you take to bite the second food, you won't grow immediately and the food doesn't respawn(it just stays where it was). I presume this would be a collision problem but am not very sure. Have you encountered such a problem?

  15. hey just wondering how to i make the snake with teleport like when you collide with right wall you get teleported to the left side
    an make the snake segments increase when I eat 2 food instead of increasing segment when I only eat one food

  16. I dоwnloaded everything is okay

  17. there is a probleme they say the scrip is missing but its not why? thx.

  18. Cannot implicitly convert type 'string' to 'bool' … how can help me in this sh*t

  19. Thank you very much for this tutorial! It was super easy to understand and very helpful! 😀

  20. Can someone tell me how I can make a score and a highscore?

  21. Best! Thanks Very Much for your tutorials!

  22. i love your tutorial

    plzzzzzzzzzzzzzzzzzzzzzzzz make a video on

    how to create an 8-ball pool game in unity

  23. Game Devs,I got a doubt how do you make the snake not to go reverse I mean if u r going right if you press "A" It will go left

  24. I'll post a link to my final product later.

Leave a Reply

Your email address will not be published.