How to Make a Game - Unity Beginner Tutorial - New Version!

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ก.ค. 2024
  • • Make a Game & Learn To... --- UPDATED FOR UNITY 2023
    game.courses/birds/ - Check out the FREE COURSE
    0:00 - Intro / Beg for Likes & Shares
    1:26 - Installing Unity 2020
    6:42 - How to Create a new Unity Game Project
    8:00 - Importing art with a .unitypackage
    12:24 - Creating a 2D Character with a SpriteRenderer
    15:26 - Physics with Rigidbody2D
    18:02 - Collisions, PolygonCollider2D, BoxCollider2D
    22:43 - Backgrounds, Sprite Tiling, SortingLayers, OrderInLayer
    28:39 - Animation
    31:20 - Writing C# Code with Visual Studio
    1:09:00 - Start and Awake
    1:14:14 - Crates and GameObject Duplication
    1:17:44 - FlipX, FlipY, SpriteRenderer Options and Crates
    1:25:59 - Coroutines
    1:30:54 - Monsters
    1:40:45 - Collision Normal / Hit direction detection
    1:44:09 - Clamping Position with Vector2.Distance
    1:55:54 - Custom ParticleSystem Creation
    2:04:20 - Boolean / bool flags
    2:06:14 - Level Creation
    2:10:30 - Level / Scene Progression with LevelController
    2:24:47 - Cinemachine Camera Controller & TargetGroup Camera
    2:32:05 - Prefabs
    2:41:11 - Extensions and Thx! - "Don't forget to share" :)
    Learn how to make a game in Unity3D. We'll build Angry Birds with full physics, monsters, and drag/release launching.
    If you have suggestions, questions, or recommendations for extensions, drop them in a comment below!
    Programmer Course: game.courses/programmer/
    Art and Extensions: game.courses/birds/
    Join the Group: unity3d.group
    Patreon: / unity3dcollege
    Unity Asset Store - prf.hn/click/camref:1011lkXUB...

ความคิดเห็น • 1.3K

  • @WisestMongoloid
    @WisestMongoloid 3 ปีที่แล้ว +811

    IMPORTANT NOTE: unfortunately, the video does not show the script being added to the bird, so the coding does not really affect the game. Took me forever to figure it out, since I am new at this. Simply drag the script onto the component list and things will just start to work. In the video, the "Script" component just appears there @40:58. This is an EXCELLENT tutorial otherwise :).

    • @tomcartwright3160
      @tomcartwright3160 3 ปีที่แล้ว +7

      I can't add my script to the bird object? and all the code inside the script isn't color coded? can you help? when I try apply my script to the object it comes up with an error saying 'Cannot add script component 'Bird' Make sure that there are no compile errors and that the class name and file name match' . I've named the class name and the object name the same too.

    • @tomcartwright3160
      @tomcartwright3160 3 ปีที่แล้ว +3

      okay, so I've now added the script component to the object. but the code isn't working? it's still not color coded, here it is:
      using System.Collections;
      using System.Collections.Generic;
      using UnityEngine;
      public class Bird : MonoBehaviour
      {
      // Start is called before the first frame update
      void Start()
      {
      GetComponent().isKinematic = true;
      }
      void OnMouseDown()
      {
      GetComponent().color = Color.red;
      }

      void OnMouseUp()
      {
      GetComponent().color = Color.white;
      }
      void OnMouseDrag()
      {
      //Vector3 mousePosition = Camera.main.ScreenToWorldPoint(Input.mousePosition);
      }
      // Update is called once per frame
      void Update()
      {
      }
      }

    • @greskakis6196
      @greskakis6196 3 ปีที่แล้ว +16

      you are best guy ever

    • @theforgot3n1
      @theforgot3n1 3 ปีที่แล้ว +5

      @@tomcartwright3160 I believe you might be having issues getting visual studio recognize Unity and vice-verse. There is some stuff you have to do to set up visual studio with Unity. Have you done it?

    • @umsnowie1813
      @umsnowie1813 3 ปีที่แล้ว +15

      @Vlad Simionescu ull see #Bird from scripts, drag it to redbird (in hierarchy)

  • @thisdyingsoul666
    @thisdyingsoul666 3 ปีที่แล้ว +296

    For those who got stuck in the OnMouseDown that are not turning the bird red:
    There are two missing things on the tutorial (so far, i´m doing it too :) ):
    1) He attach the script as a component to the bird. You can do this by hold click on the Bird script on the assets tab and dragging to the components of the bird on the right.
    2) He return the Simulated variable of RigidBody 2D back to true. Click detection will not work without it.

    • @GothGeekAnimeFreak
      @GothGeekAnimeFreak 3 ปีที่แล้ว +9

      Thank you! got really stuck here :)

    • @gamemennekes2602
      @gamemennekes2602 3 ปีที่แล้ว +1

      I dont get where do i have to drag it
      ???

    • @gamemennekes2602
      @gamemennekes2602 3 ปีที่แล้ว +1

      it says cant add script beacause the script class cannot be found

    • @yazanjordan3103
      @yazanjordan3103 3 ปีที่แล้ว +1

      yes Exactly .. Thank you

    • @adityarevankar6529
      @adityarevankar6529 3 ปีที่แล้ว +4

      Thank You man, wasted about 2 days for this.

  • @tauheedgamedev2388
    @tauheedgamedev2388 3 ปีที่แล้ว +269

    Great Tutorial, I started learning Unity using your tutorials and now I'm working on a my own commercial game for mobile. Thanks 👍

    • @ziasher4190
      @ziasher4190 3 ปีที่แล้ว +2

      hello : D

    • @WarThrone
      @WarThrone 3 ปีที่แล้ว +1

      Wow nice, you got a heart

    • @panomapet9441
      @panomapet9441 3 ปีที่แล้ว +2

      How long did it take you?

    • @tauheedgamedev2388
      @tauheedgamedev2388 3 ปีที่แล้ว +5

      Probably 6 Months or so consistently. Come check out my latest video, I breakdown my journey

    • @angelkaki5707
      @angelkaki5707 3 ปีที่แล้ว

      Can get pass the onmousedown code, it won’t work u.u

  • @evan73858
    @evan73858 3 ปีที่แล้ว +60

    This video is about 2 hours long but I spent 10 hours on it just so I learned EVERYTHING that was going on. Thank you so much great video and clear to understand :)

    • @koukikiller1182
      @koukikiller1182 3 ปีที่แล้ว

      i spent a week on it 😂

    • @kiha215
      @kiha215 3 ปีที่แล้ว +5

      I just copied it without any sign of brain activity

    • @chronosbat
      @chronosbat 3 ปีที่แล้ว

      @@kiha215 better than just watching the video without doing anything else but u prob shouldnt do that lol

    • @programcoderpro8188
      @programcoderpro8188 3 ปีที่แล้ว +1

      @@koukikiller1182 me pro code me do it in 2 month u ppl are nob

    • @thepenguincolony6039
      @thepenguincolony6039 3 ปีที่แล้ว

      @@programcoderpro8188 3 months

  • @RugbugRedfern
    @RugbugRedfern 3 ปีที่แล้ว +91

    I'm really glad that there's a tutorial for beginners out that teaches good coding practices. Amazing work Jason!

  • @kewtomrao
    @kewtomrao 3 ปีที่แล้ว +37

    What a surprise!I started with the same tutorial back then when it was published.Now I have a game on the google play store and participated in a gameJam.Thank you jason.I ll share this with my friends :)

  • @elbyful9750
    @elbyful9750 3 ปีที่แล้ว +51

    Funny thing, I just finished watching your 2019 Unity Tutorial and now I get blessed with the 2020 version! Thanks Jason!
    Much respect from Hong Kong!

  • @AnimilesYT
    @AnimilesYT 3 ปีที่แล้ว +70

    You manage to explain everything really clearly without taking ages. And unlike many other tutorials you even include things like basic navigation.
    I am not a complete beginner, but there are a lot of little things that always took me a while to do while you explained how to do them easily and properly.
    I'm only 35 minutes into the tutorial, but I have been doing many things by myself first to see if I can figure out how to do it, and then I watch how you do it in a different and better way. I wish I had this tutorial when I was just starting out. I honestly think that this tutorial is a must for everyone who is starting out.
    There is just one thing that is just not acceptable. You use the dark theme for unity, which is really good. But at the same time you use the light theme for Visual Studio. That is just not acceptable! xD

    • @AnimilesYT
      @AnimilesYT 3 ปีที่แล้ว

      @Rawa MAHMOUD You are lucky to start with this. Good luck on your journey with Unity :D

    • @AnimilesYT
      @AnimilesYT 3 ปีที่แล้ว

      @Tokey Do you miss a "using" at the top?
      It may also help to restart Unity if you haven't already tried this.
      These are the things I can think of right now. Hopefully it helps

  • @davidjohnson3180
    @davidjohnson3180 3 ปีที่แล้ว +6

    Absolutely cracking tutorial, so nice to watch someone who is articulate, knows the subject matter and can relate the materials without constantly repeating expletives. A punchy to the point tutorial, which also teaches a great amount of detail.

  • @thecupcakefoxblog
    @thecupcakefoxblog 3 ปีที่แล้ว +3

    Normally I don’t want such in-depth tutorials because I’ll be looking for something specific. BUT I’m 100% beginner to game development so I’m SOOOO appreciative for all this detail in your tutorial. I think this is very beginner-friendly.

  • @davidfrench3421
    @davidfrench3421 3 ปีที่แล้ว +4

    This is the best tutorial I’ve ever followed on TH-cam! I’m new to game dev - but work as a web developer so I’ve seen a lot of similar content but this has been a stand out! A well thought out and well delivered tutorial. Thanks for putting in the time and effort!!!

  • @rodnymella1004
    @rodnymella1004 3 ปีที่แล้ว +5

    You are an amazing teacher, this single tutorial alone I learned a lot now I am interested in learning more. Going to dig more tutorials from your channel. Great material. Thanks a lot Jason!

  • @eliotjanvier4653
    @eliotjanvier4653 3 ปีที่แล้ว +3

    this is the first tutorial in my life that actually preshots the issues i have and solve them, you did a pretty good job there!

  • @benstatgod
    @benstatgod 3 ปีที่แล้ว +3

    This is awesome! Very informative and what a great feeling it is to have an actual game after only a few hours! Learned a lot and had fun doing it too! Thank you

  • @misterdaz2694
    @misterdaz2694 3 ปีที่แล้ว +2

    Apart from a couple of minor things others have picked up on, Jason's video tutorial is the best I have watched here at TH-cam so far. He has a very confident, neat and well explained approach to his teaching. His videos appear to be well planned out beforehand and he doesn't run into problems and start scratching his head halfway through wondering what he has done wrong like others I have seen. Very slick, very professional approach, Great stuff Jason, I shall be watching more! Thanks very much.

  • @Alivecomau
    @Alivecomau 2 ปีที่แล้ว

    Have not long retired and trying my hand at Unity - this is the best tutorial I have come across to get started - very impressed with the lack of post production edits. Jason really knows his stuff and so grateful he is willing to share his skills with us... thank you :)

  • @rigbylast9438
    @rigbylast9438 3 ปีที่แล้ว +6

    Dude this helped alot, I am new at this unity thing and this gave me a kick start to my game developing.

  • @mrSULAVmrSULKO
    @mrSULAVmrSULKO 2 ปีที่แล้ว +42

    NOTE: If your boxes do not snap to the ground, you should hold Ctrl while moving them for more accurate snapping.

    • @calmguitar8530
      @calmguitar8530 2 ปีที่แล้ว

      I spent like an hour finding why they didn’t snap right. And right after I found out why I see this comment.

    • @alxdrksoul
      @alxdrksoul 2 ปีที่แล้ว +1

      Thank you so much :D

    • @dizzy5240
      @dizzy5240 2 ปีที่แล้ว

      hi can u help my bird is flashing and i dontknow how to fix it

    • @jason-vg3kk
      @jason-vg3kk 2 ปีที่แล้ว

      thank you

  • @laukcoder9901
    @laukcoder9901 3 ปีที่แล้ว

    That was pretty awesome! I've been following a bunch of tutorials but yours was very clear and informative. It wasn't bogged down with too much fluff and it wasn't too light on the details either.

  • @sploosh578
    @sploosh578 3 ปีที่แล้ว +1

    THANK YOU for actually explaining the syntax of the code! So many tutorials just say "type this in visual studio", and you have no idea why you're doing it or what exactly you're telling the code to do. I feel like I'm finally getting a grasp on C#.

  • @parthgupta4850
    @parthgupta4850 3 ปีที่แล้ว +47

    For all those, bird's image hiding in the background try using the "order in layer" in inspector tab and make it's value to 1.
    edit: you are great! solution is already there in the video!

    • @his_of_ham
      @his_of_ham 3 ปีที่แล้ว +2

      THANK YOU SO MUCH

    • @parthgupta4850
      @parthgupta4850 3 ปีที่แล้ว

      @@his_of_ham My Pleasure!

    • @mtgotix
      @mtgotix 3 ปีที่แล้ว +1

      Thank you so much !

    • @parthgupta4850
      @parthgupta4850 3 ปีที่แล้ว +2

      @@mtgotix welcome!

    • @anujpal5344
      @anujpal5344 3 ปีที่แล้ว +1

      thanks mate

  • @hitarthdoctor2695
    @hitarthdoctor2695 3 ปีที่แล้ว +10

    You make training juniors easy with these videos.

  • @georgesinclair6399
    @georgesinclair6399 2 ปีที่แล้ว +1

    This is tutorial is amazing. So many things that you just go over in detail about different aspects of coding and design and explain why you are doing it. Thanks

  • @samuelmendezacosta9692
    @samuelmendezacosta9692 3 ปีที่แล้ว +1

    Best game dev TH-cam’s helps so much his 2hr tutorials are so good I’m subscribing dame keep it up man I’m being a game dev for shire now

  • @BoxandJacquilope
    @BoxandJacquilope 3 ปีที่แล้ว +3

    Thank you so much for this amazing tutorial! I legit have not stopped thinking about it all day :) Legit even making that bird turn red when you click on it has brought a huge smile to my face

  • @LaTrefle
    @LaTrefle 3 ปีที่แล้ว +4

    Lovely tutorial, watched every second of it thoroughly.

  • @Maryam-zi6tf
    @Maryam-zi6tf 2 ปีที่แล้ว +1

    This is the best UNITY Tutorial I have ever watched!!! Was actually able to follow along ! Much better then even Unity's tutorials Thank you so much!!! I made my first game thanks to you

  • @oetzi83
    @oetzi83 3 ปีที่แล้ว

    Thanks a lot for your time and effort creating such a great tutorial where you really cover everything a beginner needs to know when starting with Unity. Also you find a very good balance of how many details you explain and at the speed so that everyone can still follow you.

  • @donatelonow
    @donatelonow 3 ปีที่แล้ว +5

    Thank you, Jason. That's an excellent tutorial and helped me to put things into a better perspective after going through the basics in one of Unity 2D books.
    If I may make a suggestion, I'd suggest to switch Visual Studio to a dark team as it is easier on the eyes. Especially when there are a lot of switching between the dark Unity window and light VS window.

  • @tomorrowduong4914
    @tomorrowduong4914 3 ปีที่แล้ว +3

    darn the best intuitive tutorial I've found. Packed with useful information!

  • @hardtofindaunamehere
    @hardtofindaunamehere 3 ปีที่แล้ว +2

    You Sir are a legend!! this is by far the best tutorial on youtube I saw. your detailed and clear instructions are so easy to follow, even at 1.5x :) Thank you!!

  • @iamzachhunter
    @iamzachhunter 3 ปีที่แล้ว

    Hey Jason, your videos have helped me a lot over the past few months. I just wanted to say thanks for the hard work. I'll also request that you make more videos where you record yourself making a game, but keep working at the same game to make it more complex. It's nice to just sit down and watch you go through the steps, and there are tons of things I can still learn that would belong in a part 2 or part 3 video.

  • @PeterJohnson76
    @PeterJohnson76 3 ปีที่แล้ว +4

    Thanks so much Jason. I have expanded this to have 20 levels, a menu, health bar, extra monsters, sounds and other objects.

    • @carlabozintan3670
      @carlabozintan3670 2 ปีที่แล้ว +1

      how did u managed to put a health bar, is there a chance that u can give me some tips?

    • @PeterJohnson76
      @PeterJohnson76 2 ปีที่แล้ว

      @@carlabozintan3670 check out the channel Natty Creations.

  • @mooshroom9783
    @mooshroom9783 3 ปีที่แล้ว +3

    I have watched the old tutorial before and honestly I think it's great. I'm relatively young so I won't be making a game public any time soon but I am very interested in coding and especially game development. In the future I hope I'll have enough experience and talent to make a full 3d game with unity and blender. And to anyone starting out(like me) don't worry if you don't understand or if it seems overwhelming, because it is. It takes years for someone to make a good quality game so don't be worried if it takes a long time.

  • @phaserknight4348
    @phaserknight4348 3 ปีที่แล้ว

    I recently watched a Brackeys tutorial to Unity, but since that was 3d I decided to also watch this video on 2d. Going through this video was much easier. You went at a much easier pace and explained it extremely well, so thank you!

  • @koukikiller1182
    @koukikiller1182 3 ปีที่แล้ว +2

    THIS IS THE BEST TUTORIAL I HAVE WATCHED THIS IS THE ONLY ONE WHERE U ACTUALLY EXPLAIN UR CODE

  • @Meithighs
    @Meithighs 3 ปีที่แล้ว +7

    omg this part at like 40 minutes with the generate project files fixed my hatred for visual studio. thank you

  • @MasterQuestMaster
    @MasterQuestMaster 3 ปีที่แล้ว +5

    If anyone has trouble with the grid snapping not allowing your to line up your crates with the ground, then go to Edit -> Grid Settings and change the size to 0.5. This actually makes the grid look bigger, but in reality, it's smaller.

  • @billyheinrich3279
    @billyheinrich3279 3 ปีที่แล้ว

    Great job on the tutorial! Very clear code and understandable. Thanks for contributing to help and show us. You have a life time fan here.

  • @joofville
    @joofville 3 ปีที่แล้ว +1

    Thanks, Jason, excellent tutorial. I've messed about in Godot and was looking for a tutorial for Unity and this is a great start!

  • @cameron.t
    @cameron.t 3 ปีที่แล้ว +7

    FYI for anybody confused about the Cinemachine part around 2:26:08, Cinemachine will show up in GameObject after it is installed/activated. Cinemachine used to show up in the toolbar like this video. I spent 10 mins on this, found this info in the description box. 😂

    • @mrdank3608
      @mrdank3608 3 ปีที่แล้ว

      Thank you so much for this, I was so confused and was looking for someone to comment about this.

    • @cindus
      @cindus 2 ปีที่แล้ว

      Thank you!

  • @RobG88
    @RobG88 3 ปีที่แล้ว +10

    BUG REPORT: Guess it's not really a bug, but needs some sort of variable when resetting.
    This happens when the BIRD COLLIDES with more than one crate and/or the ground and therefore makes multiple COROUTINE calls. (If you add a counter to each call to the coroutine you can see that sometimes up to 9 calls are made to ResetAfterDelay())
    Subsequently, if you launch the BIRD before all the coroutines finish, the bird is SNAPPED back to pre-launch.
    This can be seen in the video @ 2:30:50

    • @BMiBudz
      @BMiBudz 3 ปีที่แล้ว +1

      when i try to use the box snapping effect it doesnt let me place it on the ground flat at all, its either just floating or on top of the floor, no matter what i do this doesnt change... i have expanded the area in more ways than one gone back to original...everything and yet the snapping effect doesnt "sync" properly... im starting to think that unity isnt very clear cut of a program, seems very sloppy on how it does things... like example why have a massive grid that your working on if you cant get things to follow it by the actual squares itself (that would make things tessellate properly and also be neater)...

  • @kameronhunt3208
    @kameronhunt3208 2 ปีที่แล้ว

    43 minutes in you've taught me more than a 27 hour class that i paid for..... thanks man so much honestly. Id also like to get some people i could talk to bout questions. Im VERY new to coding and it scares the shiiiiiii out of me. Thanks again man!

  • @vladislavshumitskiy4819
    @vladislavshumitskiy4819 3 ปีที่แล้ว +1

    Thank you for an amazing tutorial. Explanations are clear, precise and excellent for the beginners. Followed it from the first to the last step. All is working as per explanations. Thank you again

  • @sheepleslayer586
    @sheepleslayer586 3 ปีที่แล้ว +6

    Wonder how many people skipped over this because of how long it is..
    They're missing out big time!
    Subbed for sure.
    We are besties with testies now!

  • @ferndoingstuff
    @ferndoingstuff 3 ปีที่แล้ว +4

    Thank you for your videos

  • @saatvikjha4035
    @saatvikjha4035 2 ปีที่แล้ว +1

    If you code and drop your script in the component list of Red Bird then it will work but for those who can not make this work like me, just change the body type to kinematic in Rigidbody 2D of component list of Red Bird

  • @OldM8
    @OldM8 2 ปีที่แล้ว

    Thank you so much mate, had so much fun following along. You gave a good mix of problems along the way to help show simple mistakes that used to get me bogged down and stuck on other simple projects I had started on my own.

  • @Alkhalidi44
    @Alkhalidi44 2 ปีที่แล้ว +4

    quick notice here for people who have this problem : " when I added the background into the scene it just overlays the bird. The bird wouldnt show as the background was covering it"
    what I did to solve it :
    On the right side of the screen when you click on the bird, there is a text that says "Sprite Renderer" that has next to it a check box. in the sprite renderer box there is a list called "Additional Settings". under that list is 2 things you can modify, one is "Sorting Layer" and the other is "Order in Layer" . the one that you want is "Order in Layer", in the box next to that make sure (while the bird is the chosen object) that the value is set to "1" and let the background's "Order in layer" value be set to 0.
    that way you can stop the bird from being overlaid by the background. hope this helps .
    edit : ok for those who continued watching you will realize he addresses the problem in the next segment of the video following the part that the problem occurs in, so you can ignore this comment and follow his method lol

  • @sonilpro8526
    @sonilpro8526 3 ปีที่แล้ว +6

    Hey. How would you fix the line that started to appear when you added the background color? I have the exact same issue between sprites.

  • @gazzer4461
    @gazzer4461 3 ปีที่แล้ว

    Thanks Jason.
    Wonderful tutorial. I really enjoyed following along. Love your clear explanations and step by step instructions.

  • @Daniel-kp1lz
    @Daniel-kp1lz 3 ปีที่แล้ว

    Just finished, great tutorial I learned much more than I was expecting. I had actually been watching a-lot of Brackey's old stuff before coming here, but ran into serious limitations due to updates that happened in Unity.

  • @NickyDekker89
    @NickyDekker89 3 ปีที่แล้ว +13

    Hey Jason, love your vids man! Any chance you will do some videos on RTS games in Unity3D?

    • @Unity3dCollege
      @Unity3dCollege  3 ปีที่แล้ว +19

      Definitely something I want to do. In a multi-player scenario

    • @NickyDekker89
      @NickyDekker89 3 ปีที่แล้ว +7

      @@Unity3dCollege Awesome. Looking forward to that when/if it drops. 👍

    • @juanpercylopez2578
      @juanpercylopez2578 3 ปีที่แล้ว

      @@Unity3dCollege waiting for that :D

    • @gf387
      @gf387 3 ปีที่แล้ว

      @@Unity3dCollege yeaaah thats 😎.

  • @creatingcrates5870
    @creatingcrates5870 3 ปีที่แล้ว +16

    My first day using Unity
    I'll come back again to see how much i improved
    Edit after two months: whaat just two months? that was faster than i thought! anyway i already made a game for a gameJam called miniJam in 3 days and it was my first game, i guess within two months i learned sooo much more than i thought i would and i am thinking to shift to robot engineering rather than making games.

  • @BecomingHollow
    @BecomingHollow 3 ปีที่แล้ว

    Bravo for this tutorial. I was learning unity a year ago and this helped brush up on my knowledge. Thank you!

  • @hplovecraftmacncheese
    @hplovecraftmacncheese 2 ปีที่แล้ว

    This was my first time using unity or any game engine for that matter. It's amazing how quickly you can create a functioning game with animated sprites and so forth.

  • @sami_Sahraoi
    @sami_Sahraoi 3 ปีที่แล้ว +3

    we can do Vector2 instead of Vector3 in mouse drag:
    private void OnMouseDrag()
    {
    Vector2 mousePos = Camera.main.ScreenToWorldPoint(Input.mousePosition);
    transform.position = mousePos;
    }

    • @robllewellyn
      @robllewellyn ปีที่แล้ว

      I was going to ask this too. I was wondering why it would need to be Vector3 if we were then effectively having to handle the Z from -10. Many ways to "skin the cat" I guess. Such a great tutorial..

  • @VSpook
    @VSpook 2 ปีที่แล้ว +4

    Day 1:
    Progress: 1:17:52
    Day 2:
    Progress: 2:02:42
    Day 3:
    Progress 2:26:34
    done

  • @thepurpleperp4564
    @thepurpleperp4564 3 ปีที่แล้ว

    Amazing tutorial! Super clear and easy to follow, works perfectly.
    A couple things that would be amazing to include:
    1 - the white dots UI showing what direction you are shooting the bird
    2 - some kind of UI showing a title of each level on load or completion of each level.

  • @nturner82
    @nturner82 3 ปีที่แล้ว

    Great update to your other beginner tutorials! Thank you for sharing your expertise!

  • @athulrajtheno1
    @athulrajtheno1 3 ปีที่แล้ว +32

    Pls make a totorial on 3d games (I know that there are a lot of totorial on that on TH-cam but I understand what you say much easily)

    • @seanl9141
      @seanl9141 3 ปีที่แล้ว +3

      Yea Brackeys has some but he explains everything too fast for me to keep up and understand

    • @gf387
      @gf387 3 ปีที่แล้ว +1

      I am also decided.

    • @athulrajtheno1
      @athulrajtheno1 3 ปีที่แล้ว

      @@seanl9141 yeah

    • @retrogamer947
      @retrogamer947 3 ปีที่แล้ว +1

      @@seanl9141 i find brackeys hard to follow. brakcyes skips lot of stuff.

    • @Gamer-py4mq
      @Gamer-py4mq 3 ปีที่แล้ว

      Tutorials*

  • @PsychoticSalamander
    @PsychoticSalamander 2 ปีที่แล้ว +22

    for some reason the first animation that we learn (when the bird flaps its wings) doesnt make the bird flap its wings, for me the bird flashes on and off screen

    • @contempoarycode5710
      @contempoarycode5710 2 ปีที่แล้ว +6

      i got that same issue, just raise the "Order in layer"

    • @carfunkledflip1
      @carfunkledflip1 2 ปีที่แล้ว

      @@contempoarycode5710 thank you i had the same problem

    • @cutterXXX123
      @cutterXXX123 2 ปีที่แล้ว

      @@contempoarycode5710 Thanks for the info, but I had to lower the order to -1 to see it before the animation Copy/Paste then after I had to add to it put it at 2 to see it.

  • @defauldtstudio
    @defauldtstudio ปีที่แล้ว

    Always helping the beginners, love it! I've learnt a lot from you over the past few years. Thank you

  • @EzyoMusic
    @EzyoMusic 2 ปีที่แล้ว

    Great tutorial! I wanted to add sounds to the crates falling and the monsters dying, so I did. I even managed to scale the volume of the crates falling to the impact velocity.

  • @ZemZem
    @ZemZem 3 ปีที่แล้ว +19

    "I'll read through the entire thing really fast and agree on it"

  • @thisisraaain
    @thisisraaain 3 ปีที่แล้ว +15

    Me : do everything correctly
    Unity : no
    Edit : Thanks For 11 Like ❤️

  • @jamesmoore2223
    @jamesmoore2223 ปีที่แล้ว +1

    This is genuinely the best youtube tutorial ive ever watched (and i watch a lot of youtube!)

  • @joshmarshall9469
    @joshmarshall9469 ปีที่แล้ว +1

    Thanks so much for this tutorial! By far the easiest to follow, feels like I'm understanding a lot of what's happening!

  • @justforsavingclips3785
    @justforsavingclips3785 3 ปีที่แล้ว +10

    If you are tired of removing 'private' at the start of functions, go to tools>options>Options for Unity>General>Code edition>Unity messages scope and set it to default
    Edit: Do this in Visual studio not unity

  • @ascoider
    @ascoider 3 ปีที่แล้ว +3

    You should add the 1:25:17 moment: "Uh... beautiful"

  • @plumserve
    @plumserve 3 ปีที่แล้ว

    Just finished the tutorial and my game, thanks for the excellent instruction, I am looking forward to doing a lot more with it now!

  • @aroldo1959
    @aroldo1959 2 ปีที่แล้ว +2

    Jason, Happy New year! Awesome Tutorial! For users on Unity 2018.4 and up after they import the Cinemachine, the Cinemachine menu option moved under the GameObject menu. There you can add the 2D Camera.

  • @clyded8404
    @clyded8404 3 ปีที่แล้ว +11

    U know wat I'm in quarantine I'm bored af and I dont have any skills might aswell turn on the pc and make a game

    • @techstacker5361
      @techstacker5361 3 ปีที่แล้ว +3

      Of course you have skills, you just need to unlock them, and learning game dev is an excellent tool for that 💪

    • @Sminlek
      @Sminlek 3 ปีที่แล้ว

      Did the same but for when I broke my leg. It is such a fun skill to have.

    • @pants1403
      @pants1403 2 ปีที่แล้ว

      You'll have no skills if you don't go out and seek them. Same goes for many things in life. People aren't just naturally good at everything, they work for it.

  • @aze7900
    @aze7900 3 ปีที่แล้ว +2

    Hey when i do all the coding I've checked it multiple times the spelling is all right and there's no errors my bird dosen't seem to turn red then white. I am on visual studio community 2019 btw but on unity version 2020 does that make a difference

    • @TheGoldspring
      @TheGoldspring 3 ปีที่แล้ว

      Did you forget to make a reference to SpriteRenderer? Meaning, do you have this line under Awake()? _spriteRenderer = GetComponent();

    • @yuuta6563
      @yuuta6563 3 ปีที่แล้ว

      I have teh same problem. I've tried with Unity 2019 and 2020, and both did not work.

    • @ahtdejonge
      @ahtdejonge 3 ปีที่แล้ว

      It does not matter which version of visual studio you are (2017 or 2019) as long it is setup correctly in unity he shows where to do it (I Believe). What I had is that I eighter missed him telling to add the Bird script to the Red Bird or he did not mentioned it all. I didn't bother to go back to check which it is. This might be the problem you have.

    • @yuuta6563
      @yuuta6563 3 ปีที่แล้ว

      @@ahtdejonge He forgot to talk about adding the bird script and only mentions it during another step. That was indeed the issue (at least for me). I figured it out by reading some other people's comments shortly after I had the problem, but forgot to say it here.

  • @vrajsavani
    @vrajsavani ปีที่แล้ว

    Absolutely brilliant tutorial! I was a newbie at the start and now I have a basic understanding on how to make 2D games. Thanks 👍

  • @dimaisatree
    @dimaisatree 2 ปีที่แล้ว

    Thank you so much for providing this tutorial for free. Even tho the video is loaded with ads (not too many) I still am happy to support the channel by watching them, it’s the east we can do.

  • @IGNACY-fp8zo
    @IGNACY-fp8zo 3 ปีที่แล้ว +3

    The bird sets the three second timer every time it collides, meaning that sometimes when you pull back on it after it resets the first time it will "lag" and reset a second time mid-air. Does anyone know how to fix this?

    • @Yaybuttons898
      @Yaybuttons898 3 ปีที่แล้ว +1

      Same is happening to me lol did you ever figure it out?

    • @IGNACY-fp8zo
      @IGNACY-fp8zo 3 ปีที่แล้ว

      @@Yaybuttons898
      I began the timer on “OnMouseUp” (when you launch the bird) instead of on every collision so that it only registers one reset instead of multiple

    • @Yaybuttons898
      @Yaybuttons898 3 ปีที่แล้ว

      @@IGNACY-fp8zo ah ok, I figured my problem out, I had the coding in the wrong spot lol.

    • @PeterJohnson76
      @PeterJohnson76 3 ปีที่แล้ว

      @@IGNACY-fp8zo Since making that change, it now causes my bird to reset mid air... I occasionally have a glitch whereby when i pull back on the bird, it dops off and I have to re start pulling back on the bird

    • @IGNACY-fp8zo
      @IGNACY-fp8zo 3 ปีที่แล้ว

      @@PeterJohnson76
      That’s really strange.
      Are you sure you have the timer in the proper spot? Play around with that. An important skill in programming is being able to troubleshoot like that.

  • @ravimadhavi2006
    @ravimadhavi2006 3 ปีที่แล้ว +17

    44:48 My Bird is still not Changing color please tell how can i fix this

    • @thepotatoemaster6865
      @thepotatoemaster6865 3 ปีที่แล้ว +14

      click on your bird press "add component" and go to the bottom and press "add script" then choose the script you will use

    • @homestar99
      @homestar99 3 ปีที่แล้ว +3

      @@thepotatoemaster6865 you sir just saved me, thank you!

    • @thepotatoemaster6865
      @thepotatoemaster6865 3 ปีที่แล้ว +2

      @@homestar99 np!

    • @ravimadhavi2006
      @ravimadhavi2006 3 ปีที่แล้ว

      @The Potate Master Thanks a lot sir , i also thought that could be the mistake because in The video in the component panel thing the script was added i also thought that could be the mistake but didnt know how to add the script THANKS A LOT SIR !!!!

    • @timothygiese6726
      @timothygiese6726 3 ปีที่แล้ว +7

      I had your same issue and followed the same advice. When it didn't work I learned a very important lessor. I had messed with the Simulated checkbox to see the effects for myself and left it off. Note: An object that is not Simulated apparently cannot be clicked on. Figured that might help anyone else who has that issue and did the previous already.

  • @artianrika8329
    @artianrika8329 3 ปีที่แล้ว

    Thanks Jason for this awsome tutorial, we are waiting another amazing tutorial like this!!

  • @bushcraftkidest4435
    @bushcraftkidest4435 3 ปีที่แล้ว

    I love this! I have been looking around and ALWAYS they don't explain the coding part. Preach!

  • @ScuffedCubing
    @ScuffedCubing 3 ปีที่แล้ว +6

    my bird still falls when i have his code though 41:11

    • @antunnutna2376
      @antunnutna2376 3 ปีที่แล้ว +4

      Hey man check your Body type mine was set on Dynamic and it should be on Kinetic!!! Try if that helps!!!

    • @shaggythehippy7239
      @shaggythehippy7239 3 ปีที่แล้ว

      @@antunnutna2376 Thanks, because I had the same question

    • @antunnutna2376
      @antunnutna2376 3 ปีที่แล้ว

      @@shaggythehippy7239 hey also check if your code is attached to the bird!!! Mine wasnt and that was the main issue!!!

    • @shaggythehippy7239
      @shaggythehippy7239 3 ปีที่แล้ว

      @antun nutna Yeah I noticed when I did the second part with the OnMouseDown that it didn't work and I zoomed in the video if there were something missing. Thanks for the heads up!

    • @simonkok9154
      @simonkok9154 3 ปีที่แล้ว

      @@antunnutna2376 thanks man

  • @shadowninja1182
    @shadowninja1182 3 ปีที่แล้ว +3

    i keep on asking questions and then I got back to unity and do something and then I immediately find the answer of my question and then delete the comment

    • @Daniel-kp1lz
      @Daniel-kp1lz 3 ปีที่แล้ว

      Why would you delete the comment? other people can use your questions to find help solving the same issue if they run into it.

  • @sheldon123ize
    @sheldon123ize 3 ปีที่แล้ว

    Also not sure if anyone pointed this out but if you want to have your birds rotation to fix without just freezing the rotation just add
    _rigidbody2D.rotation = 0;
    under your WaitForSecond() function
    (also i put it under line 63, dont know if it makes a difference but just in case you want to do it exactly the same)
    I'm relatively new to coding but was quite happy when i just randomly decided to try this and it worked...
    Thanks Jason you're the most comprehensive tutorialist I've found.
    Hope this helps anyone who is finicky about this stuff like I am lol.

  • @sn0man
    @sn0man 2 ปีที่แล้ว +1

    Thanks man, you were able to break things down for me as a complete new comer. First video that got me breaking through!

  • @veganguyusa2287
    @veganguyusa2287 3 ปีที่แล้ว +3

    who came from brackeys?

  • @1of1lingo10
    @1of1lingo10 ปีที่แล้ว +1

    i’m just starting with game dev/coding with unity which can obviously be very confusing from scratch. This is a great tutorial to get started and kinda help you learn the basics.. i do suggest even after following the full tutorial you go in and mess with some new assets yourself good luck!

  • @HFODT
    @HFODT 3 ปีที่แล้ว +2

    This is an awesome tutorial, you are really good at explaining this stuff!

  • @ramonfe
    @ramonfe 2 ปีที่แล้ว

    Great Tutorial, thank you for all your great tips, I already toke another courses and didn't covered what you explained here, thank you again your time and to make the process Fun.

  • @acs-shannonmariebaker5735
    @acs-shannonmariebaker5735 3 ปีที่แล้ว +1

    I have learned so much from two videos! I not only created level 1 and 2, but I also added level 3 and completely put a border around the levels because the bird would fly off and go on forever. I made a wall.png in Jasc PSP 9 and rotated it to be a top image. I added them with 2d box coll and it's good to go! I also completely made my own character that is animated. I'm an old skool animater/image creator lol since like 99. I just never got into this. Sending you an email! I'm super stoked for what I learned! Thank you sooooo Much!

  • @mysticgaming3066
    @mysticgaming3066 3 ปีที่แล้ว +1

    TYSM Jason I Have been wanting to become a game dev for like 2 YEARS!

  • @fabiano8888
    @fabiano8888 3 ปีที่แล้ว

    I'm almost finishing this tutorial, and for the first time I feel confident enough to know that I can do that. I just need a little push on how to think more logically, so I would know what probably the next line of code would be on my own.

  • @47eris
    @47eris 3 ปีที่แล้ว

    Thank you very much! I am in the half of the video, this far it's been so great! =)

  • @Oxmond
    @Oxmond 3 ปีที่แล้ว +1

    Wow! What a tutorial! Well done Jason! 👍🤓🧡

  • @johnphillips8600
    @johnphillips8600 3 ปีที่แล้ว +2

    I'm so glad to have seen another video like this! Thank you, the creation process is always so interesting and as I stated before, more content like this is just

    • @davidtyas2249
      @davidtyas2249 2 ปีที่แล้ว +1

      "Apritate" sounds quite funny.

  • @alannatakuatoong9633
    @alannatakuatoong9633 3 ปีที่แล้ว

    Its like a school computing class but Im actually going to use this in my life. thank you so much if I ever grow ill recommend this vid

  • @sweetgames6767
    @sweetgames6767 2 ปีที่แล้ว

    Thank you Mr. Jason for this tutorials, it helps me to understand some basic of unity...ect

  • @amikawi
    @amikawi ปีที่แล้ว

    Super helpful refresher on how to use the Unity UI. Thank you!

  • @geets5780
    @geets5780 3 ปีที่แล้ว +1

    Finally I have successfully completed a Unity Series
    Awesome
    Thank you

  • @subharanjanghoshal5597
    @subharanjanghoshal5597 2 ปีที่แล้ว

    Thanks a lot Jason, this is really a great tutorial. Explained every detail with so much positive energy. Just one thing I couldn't find is how to create those white circles which show the path of the bird being dragged. This was displayed at the beginning of the tutorial but was not covered within it.

  • @pragyagupta7672
    @pragyagupta7672 2 ปีที่แล้ว

    Awesome most ! Please continue posting the Unity C# different variety of Games, its really helping Kids turning from Game player to Game developer ! New Year & Best Health regards !