The Unity Tutorial For Complete Beginners

Поделиться
HTML-код
  • Опубликовано: 27 апр 2024
  • 🔴 Get bonus content by supporting Game Maker’s Toolkit - gamemakerstoolkit.com/support/ 🔴
    Unity is an amazingly powerful game engine - but it can be hard to learn. Especially if you find tutorials hard to follow and prefer to learn by doing. If that sounds like you then this tutorial will get you acquainted with the basics - and then give you some goals to learn the rest by yourself.
    The tutorial covers everything from installing Unity, to writing your first ever line of programming code, to creating UI, to building an executable game file you can share with friends. No experience is needed.
    === Files and Downloads ===
    Assets - www.dropbox.com/sh/h5vez7ltgb...
    Scripts - pastebin.com/QiLkpeJe
    Unity Project - github.com/Britishgaming/GMTK...
    === Sources and Resources ===
    (1) Time.deltaTime - docs.unity3d.com/ScriptRefere...
    (2) Instantiating Prefabs at run time - docs.unity3d.com/Manual/Insta...
    (3) Object.Destroy - docs.unity3d.com/ScriptRefere...
    (4) Debug - docs.unity3d.com/ScriptRefere...
    (5) ContextMenu - docs.unity3d.com/ScriptRefere...
    (6) OnTriggerEnter2D - docs.unity3d.com/ScriptRefere...
    (7) GameObject.FindWithTag - docs.unity3d.com/ScriptRefere...
    (8) GameObject.GetComponent - docs.unity3d.com/ScriptRefere...
    (9) OnCollisionEnter2D - docs.unity3d.com/ScriptRefere...
    (10) AudioSource - docs.unity3d.com/ScriptRefere...
    (11) PlayerPrefs - docs.unity3d.com/ScriptRefere...
    Recommended Videos and Channels
    Brackeys - / @brackeys
    Tarodev - / @tarodev
    Game Dev Guide - / @gamedevguide
    Samyam (Best New Input System Tutorials) - / @samyam
    Learn C# with these 9 lines of code - • Learn C# with these 9 ...
    === Chapters ===
    00:00 - Intro
    02:26 - Installing Unity
    03:42 - Step 1 - Unity UI
    06:49 - Recap
    07:11 - Step 2 - Physics and Programming
    15:30 - Recap
    16:09 - Step 3 - Spawning Objects
    27:52 - Recap
    28:32 - Step 4 - Logic and UI
    37:12 - Recap
    38:00 - Step 5 - Game Over
    43:31 - Next Steps
    === Credits ===
    Music provided by Epidemic Sound - www.epidemicsound.com/referra... (Referral Link)
    === Subtitles ===
    Contribute translated subtitles - amara.org/videos/SsFnt050CEaU/
  • ИгрыИгры

Комментарии • 5 тыс.

  • @GMTK
    @GMTK  Год назад +2229

    If Visual Studio is not automatically suggesting code for Unity, please follow these steps:
    In Unity, go to Edit - Preferences.
    Under External Tools, pick Visual Studio from the "External Script Editor" dropdown.
    Then completely shut Visual Studio, and open it again by double clicking a script in Unity.
    It should now suggest code as you type!

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

      I will try this now, thank you :)

    • @purty9028
      @purty9028 Год назад +20

      I know you are probably mad busy so apologies in advance, but I tried both varients and even replaced the O with a 0 just in case it was a zero for some obscure reason, I think the problem may be that when I downloaded visual studio it wasn't the same as when you did it in your video, I think they might have changed something because visial studio isn't optional now and also where you said tick game development with unity, that option wasnt there at all, that screen didn't happen when installing at all for me, also neither was the tick box to get unity hub (I already have it so that's not so important), so yeah I think something has changed, probably not a massive deal if you are a seasoned game dev but I'm just starting out and i don't even know how to find the words to describe what I don't know aha, so thank you for being patient and helpful, and again sorry if this is at all vague, I'm trying to be as specific as possible

    • @purty9028
      @purty9028 Год назад +14

      The script didn't change the birds name even when I type it exactly the same as you did, also there is a drop down menu as I type but with none of the things on it that yours show and as soon as I put a . on the end the list dissapears alltogether, again, apologies if you are super busy, I don't really know who to tak to, so maybe if you know of a good forum or somewhere I could research/ask?

    • @lolnein7216
      @lolnein7216 Год назад +14

      I really wish there was such a tutorial for adobe premiere or whatever you use for making your videos

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

      The 3rd will show error if you do gameObject.FindGameObjectWithTag and not GameObject.FindGameObjectWithTag
      GameObject with capital G

  • @fallbranch
    @fallbranch 9 месяцев назад +1053

    Jeez. I just burst out laughing. I added physics. You said the bird will fall down, but instead it floated up like a balloon. Turns out I added physics to my camera, and it fell off the stage,

    • @Brook_rudy
      @Brook_rudy 3 месяца назад +19

      🤣

    • @laylakhalili3182
      @laylakhalili3182 2 месяца назад +8

      😂😂😂😂

    • @adventureboy444
      @adventureboy444 2 месяца назад +6

      XDDD

    • @_ash64
      @_ash64 2 месяца назад +4

      XXDXD im ded

    • @doodle_pug
      @doodle_pug 2 месяца назад +20

      OMG I did the same thing and was scratching my head for about 20 minutes before I saw you message lol

  • @radicaltophatguy
    @radicaltophatguy 6 месяцев назад +253

    Honestly, this is what programming tutorials should be. A simple step-by-step video, split into chapters, and explained using recognizable visuals and representations. Keep up the amazing work!

    • @omerlikos2549
      @omerlikos2549 3 месяца назад +1

      its the words he used that made it all make sense. Its more than visuals and structure. He understands quality :)

  • @ruthminikuubukaburi4507
    @ruthminikuubukaburi4507 7 месяцев назад +170

    I'm 11 years old and I followed your tutorial and was able to make a game.

    • @rottenmouldybrain
      @rottenmouldybrain 7 месяцев назад +9

      And you learned nothing.

    • @amazeinggames
      @amazeinggames Месяц назад +74

      @@rottenmouldybrain Apparently you did too, not about Unity though, just about what it means to be a decent person

    • @rottenmouldybrain
      @rottenmouldybrain Месяц назад +1

      ​@@amazeinggames Who are you to tell me what person i am? Go and look in a mirror first.

    • @Rikka-Chama
      @Rikka-Chama Месяц назад +31

      @@rottenmouldybrain bro speaking from experience fr

    • @detectiveblocks
      @detectiveblocks Месяц назад +3

      im 12

  • @michaelcooper9554
    @michaelcooper9554 Год назад +1892

    I'm a school teacher that uses Unity for our game dev class. This is possibly the best introductory tutorial I have ever seen. All the fundamentals covered in a short, easy to understand manner that gives a learner a viable end product to show off, and ideas for further development and learning. Amazing work Mark.
    EDIT - 06/02/2023 - WIll be using this tutorial as part of a Unity introduction for my game dev class, will report back how the students go with it!
    EDIT 12/07/2023
    Did a survey with the students at the end of course, asked about this video tutorial, here are the results
    Average rating out of 5 (rather unscientific question) - 4.13
    What the students said:
    It was very fun and exciting to see a game which you coded work.
    Straight forward and helpful for clueless beginners.
    The tutorial is very clear and easy to follow
    Straight forward and very helpful.
    It was easy to listen to, no overcomplicated steps and enjoyable to do.
    thought I wasn't here for most bit, he could of have been more specific about certain settings and what we were meant to do (not shown in the video)
    Nice voice and good for beginners.
    Very organized and it a great transcendence
    Easy to understand and follow.
    Good experience to learn more about game programmings.
    It's detail and easy to understand
    I think its pace and information is good for beginners for their unfamiliarity with coding
    It was pretty good, the only thing that kind of threw me off was his strong accent.
    Excellent pacing which gave the time for you to work on it, and took the time to explain the purpose of each function
    straight forward and easy to understand and complete
    It very gud
    it was simple and good
    It was good for a starting tutorial for flappy bird.
    the tutorial was good, but there was a lot that had to be explained outside it.
    Should have more explaining on the code.
    It's long but it helps you understand a lot of stuff

    • @alex.g7317
      @alex.g7317 Год назад +7

      Which school?

    • @michaelcooper9554
      @michaelcooper9554 Год назад +65

      @@alex.g7317 a school in Melbourne, Australia

    • @cltran86
      @cltran86 Год назад +76

      I wish there was game dev classes when i was in school. Had to self learn like a chump :/

    • @fyx8248
      @fyx8248 Год назад +64

      hi Mr Cooper

    • @sushi_2828
      @sushi_2828 Год назад +26

      @@fyx8248 💀

  • @CodeMonkeyUnity
    @CodeMonkeyUnity Год назад +1240

    Really great overview of the basics coupled with the usual excellent editing! Nice!
    Some more advanced concepts for anyone who wants to keep learning to the next level:
    - Naming Rules: They can be whatever you want, as long as you are consistent. Unity already uses PascalCase for functions so you should write your own functions with PascalCase as well in order to avoid Start, Update with one naming rule and custom functions with another.
    - Magic Numbers: Using numbers directly in the code can make it really tricky to remember what they mean when you return to the code after a few weeks.
    For example at 12:15, what does that "10" mean? As you are writing the code obviously you know what it means, but you will forget that meaning after some time. So instead of using magic numbers you should always give it a proper descriptive variable name. If you just use the value in that one place you can make it a local variable.
    You can see the huge difference with regards to code readability once Mark changes it to a variable, the code is much easier to understand. When you come back to that code 1 month from now there's no need to remember what "10" meant since it uses a proper variable name that clearly explains what it does.
    More info on Magic Numbers: ruclips.net/video/CQ5xHgRZGQo/видео.html
    - Making everything public: When you make something public you are allowing that field to be both read and written to from anywhere in your entire codebase.
    For example at 11:08 the Rigidbody is public but you don't want another random class to randomly modify that field. If you had another script that set that field to null while the game was running then everything would break. With the field set as public there is nothing to stop that from happening.
    So the better approach is to make it private, that way only that class can read and write to that field, no other class can modify it in any way. Good programming is all about minimizing complexity, the more you limit how accessible something is the easier it is to understand, you don't need to keep in mind your entire codebase since only the code in that class can read or write that field.
    So in that case you have two better options, you can make it private, but then you can't drag the reference in the inspector. Since the Rigidbody is on the same object you can grab the reference with GetComponent(); that's one approach.
    Another approach is make it private but add the attribute [SerializeField] this lets you make a field private so it's not accessible from any other class but it is accessible from the Unity editor. So with that you can drag the reference in the editor directly.
    More info on why you should NOT make everything public ruclips.net/video/pD27YuJG3L8/видео.html
    - Tags: They are strings and Strings are very error prone so you should really not use them, if you write "logic" instead of "Logic" it will break, if you write "Logic " it will break, "Iogic" "L0gic", etc. Just looking at it they all look correct and the code doesn't give off any errors, but when you run the game everything will break and it will cause you a lot of headaches. Instead of Tags either drag the reference directly or use the Singleton pattern.
    More on why you should avoid strings: ruclips.net/video/Q8n1uFTG97s/видео.html
    - Updating UI State: As I mentioned the main goal with good programming is minimizing complexity. In order to do that one of the best concepts is decoupling. You want your scripts to be as separated from everything else as possible, you want to limit interconnections as much as you can.
    So for example for updating the UI, 35:35 you should not have the Pipe Logic class tell the UI class what to do, that way the scripts are tightly coupled. If you remove the UI from the project everything will break because the Logic class expects the UI to exist.
    One excellent C# feature that really helps solve this are Events. This is how you can define an event, like OnPassedPipe which you could define on the Bird class, and then you fire that event whenever you want. Then some other class, like the UI class, can listen to that event and do whatever logic it wants, like updating the score text.
    That way the UI class would be completely decoupled from the Bird class. You could remove the UI and the code would still compile because they are not directly connected.
    Same thing for the GameOver logic, the Bird should fire off some kind of OnDead event which the GameOverScreen would listen to and show itself.
    Here's some more info on C# Events ruclips.net/video/OuZrhykVytg/видео.html
    - Text: Unity has two Text systems (which itself has two components for both UI and World)
    Mark mentioned it at 43:21 how the Text used in the video is the Legacy text which is extremely limited so nowadays you should instead use TextMeshPro
    In the code, instead of using UnityEngine.UI; you use using TMPro;
    For the field instead of Text you would use TextMeshProUGUI for UI Text and TextMeshPro for World text.
    - Input: With regards to Input, the new Input System is indeed much more capable but for learning and quickly making something using the legacy Input Manager is still an excellent option, it's what I use when I'm just making a prototype since it's very easy to use.
    If you want to learn more about the new Input System I covered it here ruclips.net/video/Yjee_e4fICc/видео.html
    - Render Pipelines: Mark quickly selected the 2D template and started making the game, this template uses what is called the Built-in Render Pipeline
    This is the render pipeline that Unity has had for years, it works great but nowadays you have two other options
    HDRP or the High Definition Render Pipeline which is the render pipeline you want to use if your game is pushing visuals to their limit.
    URP or the Universal Render Pipeline, this is the option you should probably be using nowadays, you have many more features like 2D lights, Shader Graph, etc.
    There are other Templates that you can download which come with the Render Pipeline already set up.
    In most cases nowadays you should be using URP, it's what I always use in my videos and its what I'm using in my upcoming Steam game Total World Liberation ruclips.net/video/6DGDWfPdn3w/видео.html
    - Unity Versions: In the beginning Mark downloaded the version that was automatically selected which is indeed the one you should be using, but if you search you might see some more versions, here's how they are organized.
    You have TECH, these are the more recent versions, right now it would be 2022.1, you should only use these when you have a specific feature you want to play around with that only exists in this version, or if you're making a game that is 1+ years away from release.
    ALPHA, BETA, as the name implies these are the upcoming versions and are not guaranteed to be extremely stable, so only use these when trying something on the bleeding edge.
    For 99% of cases you should use the version it automatically selects which is the LTS or Long Term Support version. So right now you should be using 2021.3 LTS, and in about 6 months you can use 2022.3 LTS
    More on Unity versions ruclips.net/video/LLYhTWEX2Wc/видео.html
    Great job with the video! I'm sure this will help tons of people on their game dev journey!

    • @LookjaklooK
      @LookjaklooK Год назад +45

      This should be pinned!

    • @gaboandres
      @gaboandres Год назад +18

      The Render Pipeline you will need will depend on what you want to do. For Android (mobile devices and Oculus Quest) URP performs worse than Built-In and visually for standalone VR it looks worse too. URP is only better for PC and console games so I don't agree that you should always use URP.
      All the other tips are really great and I actually learned some things I didn't know so thanks!
      It looks a bit spammy with the links, but still, thanks! 😅

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

      Thanks for the extra info, I'm sure other Unity beginners like me appreciate it just like I do

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

      @@austinh1242 Yup. Greatly appreciate the information.

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

      @@martinofontana1275 Funnily enough, the “== true” is actually omitted at 13:52, so I’m guessing that portion was intended as more of a “teachable moment” about the difference between = and ==

  • @Chodor101
    @Chodor101 Год назад +2217

    RUclips gods decided that I shall watch this, who am I a mere mortal to judge their decision.

  • @HyperAnimated
    @HyperAnimated 3 месяца назад +321

    This is hands down one of the best tutorials on anything, ever, that I have ever watched. It's clear, understandable, well paced, and after 18 years of programming in Adventure Game Studio, taught me new things not just about programming, but about how to think about programming.
    No exaggeration - it's been a rough few days for me. I suffer from severe depression and a lot of it is centered around creativity. I was preparing to give up on Unity entirely today, decided to try one more time to find a tutorial that wasn't confusing or that failed to work the way the creator said it did, and finally found yours. I've gone from wanting to cry to doing dances in my chair as I learned new things. I even accidentally broke something midway through and was able to figure out how to fix it using the things you taught me.
    THANK YOU. So much. I'm going to include a dedication to you and this tutorial in my first Unity game release.

    • @its_nuked
      @its_nuked 3 месяца назад +4

      Much agreed, and good luck yo! Same here >;D

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

      I just want to say that you have a perfectly good and sane reason to be depressed with the state of the world as it is, you are not alone and it will get better with conceptual maturity.

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

      Thank you for this comment, really encourages me to watch the video :) good luck

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

      we out here bro thanks for sharing

    • @proHDpas7608
      @proHDpas7608 Месяц назад +1

      i feel you bro

  • @officenerd
    @officenerd 7 месяцев назад +22

    Dude, I also don't comment often on videos, but I came here to say thank you. I've watched a lot of game development tutorials, and they all convinced me that it's not for me. Thanks to you, I created my own first game, even though it's a clone of Flappy Bird. Now my daughter is playing it and having lots of fun, and I'm watching her enjoy it, feeling like a dream come true. Thank you.

  • @kristianthaler6525
    @kristianthaler6525 Год назад +382

    I've been learning for 2 years now, but I still like to come back to videos like this take some pride in knowing I've passed all these hurdles. If you are reading this and just starting out, keep pushing forward and you will be rewarded in the future.

    • @noninterestingname334
      @noninterestingname334 Год назад +16

      Five minutes in and already 4 errors

    • @kristianthaler6525
      @kristianthaler6525 Год назад +16

      @@noninterestingname334 lol just wait until you write a line of code that crashes the editor on play. That's how you really know you made it.

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

      @@kristianthaler6525 you gave me the motivation to keep on coding and creating THANK YOU

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

      how can i increase the speed of the game as score goes high. i tried following tutorials but they are too complicated(for noob like me )

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

      @@kristianthaler6525 Bro if your are learning for 2 yr then now what are u doing like job, freelancing or anything else

  • @jonasgajdosikas1125
    @jonasgajdosikas1125 Год назад +1141

    quick tip:
    you probably don't want to set variables to public just to see them in the inspector (that creates a danger that you unintentionally change them somewhere else in the code). A much better practice is to prefix private variables you want to expose to the inspector with "[SerializeField]"

    • @noisemaker0129
      @noisemaker0129 Год назад +65

      Yes. This is also something I wish I knew years ago... Inspector management is so important.

    • @kabrol22
      @kabrol22 Год назад +79

      Definitely not, but for your first project it's probably fine. Most people learn this stuff later on in their development journey and apply them to more serious projects. At least that's how it was for me.

    • @KeenanWoodall
      @KeenanWoodall Год назад +108

      This is good practice yes, but as this is a tutorial for absolute beginners I don't think it's necessary to muddy the waters these kinds of instructions. Best to stick with the essentials imo

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

      Yeah, this is general programming advice. The fewer place you're able to change variables in, the better it usually is. It's especially important if you're not the only one writing the code.
      It's about creating good habits, like writing reasonably clean code, commenting, and other things. It's not necessarily something you need to start with. I mean, you need to know how code works and what the difference between a public and a private variable is in the first place.
      But it's like step three or something in learning how to code. First you learn how to make things work at all on a very basic level, which is what this video is about. Second you learn more about what it is you're actually doing and what tools you have to pick from. Third is learning when to use what tools, such as public and private access modifiers, and how structure everything. You can incorporate the third into the first two parts, but that usually requires following tutorials more strictly or learning from actual teachers.
      Of course it's not the only way to learn things, but it's what I think works best.

    • @aarondcmedia9585
      @aarondcmedia9585 Год назад +19

      Changing variables is for the weak and the indecisive! So are comments in code!! Once you set a variable you should commit to it like Kahless at the battle of Three Turn Bridge.
      Petaq!

  • @nakamizakeyuuki8157
    @nakamizakeyuuki8157 Месяц назад +2

    I cannot express how much this was important to me. Was looking on every video that I could find, but no one was so good as you were to explain the basics of Unity this well. Really, thank you my man!!

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

    Thank you so much Mark. I watched this about 6 months ago and now I code games in Unity. I would have never started to make games. Recently I watched your videos about Mind over Magnet and I love how you present your work. It's amazing and I really appreciate that you helped me to build my own games.

  • @Luke_Dude200
    @Luke_Dude200 Год назад +258

    I don't know if I'll ever use this tutorial but I really love how this channel has been getting into making games and helping other people with that journey as well

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

      I clicked on this thinking I wouldn't get back into game dev, but now I'm inspired lol. Might try and drag some friends in with me this time around!

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

      Honestly, for me at least, I’ve always tried to start making games, got into Godot and unity before but couldn’t ever figure it out. I’m in my third year of software engineering and still couldn’t grasp how to use the engines. Mark’s tutorial was a real blessing. I feel really confident that I actually learned something and that I can even make something of my own now! It was easy, fun and just overall a nice experience instead of those 20+ video series I used to watch with each episode having 30+ mins
      I’d say, give it a try. Especially if you have a programming background. But even if you don’t, this is still so nice

  • @felikowski
    @felikowski 11 месяцев назад +963

    I rarely give a comment on videos, but as a programmer (for about ~10 years) with no experience in game development yet, i must say: it was really nice to watch how you entered the challenge of rebuilding flappy bird. You just engineered the different requirements troughout the video, which is just what a programmer will do! Also, the hints on how to organize the code and so on where really on point! Great work!

    • @gewroo
      @gewroo 11 месяцев назад +1

      +1 to this, exactly the same feeling. Well said.

    • @stuntfax9004
      @stuntfax9004 10 месяцев назад +1

      @@gewroo it isnt letting me import an asset im pressing import nothing hppened

    • @vt-bv4lw
      @vt-bv4lw 9 месяцев назад +1

      Hello, I see that you understand how everything works more or less, could you help me with something small? When I write code in visual studio, I don't see many options to complete the code. Do you know how to fix it?

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

      @@vt-bv4lw
      Fix Visual Studio Autocomplete/Intellisense in Unity - (2022, 2019, 2017)

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

      > You just engineered the different requirements troughout the video, which is just what a programmer will do!
      But that's not a good thing.

  • @tertle950
    @tertle950 7 месяцев назад +72

    Can't wait for "The Godot Tutorial For Complete Beginners" now that Unity is charging for installs, paid for or otherwise

    • @theelysium1597
      @theelysium1597 7 месяцев назад +6

      This.

    • @Bigblackhawk123
      @Bigblackhawk123 7 месяцев назад +3

      Hopefully they tone it down cause I’m way to familiar with unity now.

    • @SadlekAski
      @SadlekAski 5 дней назад

      Unity have said they are declining thing that they made and will not charge for installs

    • @tertle950
      @tertle950 4 дня назад

      @@SadlekAski The fact they ever considered it should be a huge wake-up call to avoid proprietary engines

  • @user-nv3xi8mz7u
    @user-nv3xi8mz7u 3 месяца назад +1

    thoroughly impressed with your introduction to not only Unity but basic coding as well! great job man, this was massively helpful

  • @nemocaligo8909
    @nemocaligo8909 Год назад +162

    You are an amazing educator. Being able to teach this much, in such a pedagogical way, in barely 40 minutes, is something worth admiring. Thank you for being you, ❤

  • @lucasfogaca555
    @lucasfogaca555 Год назад +243

    As a gamedev myself, gotta say this is near perfection. Mark was able to compress hours of tutorials in a solid, nicely formatted, 40 minutes of pure and useful information. Got the perfect balance between just glimpsing all of Unity's potential and also presenting lots of content and quirks that only experienced people will get. My advice for those who want to get into this world would be to follow the steps as Mark describes them, side by side in your PC. That's the best way to actually learn. And as a few concepts he presented are a bit harder to get, would be a good idea to rewatch the video as you go in the learning process. That will show you how much you did evolve.
    As always, great video, Mark! Thank you!

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

      I need help, it says ‘ all complier errors have to be fixed before you can enter play mode!

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

      @@sethezard6837 click "window" upscreen, and select "console". In this new window, will be shown useful information about your code, including bugs you have to fix before you can actually play the game. Also, search about debug. It will save ages of dev time in the future

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

      Offtopic
      But can I ask you from where your profile pic comes?

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

      @@KitsuneFaroe like the foxes huh? Me too lol
      This one is a built in pic in google account. When creating mine, this pic did catch my eyes.

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

      @@lucasfogaca555 oh didn't knew there were built-in pics in Google! Forgot about that. And thanks!.
      Foxes are just the best!

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

    This is a beautiful way of giving an overview of the engine without delving too deep into the concepts. It touches the basics but isn't too long that it leads to boredom. Thank you very much for this wonderful video.

  • @symfo
    @symfo Год назад +410

    Just wanted to say after hours and hours of tutorials that never stuck, your 30-second description of what a game object is finally cemented how Unity works for me. Followed the video all the way through, opened a new project, and 3 hours later I had a simple prototype for my game jam game. Incredible stuff.

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

      🎉congrats!

    • @Mr.BananaIsKool
      @Mr.BananaIsKool 11 месяцев назад +1

      Niceee, Id also describe a game object as a blank png which you can put anything onto.

    • @stuntfax9004
      @stuntfax9004 10 месяцев назад

      it isnt letting me import an asset im pressing import nothing hppened

    • @DarknDeep
      @DarknDeep 10 месяцев назад

      Didn’t you make a game and show it on TikTok?

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

      drag n drop@@stuntfax9004

  • @austinh1242
    @austinh1242 Год назад +216

    This is probably the best Unity tutorial I have seen to date. I've been wanting to try game development for a while but could never get past the first few steps, so this has been immensely helpful. Great video!

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

      and you heven't watched it

    • @austinh1242
      @austinh1242 Год назад +19

      @@Rangeon I posted my comment partway through because it was already better than most tutorials I've seen. It still holds true after finishing (and I'm actually even more impressed now)

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

      @@austinh1242 okie sorry

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

      @@Rangeon you don't have to apologize lol you're totally fine

    • @stuntfax9004
      @stuntfax9004 10 месяцев назад

      it isnt letting me import an asset im pressing import nothing hppened

  • @muselist
    @muselist 4 месяца назад +13

    I feel pathetic admitting this, but as someone with severe ADHD and struggling with game dev, this video honestly made me cry. I understand it, I'm following it, and I'm focused on it (as well as I can be, anyway!). Thank you so much. I cannot believe this is free. You're helping so many people with the work you put into your videos.

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

      Glad it helped! Best of luck with your future game dev!

  • @Oliver-eu1wz
    @Oliver-eu1wz Год назад +556

    I know I'm a bit late to this video, but please please make more unity tutorials. This is by far and away the best one I've come across nothing else comes close to matching the concise and yet in depth way you explain concepts. With other tutorials I feel like I am only learning the outermost surface of a concept with little to no ability to apply it elsewhere. This video was amazing and was edited so so well. We need more content like this

    • @wrampagegamer69
      @wrampagegamer69 11 месяцев назад +2

      yes please make more tutorial videos like this

    • @kraxti4795
      @kraxti4795 11 месяцев назад +2

      oh hell yea. You couldnt describe it better. This video is amazing and helped a ton!

    • @TheDragonamer
      @TheDragonamer 10 месяцев назад

      Hell yes, more Unity tutorials like this would be great!

    • @stuntfax9004
      @stuntfax9004 10 месяцев назад +1

      it isnt letting me import an asset im pressing import nothing hppened

    • @cheesewizard3659
      @cheesewizard3659 10 месяцев назад +1

      ​@@stuntfax9004 i think you have to hit the "import new asset" option

  • @DeadLink404_
    @DeadLink404_ Год назад +139

    This is the greatest unity tutorial of all time. Actually kept my attention span, and I made a pretty neat platformer with just this. Most videos make me zone out within 2 minutes. Thank you for this.
    More videos like this please

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

      bro I got half way through and keep getting some error that I don’t understand/ know how to fix. Spent the last 30 minutes trying to do either one but Idk what Im doing wrong. Guess teaching myself coding isn’t the move lol

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

      @@meady50 if you can tell bit more precisely about the error, someone might be able to help. Eg what exactly do you try to do when error shows up? what does the error say? maybe share timestamp of that part from video?
      Even very experienced people get stuck with such issues once in a while😅, its a part of learning process.

  • @realsilent_
    @realsilent_ 6 месяцев назад +1

    i hardly know anything ab coding but im following along feelin happy everything is working out, and everyone is praising you so you're kinda goated

  • @ytm23ak
    @ytm23ak Год назад +64

    Best lesson I ever learned while doing Unity’s own coding tutorials was “Watch! Then do” a lot of times we’re tempted to try and work line by line along with a tutorial and you end up learning nothing and just following the leader. By watching the whole section and then trying to do it yourself you have to understand how and why you’re doing things!

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

      That is absolutely true! i do this

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

      I caught myself doing that with this video. I had to make myself slow down and rewatch it, because I realized I'd done it but wouldn't be able to recreate it.

    • @SleepyMatt-zzz
      @SleepyMatt-zzz 9 месяцев назад +1

      It also just saves you time in the long run. Can't name the amount of RUclips tutorials I followed, only to be hit with a brick wall because the creator either forgot to mention something or they just presented bad code.

  • @onixbread1431
    @onixbread1431 Год назад +106

    See, this is what we need, tutorials that don't jump around the topic, that not only tell what to do but why you should do it and that uses comparisons to most people can understand. Truly one of the best tutorials out there

    • @stuntfax9004
      @stuntfax9004 10 месяцев назад

      it isnt letting me import an asset im pressing import nothing hppened

    • @wesam-is-cool
      @wesam-is-cool 5 месяцев назад

      @@stuntfax9004 tell the creator of the video not him

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

    Thank you. This is definitely like one of the best get one started tutorials around without any fluff or needless rambling.

  • @westnavarre
    @westnavarre 14 дней назад +2

    Never expected I'd have a Playable game made by my hands on my computer. This was awesome. Thx

  • @hwkeyser
    @hwkeyser Год назад +246

    If anyone hits an error with 35:00 "logic = GameObject.FindGameObjectWithTag("Logic").GetComponent(); " be aware that Unity has both the singular "FindGameObjectWithTag" and the plural "FindGameObjectsWithTag" and the plural autopopulates above the singular (you'll see Mark has to press down 34:43 on the autofill results to select the 2nd option). If you wrote the plural on accident, it wont' autocomplete "GetComponent" and will show that as an error. Just delete that pesky "s" off Objects and you should be all set.

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

      I was facing this error, but to my surprise it still shows an error after fixing this. what am i doing wrong?

    • @FireGloves
      @FireGloves Год назад +19

      Nevermind, I forgot to save my code :]

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

      Mine is not appearing on the autocomplete at all?

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

      @@smokysnow5794 and you have your preferences set to make VC the 3rd party editor?

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

      @@hwkeyser i fixed it nvm

  • @akilumanga
    @akilumanga Год назад +163

    I always "like" videos I watch the moment that I deem them to be really worth watching, and as a software developer with many years of experience and some experience dabbling in unity, this was so good, I went back to the youtube UI with the intention of liking it at least 4 times. This is a really amazing tutorial, and it's not only for people, beginners and otherwise, that hate tutorials. This is indeed, the definitive, first unity tutorial, that I wish existed when I first started using unity.

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

    This is a brilliant tutorial! As a computer science major, I found this easy to understand and very well put together for others with and without a lot of coding experience! Very well done!

  • @I-Maser
    @I-Maser 7 месяцев назад

    Thank you Mark for this amazing tutorial. Knowing some code and having made games with UE i was able to almost completly get started and learn everything i needed for unity. Very well done

  • @varajalka
    @varajalka Год назад +80

    Very good tutorial 👍Here is an extra tidbit of information. Instead of destroying those pipes when they get off screen, turn them off and reuse them instead of creating new ones. This is called object pooling and it is much lighter than creating new ones. This is especially important if you are creating game with lots of objects like for example bulethell type of game.

    • @GMTK
      @GMTK  Год назад +22

      Good tip!

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

      but if you re-use them, won't they have the same Y position, in which case they won't be random anymore? Or you're supposed to adjust the script so it would rearrange pipes after taking them back to the right side of the screen?

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

      @@justpassing2533 I'm not sure if would have that problem

    • @Thomanski
      @Thomanski Год назад +8

      @@justpassing2533 You can just move them back to the right and randomize the Y again with 2 lines of code

  • @Lugmillord
    @Lugmillord Год назад +67

    An addition to this fantastic tutorial:
    There are two different methods for initialization. *Awake* and *Start*
    Use *Awake* so the script can initialize its own values that are independent from other objects / scripts. Use *Start* so the script can get stuff from other components.
    Awake is called for all scripts first and then Start is called for all scripts. However, you *do not know the order* in which the scripts run. This can be an issue if you reference another object during initialization and that other object happens to not have called Start yet. I had some mean bugs because of it.
    Example:
    The car script has a name and a reference to tires. The tire script has a diameter.
    The car script sets a name during Initialization and collects the tires' diameters. The tire script sets a diameter value during initialization. Now, it *could* happen that the car asks the tires what their diameters are before they had actually done their setup and so the car has wrong values. To avoid that, Car.Awake sets the name, Tire.Awake sets the diameter and Car.Start gets the diameters from the tires.
    I wished I had known about that years ago.

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

      If you really have to there's also an option to force a certain execution order between scripts (in Script Execution Order in project settings).

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

      @@sammoore2242 you can? interesting.

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

      @@Lugmillord imo it's kind of a hack - I certainly wouldn't go into a project intending to use it from the start - but it's the kind of thing that can be very useful to get you out of an otherwise tight spot

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

      @@sammoore2242 Before I knew about Awake vs Start, I did other ugly workarounds like starting a coroutine that waits for one frame.

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

    this is the one and only game design video that was easy to follow and educational, I hated watching videos where people wrote code without explaining what the word did, you did an excellent job. If anyone around me ever wants to start I will send them here and only here

  • @BeBlessedGames
    @BeBlessedGames 3 месяца назад +1

    This is SO cool. If you play around with similar stuff then build and learn...you'll eventually be able to do. Don't doubt yourself. Keep learning and doing.

  • @chaotic9729
    @chaotic9729 Год назад +24

    After finishing this tutorial, I am now confident to make the next Souls Game.

  • @alextremayne4362
    @alextremayne4362 9 месяцев назад +134

    I've been a software developer for years, and I've a background in theoretical physics and numerical simulations. One thing I'd always wanted to do was to write a simple gravitational simulation in 3D with graphics, and thanks to this I've finally done it. After going through your tutorial, I had a working simulation in about 30 minutes.
    Thank you so much Mark!

    • @zanefaith6433
      @zanefaith6433 6 месяцев назад +23

      goddamn bro really just said hold my dark matter

    • @It-is-PhillipFrank
      @It-is-PhillipFrank 4 месяца назад +1

      Do you know how that ide works than? Can I ask you a potentially dumb question? I need help 😭 Lol

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

      @@It-is-PhillipFrank Hi sorry for the late reply,
      Feel free to ask, but I can't promise anything. I haven't touched VS in ages now

    • @Jay-qd7ib
      @Jay-qd7ib 4 месяца назад

      @@alextremayne4362 how in the world did you get unity to work whenever i try to open a project from the unity hub it just loads forever with no progress

  • @stuartgregory8994
    @stuartgregory8994 3 месяца назад +2

    This was absolutely incredible, everything I was looking for in a tutorial. Thanks so much!

  • @ID_Station
    @ID_Station 2 дня назад

    The way you explained these concepts and the structuring and editing of this video are so amazing! Really have me excited about working in Unity.

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

    This is a fantastic guide. It's really well thought out and isn't uneccessarily slow or overexplanatory. Seriously, this is the peak of guides I have watched on a 4 year journey learning xcode, swift, blender and much more. Kudos, I am super ready to jump straight in.

  • @mhreinhardt
    @mhreinhardt 8 месяцев назад +64

    I've been programming a long time, and one of the toughest things when starting a new language is simply being overwhelmed by all of the syntax, components, libraries and broader ecosystem. Add to that a new GUI or IDE you need to learn and it only makes it harder. You've made this so simple to approach for creators of various skill levels. This is one of the best video tutorials I've ever seen. Great work, and thank you!

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

    One of the best instructors I've ever had for coding. Thanks.

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

    That's the best tutorial I have ever seen, everything explained well, and the fact this video is edited so great. I am very grateful for that tutorial and I look forward for another such a good instruction :)

  • @GiggiddyGuy
    @GiggiddyGuy Год назад +87

    One thing about this that I really didn't know I needed in a CS tutorial is that you do tiny steps and then show why we need to take extra ones. Like with the pipes spawning in every frame. This is amazing!

    • @vt-bv4lw
      @vt-bv4lw 9 месяцев назад

      Hello, I see that you understand how everything works more or less, could you help me with something small? When I write code in visual studio, I don't see many options to complete the code. Do you know how to fix it?

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

      @@vt-bv4lw Be sure you have hit the period key ( . ) ofcourse, also be sure you are on a variabele with a type associated to it, if you type string and then period, does it give a lot of completions? sometimes you might also have to use the "using" statements that are on top of the file

    • @vt-bv4lw
      @vt-bv4lw 9 месяцев назад

      @@Birb- In the end I succeeded, I just had to change something small in the settings, thanks a lot anyway

  • @NoahHayes
    @NoahHayes Год назад +45

    I know you have other priorities (like working on your own game) but this is one of the best software tutorials I've seen. Great work! Would love to see more in this series and am looking forward to the next installment of Developing too.

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

    this tutorial was extremely well put together and very helpful, thank you!

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

    This is literally the best tutorial I've ever found for anything. Amazing job / quality. Thank you.

  • @oshoshoshoshosh
    @oshoshoshoshosh 10 месяцев назад +7

    @GMTK This is the best tutorial I have ever seen on the internet. Your voice is pleasant, you are witty, patient and relaxed. Summing up each section really makes sense and gives the topic a nice closer. The animations and infographics are just beautiful and really deliver the message. As a programmer (~15 years) who rarely give comments, I can say that this was a refreshing experience for a wonderful technical explanation. Thank you for creating this!

  • @135friend
    @135friend Год назад +6

    This is by far THE BEST unity starter tutorial video I’ve found on RUclips. The explanations and step-by-step walkthrough is exactly what I needed to get started with unity. I’d love to see you tackle making an RTS in unity!

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

    I've only watched ten minutes of this and I've already learned so much more than an hour of using Unity. Thank you

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

    This video is actually so good. Everything is so well put together with visual demonstration of it gets a little too complicated. Also at the end of each chapter, he does a recap. Wonderful video

  • @Ph4n_t0m
    @Ph4n_t0m Год назад +22

    I had a near-identical experience to your first exposure to Unity. The mere understanding that "everything is a gameObject" and "gameObjects are containers for Components" was priceless! Thank you!

    • @stuntfax9004
      @stuntfax9004 10 месяцев назад

      it isnt letting me import an asset im pressing import nothing hppened

  • @AndrewDavidJ
    @AndrewDavidJ Год назад +46

    Nice! It's nice to see you pivot more and more towards game development in addition to your usual game design content. I've been a game developer for over 20 years and my RUclips channel also caters to the gamedev (and Unity dev) niche, so it's nice to have you as company in this space :)

  • @pottaz
    @pottaz 7 месяцев назад +11

    This is probably the best intro for a game developer. The way you explain it is just amazing. Do the same but with UE. I think a lot watching your videos will appreciate it.

  • @jordanchicksen
    @jordanchicksen 3 месяца назад +1

    Thank you so much for this Mark, you can’t imagine how much you’ve helped beginner game developers (including myself).

  • @Baggssy
    @Baggssy 8 месяцев назад +41

    I've watched so many videos trying to learn Unity and code and this is by far the easiest to understand. The way you break down each element of the code is so helpful and no other videos I've found do this quite as well. Thankyou!

  • @oGurk
    @oGurk Год назад +8

    This has to be the best unity tutorial ever made. You explain everything with both words and visuals in ways that non programmers can still learn and understand. You should be very proud of your work :)

  • @yf4jm
    @yf4jm 27 дней назад

    This is the shortest and best tutorial i could ever find .I grasped many fundamentals easy steps to follow .a simple game .I really loved the progress when i was making this .Much love here is a sub

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

    This is exaclty how a beginner tutorial should be. Crystal clear explanation. Hats off sir

  • @callaharry6673
    @callaharry6673 11 месяцев назад +4

    Honestly one of the best tutorials I have ever seen, you can tell you really understand what your talking about due to how simply your able to describe each step.

  • @MattHorton
    @MattHorton Год назад +8

    The way you simplify concepts is so good.
    Calling a script a "custom component." The animation for components in a GameObject. These clear up so much for me, and I have a ton of non-game development experience.

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

    Man, your teaching is incredible. I'm very surprised, it's been a long time since I've seen someone explain this well.

  • @LuigiFan1111A
    @LuigiFan1111A 6 месяцев назад +2

    I’ve been programming on scratch for a few years now and have gotten really good at it and wanted to do something bigger, but this has been a huge help! I downloaded unity a while ago, but haven’t done anything with it bc of how complicated it is.

    • @der-Dritte
      @der-Dritte 5 месяцев назад

      I could help, I have also a year of experience but soon 2. Me and some comerade are building a zombie game, wanna help?

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

    Thanks man! When I got the idea in my head to learn to make games this afternoon, I didn't think I'd have one finished in a couple of hours even if it was with a step-by-step guide and cloning an existing property! This was really helpful and now I feel confident that I can play around and get something more original to work. Appreciate the help.

  • @Rob-fi2pe
    @Rob-fi2pe Год назад +61

    As someone who isn't familiar with code, this process was not easy, but it's the first step. I'm excited to take this game, iterate on it, improve it and move on to cloning different games. I love this style of learning and I'm really excited to see how it all turns out. Thank you for the incredibly helpful tutorial! This was a great starting project where I felt like I understood why I was doing something instead of just mindlessly copying. I'll be referencing this video a lot, I'm sure!

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

    One of the best programming tutorials I've seen. Congratulations.

  • @seanhenry6216
    @seanhenry6216 5 месяцев назад +1

    epic tutorial... even if you dont program games, this is the best tutorial to describe programming itself Ive seen. My son and I watched this as he is learning scratch coding at school, and tis was mega revealing

  • @clarisrichter7966
    @clarisrichter7966 Год назад +80

    I've been dev-ing in Unity for about 5 years and I still found myself watching the entire video just because of how well composed it is. Good stuff Mark!

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

      How is your game dev career going

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

      @@serbanandrei7532 Fairly well actually thanks! Recently got my first success with a game that got 300k downloads. Unfortunately it wasn't monetized but it's helped me build a bit of a following and learn a lot. Hoping to one day still go full time with game dev 🙂.

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

      @@clarisrichter7966 hey, that is amazing! It give me a bit of hope. I just read earlier today that around 4000 apps are posted every day and the vast majority of them never get over 3 reviews. What is your game called?

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

      Hello, the score of the game isn't increasing ( stays 0) , what should I do? Please can you help?

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

      @@lazizbekeminov2812 Hey. That could honestly be so many things but some common mistakes:
      If your console isn't showing any errors, it means that the collider isn't registering at all. Make sure that the hitbox is set up correctly, and also make sure that at least one of the objects involved in the collision has a rigidbody attached to it, otherwise the built-in unity OnCollisionEvent won't trigger. If you don't want the physics from the rigidbody (Like the gravity etc) but just want the collision logic, you can make the rigidbody "kinematic" in the inspector. Good luck!

  • @johncooper5275
    @johncooper5275 11 месяцев назад +216

    This wasn’t just the best Unity videos I’ve seen, but one of the best programming videos period. Great stuff!

    • @AristotleMotivation
      @AristotleMotivation 10 месяцев назад +4

      I got stuck on the point system. It kept telling me the script was wrong. Even it showed no errors. I had to scrap all of it. I will try again tomorrow lol

    • @mjnxyz
      @mjnxyz 10 месяцев назад

      @@AristotleMotivation I was able to get through it without issues, Unity 2022 LTS, Visual Studio 2022. I hope you try again.

    • @AristotleMotivation
      @AristotleMotivation 10 месяцев назад

      @@mjnxyz He Even Mentioned The Issue In His Pinned Comment. I Wasnt Being Suggested The Codes. So I Had To Write Them Manually. And That Didnt Work Out Very Well.

    • @Mirsano
      @Mirsano 10 месяцев назад

      @@AristotleMotivation i have the exact same issue what did you do to fix it?

    • @ChrisPowellsClips
      @ChrisPowellsClips 10 месяцев назад

      @@Mirsano I have an idea for you, open the pipe prefab, and then go to the middle collision thing that he created, and in the box collider component, there is this little tick box called "IsTrigger", make sure this is enabled, something that I and many others forget, pretty annoying lol.

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

    Top notch content & production qualities! Thank you for putting so much work into this.

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

    Man you are like the perfect teacher in RUclips! I am an Unreal Engine user and I decided to use unity for my 2D games but was hesitant to do so... I saw this video now I am confident I can make any 2D game!

  • @Kaikaku
    @Kaikaku Год назад +8

    This is the most comprehensive starter tutorial I've seen and it's exceptionally well made.
    The two aspects I like most are:
    1) Very engaging: Every little step (in a nicely arranged flow) gives some kind of reward by making the program do something more.
    2) Your visualization + explanation of for example the GameObject jar or the if gates are truly awesome. I wish I had such a comprehensive entry video.
    3) Number 3 of 2: Good choice to use some legacy stuff. What good is it if you exhauste yourself to learn the new input system at the beginning, but your motivation drops because you don't make any visible progress.

  • @danielregan9010
    @danielregan9010 Год назад +22

    This is an unbelievably good tutorial. The first 15 minutes alone provide such a clear, concise explanation of how unity’s structure and general workflow is organized.
    I’ve been a gmtk fan for a few years now, but this is probably the best video I’ve seen

  • @linushermanns
    @linushermanns 6 месяцев назад +1

    I began Unity following this tutorial of yours. Only did a few months of work in there and ditched the engine following the recent incident. I am picking up Godot right now and after completing the first 2D Game tutorial of the documentation, I went ahead and tried to implement flappy bird alongside your tutorials architecture and it went pretty well. Can recommend as second project in Godot / first fully self-done project.

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

    This video was honestly very inspiring to me!! You did such an amazing job at breaking down how to code and teaching the basics of Unity that I feel so much more confident about starting game development now. I was so lost on where to start and what to learn, but you helped make things seem more intuitive and easy, so thank you for taking the time to share this information!! I hope to see more tutorials in the future :))

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

    Brilliantly done, as always. Thanks for all of the amazing content over the years!!

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

    This is the best tutorial ever believe me, after watching hours of every other damn tutorials this one made more sense to me because the way he tell us the basics is just awesome.now i have feeling i can do this

  • @lucacuneo7218
    @lucacuneo7218 Год назад +49

    Mark thank you, you are finally someone who understands the difficulty of the youtube learning unity and helps teach others through it

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

    Wow it has been long time since I saw such an amazing video. You are a master teacher and I can see how much work you have put into this. amazing

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

    This was immensely helpful! Thank you!

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

    I've "re-learned" Unity from the beginning many times over the past six years or so - partially as a refresher; partially as a form of procrastination. In any case, this is most clear and well-produced Unity crash course I've seen. As you put it, this is the tutorial I wish I'd had at the very beginning!

  • @deassssssss
    @deassssssss 10 месяцев назад +5

    I have tried to learn unity on and off for YEARS and always given up because I reach a point where my own lack of fundamental understanding of the systems stops me from going any further. The way you described everything made so many light bulbs go off in my head . Please make more unity tutorials!!

  • @bradyhem
    @bradyhem 6 месяцев назад +1

    Thank you for this. I didn't exactly comprehend any of the coding parts, but the "do it yourself" idea at the end was way more helpful. I figured out how to understand the commands through that and I'd love to start making myself some "playable art" one day lol

  • @Jessie-ig9fv
    @Jessie-ig9fv 5 месяцев назад

    Thank you so much💯! I followed this tutorial step by step and finally developed my first unity game.
    The best part is that I added the functions just as the tutorial suggested, like clouds, highest score record, emitting darts to open the pipes. The developing processing is amazing😻!
    I pushed the code to my github, hope this would be helpful for others.😄

  • @Elesnouman
    @Elesnouman Год назад +32

    As a game artist this is probably the best tutorial I ever seen, So many tutorials Skip explanations and you make them seamless and intuitive, great video. Thanks mark!

    • @whitekingcat5118
      @whitekingcat5118 10 месяцев назад +1

      it still very hard and very hard to remember anything and hard to understand anything at all because its coding and that is litreally impossible if you haven't been coding ever since you were a little kid💀

    • @LukeCreates
      @LukeCreates 10 месяцев назад +4

      @@whitekingcat5118 Some of the best programmers I know picked it up in their mid 20s, quit that mentality or you'll never get anywhere in life.

    • @whitekingcat5118
      @whitekingcat5118 10 месяцев назад

      @@LukeCreates well i don't think it matters if i don't have a life🤷

    • @teamofwinter8128
      @teamofwinter8128 10 месяцев назад +3

      @@whitekingcat5118 that's what you tell yourself cause you want to give up because it's simply cap

    • @whitekingcat5118
      @whitekingcat5118 10 месяцев назад

      @@teamofwinter8128 but i have already given up🤷 at least at Unity💀

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

    This is fantastic, a really organic way to get to grips with the code. Thanks for making this, I feel like it's worth so much more than most tutorials I've found!

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

    Crystal clear for beginners like me, nothing to skip, thank you very much, keep going

  • @CodeofConduct4
    @CodeofConduct4 4 часа назад

    This is one of the best tutorials I've seen for anything

  • @natylopez5
    @natylopez5 Год назад +8

    Absolutely amazing. I went from never before having used Unity to having my first game created in one morning. And I love that you ended the video encouraging us to expand on it and even try recreating other games. Really appreciated this content.

    • @vt-bv4lw
      @vt-bv4lw 9 месяцев назад

      Hello, I see that you understand how everything works more or less, could you help me with something small? When I write code in visual studio, I don't see many options to complete the code. Do you know how to fix it?

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

      @@vt-bv4lw me too...

  • @rubenmadriz-nava1495
    @rubenmadriz-nava1495 10 месяцев назад +23

    This is my first time programming so it was a little difficult but it’s so satisfying seeing the result after typing the code and pressing play in unity. Definitely a fun experience.

    • @xxx_jim_the_reaper_xxx
      @xxx_jim_the_reaper_xxx 9 месяцев назад +1

      Thanks to this video, I finally understood how Start, Update, Void, and Public/Private code functions work.
      Its kinda confusing when I'm still learning it off in my classes.

  • @AsherKadmiel
    @AsherKadmiel 6 месяцев назад +1

    Thank you for the simple and easy to follow tutorial it is absolutely a masterpiece

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

    first 5 minutes taught me more than several videos on LinkedIn Learning. Thank you for the great content.

  • @mormonjeezy
    @mormonjeezy Год назад +18

    I've been struggling with getting into game development for the past couple of years, but this video has encompassed so much in such that I found incredibly helpful in such a short amount of time. Thank you so much for your attention to detail with the explanation!

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

      You can do this game in Construct 3 in 15 minutes without writing a single line of code.

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

      @@farfetchdman Of course you can do that, but that's not the point. The point is to use something familiar to learn to think like a game dev so you can build your own thing.

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

      @@SimuLord I am a game dev, I make revenue every month from my mobile games, I think like a game dev and build my own stuff. I never used Unity and I cannot write a single line of code. No need to be that complicated.

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

    What's amazing is how you're going to bring this skill to a whole new generation of game devs. When I first started getting into your channel, you were just starting Boss Keys. In the time since I've almost completed an entire degree program in game development. Continue the great work.

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

    This video was so easy to follow. Just made my first unity game yesterday, Thanks GMTK!

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

    This was such a great tutorial!

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

    Great video so far. Just picked up Unity and used this tutorial to make my first game from scratch and it's really helpful. One thing that stood out to me is that you hard-coded the position on the screen to destroy the pipes. You don't have to do that. There is a Camera method that allows you to get the game object's position relative to the viewport and if its x position is negative it is off the screen. This feels like a tool a game maker would use sooner rather than later and could be good to include in your tutorial.