The Unity Tutorial For Complete Beginners

Sdílet
Vložit
  • čas přidán 15. 05. 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/
  • Hry

Komentáře • 5K

  • @GMTK
    @GMTK  Před rokem +2273

    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 Před rokem +10

      I will try this now, thank you :)

    • @purty9028
      @purty9028 Před rokem +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 Před rokem +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 Před rokem +14

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

    • @hoangminhnguyen9571
      @hoangminhnguyen9571 Před rokem +9

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

  • @fallbranch
    @fallbranch Před 10 měsíci +1271

    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,

  • @radicaltophatguy
    @radicaltophatguy Před 7 měsíci +340

    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 Před 3 měsíci +2

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

  • @HyperAnimated
    @HyperAnimated Před 4 měsíci +355

    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 Před 3 měsíci +4

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

    • @tigertoxins584
      @tigertoxins584 Před 3 měsíci +4

      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 Před 3 měsíci

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

    • @kunstfan4693
      @kunstfan4693 Před 2 měsíci

      we out here bro thanks for sharing

    • @proHDpas7608
      @proHDpas7608 Před 2 měsíci +1

      i feel you bro

  • @michaelcooper9554
    @michaelcooper9554 Před rokem +1910

    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 Před rokem +7

      Which school?

    • @michaelcooper9554
      @michaelcooper9554 Před rokem +65

      @@alex.g7317 a school in Melbourne, Australia

    • @cltran86
      @cltran86 Před rokem +76

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

    • @fyx8248
      @fyx8248 Před rokem +64

      hi Mr Cooper

    • @vfxjoyboy
      @vfxjoyboy Před rokem +26

      @@fyx8248 💀

  • @CodeMonkeyUnity
    @CodeMonkeyUnity Před rokem +1275

    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: czcams.com/video/CQ5xHgRZGQo/video.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 czcams.com/video/pD27YuJG3L8/video.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: czcams.com/video/Q8n1uFTG97s/video.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 czcams.com/video/OuZrhykVytg/video.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 czcams.com/video/Yjee_e4fICc/video.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 czcams.com/video/6DGDWfPdn3w/video.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 czcams.com/video/LLYhTWEX2Wc/video.html
    Great job with the video! I'm sure this will help tons of people on their game dev journey!

    • @LookjaklooK
      @LookjaklooK Před rokem +45

      This should be pinned!

    • @gaboandres
      @gaboandres Před rokem +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 Před rokem +10

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

    • @TalkingNerdyWithCJ
      @TalkingNerdyWithCJ Před rokem +4

      @@austinh1242 Yup. Greatly appreciate the information.

    • @Booksds
      @Booksds Před rokem +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 ==

  • @jonasgajdosikas1125
    @jonasgajdosikas1125 Před rokem +1149

    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 Před rokem +65

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

    • @kabrol22
      @kabrol22 Před rokem +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 Před rokem +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 Před rokem +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 Před rokem +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 Před 2 měsíci +3

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

  • @anuraagchandra2548
    @anuraagchandra2548 Před 6 měsíci

    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.

  • @Chodor101
    @Chodor101 Před rokem +2266

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

  • @kristianthaler6525
    @kristianthaler6525 Před rokem +393

    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 Před rokem +16

      Five minutes in and already 4 errors

    • @kristianthaler6525
      @kristianthaler6525 Před rokem +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 Před rokem +1

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

    • @spark3238
      @spark3238 Před rokem

      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 Před rokem +1

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

  • @FitzoPlays
    @FitzoPlays Před měsícem +2

    Great tutorial, very thorough and I learnt a lot from this! I did a few extra things on mine:
    - Added a gameover state if you hit the bottom of the screen with an empty 2D Box Collider
    - Main menu with start game and quit and also press escape in game to quit
    - Added support for left click and touch for mobiles
    - Added BG music and a stupid noise that plays when you game over
    Still need to figure out animations though!
    Other ideas
    - Record stupid voice over like old school unreal tournament in same voicing for things like "NICE WORK, 10 PASSES"
    - Increase height offset of the pipes factored from the score of multiples of 10 increasing it by a decimal making it more difficult and eventually impossible but no one is gonna get that far with my crappy game that only my friends will tell me im amazing for but I love a challenge
    UPDATE:
    - Added a screen wobble every time the player hits a score of multiple of 10 and the heightoffset increases by 0.3f
    Thank you GMT

  • @fneifneox64
    @fneifneox64 Před 3 měsíci +4

    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.

  • @hwkeyser
    @hwkeyser Před rokem +259

    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 Před rokem +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 Před rokem +20

      Nevermind, I forgot to save my code :]

    • @smokysnow5794
      @smokysnow5794 Před rokem +2

      Mine is not appearing on the autocomplete at all?

    • @hwkeyser
      @hwkeyser Před rokem +3

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

    • @smokysnow5794
      @smokysnow5794 Před rokem +3

      @@hwkeyser i fixed it nvm

  • @Luke_Dude200
    @Luke_Dude200 Před rokem +259

    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 Před rokem +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 Před rokem +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 Před 11 měsíci +965

    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 Před 11 měsíci +1

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

    • @stuntfax9004
      @stuntfax9004 Před 11 měsíci +1

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

    • @vt-bv4lw
      @vt-bv4lw Před 10 měsíci +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 Před 10 měsíci

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

    • @smthngsmthngsmthngdarkside
      @smthngsmthngsmthngdarkside Před 9 měsíci

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

  • @nemocaligo8909
    @nemocaligo8909 Před rokem +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, ❤

  • @user-nv3xi8mz7u
    @user-nv3xi8mz7u Před 4 měsíci +1

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

  • @NikErnesto
    @NikErnesto Před 3 měsíci +1

    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

  • @ruthminikuubukaburi4507
    @ruthminikuubukaburi4507 Před 8 měsíci +182

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

    • @rottenmouldybrain
      @rottenmouldybrain Před 8 měsíci +11

      And you learned nothing.

    • @amazeinggames
      @amazeinggames Před 2 měsíci +79

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

    • @rottenmouldybrain
      @rottenmouldybrain Před 2 měsíci +1

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

    • @Rikka-Chama
      @Rikka-Chama Před 2 měsíci +33

      @@rottenmouldybrain bro speaking from experience fr

    • @detectiveblocks
      @detectiveblocks Před 2 měsíci +3

      im 12

  • @benjaminreynolds3659
    @benjaminreynolds3659 Před 2 měsíci

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

  • @BeBlessedGames
    @BeBlessedGames Před 4 měsíci +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.

  • @lucasfogaca555
    @lucasfogaca555 Před rokem +244

    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 Před rokem +1

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

    • @lucasfogaca555
      @lucasfogaca555 Před rokem +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 Před rokem

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

    • @lucasfogaca555
      @lucasfogaca555 Před rokem +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 Před rokem +1

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

  • @ytm23ak
    @ytm23ak Před rokem +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 Před rokem +1

      That is absolutely true! i do this

    • @francesanderson9801
      @francesanderson9801 Před rokem +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 Před 10 měsíci +1

      It also just saves you time in the long run. Can't name the amount of CZcams 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.

  • @westnavarre
    @westnavarre Před měsícem +3

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

  • @realsilent_
    @realsilent_ Před 6 měsíci +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

  • @symfo
    @symfo Před rokem +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 Před rokem +1

      🎉congrats!

    • @Mr.BananaIsKool
      @Mr.BananaIsKool Před 11 měsíci +1

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

    • @stuntfax9004
      @stuntfax9004 Před 11 měsíci

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

    • @DarknDeep
      @DarknDeep Před 10 měsíci

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

    • @idkbruh95
      @idkbruh95 Před 2 měsíci

      drag n drop@@stuntfax9004

  • @austinh1242
    @austinh1242 Před rokem +218

    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 Před rokem +6

      and you heven't watched it

    • @austinh1242
      @austinh1242 Před rokem +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 Před rokem +3

      @@austinh1242 okie sorry

    • @austinh1242
      @austinh1242 Před rokem +3

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

    • @stuntfax9004
      @stuntfax9004 Před 11 měsíci

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

  • @jacobwoodward4900
    @jacobwoodward4900 Před 5 měsíci

    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!

  • @Oliver-eu1wz
    @Oliver-eu1wz Před rokem +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 Před rokem +2

      yes please make more tutorial videos like this

    • @kraxti4795
      @kraxti4795 Před 11 měsíci +2

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

    • @TheDragonamer
      @TheDragonamer Před 11 měsíci

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

    • @stuntfax9004
      @stuntfax9004 Před 11 měsíci +1

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

    • @cheesewizard3659
      @cheesewizard3659 Před 11 měsíci +1

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

  • @Holphana
    @Holphana Před 7 měsíci

    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.

  • @DeadLink404_
    @DeadLink404_ Před rokem +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 Před rokem +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 Před rokem

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

  • @ID_Station
    @ID_Station Před 21 dnem +1

    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.

  • @Duck_The_Gamer
    @Duck_The_Gamer Před 18 dny +1

    One of the best tutorials I've ever seen. It made me understand what each code does, how and why it works and of course, the basics of unity (2d, at least).

  • @onixbread1431
    @onixbread1431 Před rokem +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 Před 11 měsíci

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

    • @wesam-is-cool
      @wesam-is-cool Před 6 měsíci

      @@stuntfax9004 tell the creator of the video not him

  • @Lugmillord
    @Lugmillord Před rokem +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 Před rokem +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 Před rokem

      @@sammoore2242 you can? interesting.

    • @sammoore2242
      @sammoore2242 Před rokem

      @@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 Před rokem +1

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

  • @gregfraziercpapllc6628
    @gregfraziercpapllc6628 Před 7 měsíci

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

  • @zskilledapik
    @zskilledapik Před 2 měsíci

    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

  • @akilumanga
    @akilumanga Před rokem +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.

  • @chaotic9729
    @chaotic9729 Před rokem +26

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

  • @stuartgregory8994
    @stuartgregory8994 Před 4 měsíci +2

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

  • @justincristea
    @justincristea Před 7 měsíci

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

  • @varajalka
    @varajalka Před rokem +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  Před rokem +22

      Good tip!

    • @justpassing2533
      @justpassing2533 Před rokem

      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 Před rokem

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

    • @Thomanski
      @Thomanski Před rokem +8

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

  • @alextremayne4362
    @alextremayne4362 Před 10 měsíci +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!

    • @Lily.Hiragashi
      @Lily.Hiragashi Před 7 měsíci +23

      goddamn bro really just said hold my dark matter

    • @It-is-PhillipFrank
      @It-is-PhillipFrank Před 5 měsíci +1

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

    • @alextremayne4362
      @alextremayne4362 Před 4 měsíci

      @@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 Před 4 měsíci

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

  • @bradleygilmore
    @bradleygilmore Před 4 měsíci

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

  • @czowiekduch551
    @czowiekduch551 Před 6 měsíci

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

  • @mhreinhardt
    @mhreinhardt Před 9 měsíci +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!

  • @135friend
    @135friend Před rokem +6

    This is by far THE BEST unity starter tutorial video I’ve found on CZcams. 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!

  • @linushermanns
    @linushermanns Před 7 měsíci +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.

  • @jordanchicksen
    @jordanchicksen Před 3 měsíci +1

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

  • @NoahHayes
    @NoahHayes Před rokem +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.

  • @oshoshoshoshosh
    @oshoshoshoshosh Před 11 měsíci +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!

  • @LuigiFan1111A
    @LuigiFan1111A Před 6 měsíci +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 Před 6 měsíci

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

  • @birbothealpha
    @birbothealpha Před 7 měsíci

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

  • @Emilis2023
    @Emilis2023 Před rokem +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.

  • @officenerd
    @officenerd Před 8 měsíci +24

    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.

  • @muselist
    @muselist Před 5 měsíci +19

    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  Před 5 měsíci +7

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

  • @seanhenry6216
    @seanhenry6216 Před 6 měsíci +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

  • @Baggssy
    @Baggssy Před 9 měsíci +40

    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!

  • @GiggiddyGuy
    @GiggiddyGuy Před rokem +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 Před 10 měsíci

      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- Před 10 měsíci

      @@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 Před 10 měsíci

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

  • @dihinduhesara6471
    @dihinduhesara6471 Před 3 měsíci

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

  • @yf4jm
    @yf4jm Před měsícem

    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

  • @callaharry6673
    @callaharry6673 Před 11 měsíci +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.

  • @jpedrorw
    @jpedrorw Před 6 měsíci

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

  • @bradyhem
    @bradyhem Před 6 měsíci +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

  • @MattHorton
    @MattHorton Před rokem +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.

  • @oGurk
    @oGurk Před rokem +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 :)

  • @mallups4gamer411
    @mallups4gamer411 Před 3 měsíci

    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

  • @Jessie-ig9fv
    @Jessie-ig9fv Před 6 měsíci

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

  • @clarisrichter7966
    @clarisrichter7966 Před rokem +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 Před rokem

      How is your game dev career going

    • @clarisrichter7966
      @clarisrichter7966 Před rokem +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 Před rokem +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 Před rokem

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

    • @clarisrichter7966
      @clarisrichter7966 Před rokem

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

  • @stateflower3213
    @stateflower3213 Před 9 měsíci +42

    This was such a good tutorial, we need a second one exploring more features!

  • @thecommandcrafter4873
    @thecommandcrafter4873 Před 2 měsíci

    great tutorial for beginners! i loved you "things we can talk about" when giving parameters

  • @FoxOfTornadoes
    @FoxOfTornadoes Před 9 dny +1

    This is an excellent beginners tutorial. I highly recommend this video to anyone who's starting out game development with Unity

  • @Ph4n_t0m
    @Ph4n_t0m Před rokem +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 Před 11 měsíci

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

  • @rubenmadriz-nava1495
    @rubenmadriz-nava1495 Před 11 měsíci +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 Před 9 měsíci +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.

  • @lisan1010
    @lisan1010 Před 6 měsíci

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

  • @ImAFroeg
    @ImAFroeg Před měsícem +1

    for anyone who wants to know, at the end of an if(condition) condition, you don't need to put an "== true" sign if you want the block to run if it is true, because it is treated as a boolean (true or false) automatically. The same goes for if you want the block to run if the condition is false, except you have to put an "!" in front of the condition: if(!condition) ;)

    • @mynameissanttu
      @mynameissanttu Před měsícem

      Thanks! I've just started working on learning unity so that will come in handy to write clean code!

  • @bradperry4902
    @bradperry4902 Před rokem +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!

  • @johncooper5275
    @johncooper5275 Před rokem +215

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

    • @AristotleMotivation
      @AristotleMotivation Před 11 měsíci +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 Před 11 měsíci

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

    • @AristotleMotivation
      @AristotleMotivation Před 11 měsíci

      @@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 Před 11 měsíci

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

    • @ChrisPowellsClips
      @ChrisPowellsClips Před 11 měsíci

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

  • @rainbowpizza7599
    @rainbowpizza7599 Před 5 měsíci

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

  • @Rob-fi2pe
    @Rob-fi2pe Před rokem +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!

  • @natylopez5
    @natylopez5 Před rokem +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 Před 10 měsíci

      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 Před 10 měsíci

      @@vt-bv4lw me too...

  • @Krafty239
    @Krafty239 Před 5 měsíci

    Bro I love you so much for making this tutorial I had given up on game making because it was too hard but you gave me hope now I can start my game development journey Thank you so much !

  • @nikolairivas9615
    @nikolairivas9615 Před 3 měsíci

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

  • @moldytomato9130
    @moldytomato9130 Před rokem +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 :))

  • @memorycanyon2259
    @memorycanyon2259 Před rokem +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!

  • @Justice7227
    @Justice7227 Před 5 měsíci

    Thanks for this video, I saw the 3 step vid, then went looking for a tutorial. I couldn't find on with JUST the basic until I found this one.

  • @mormonjeezy
    @mormonjeezy Před rokem +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 Před 10 měsíci

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

    • @SimuLord
      @SimuLord Před 10 měsíci

      @@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 Před 9 měsíci

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

  • @pmasterlex
    @pmasterlex Před rokem +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.

  • @moeburhanimeez7354
    @moeburhanimeez7354 Před 2 měsíci

    Man you are like the perfect teacher in CZcams! 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!

  • @yuh6840
    @yuh6840 Před 3 měsíci

    you made learning so nice. Thank you. you really understand how it feels to be a full beginner. because of your tutorial I am now motivated to start my dreams of making a game

  • @TheDarkestReign
    @TheDarkestReign Před rokem +16

    Love it! I watched some tutorials when I was going to try design a game last year, but all I really learned was to replicate what they made. I didn't have the patience (nor time) to do the 'playing around' I typically need to do to actually learn something. But this granular look with both setting it up and doing the stuff in the engine is really helpful! The modular approach feels more like learning what I'm doing instead of just doing something.

  • @Kaikaku
    @Kaikaku Před rokem +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.

  • @benclouston6686
    @benclouston6686 Před 4 měsíci

    I found it really good and fun making mistakes and instead of focusing on the video stoping to figure it out on my own and this worked

  • @angeloorteza155
    @angeloorteza155 Před 3 měsíci

    best one ive seen thanks man. this is really the exact kind and style of tutorial I was looking for

  • @tertle950
    @tertle950 Před 8 měsíci +74

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

    • @theelysium1597
      @theelysium1597 Před 8 měsíci +6

      This.

    • @Bigblackhawk123
      @Bigblackhawk123 Před 7 měsíci +3

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

    • @SadlekAski
      @SadlekAski Před 24 dny

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

    • @tertle950
      @tertle950 Před 23 dny

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

  • @danielregan9010
    @danielregan9010 Před rokem +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

  • @dskins16
    @dskins16 Před 2 měsíci

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

  • @rubixcube1219
    @rubixcube1219 Před 8 měsíci +4

    Thank you more than I can describe for this video. It taught me literally everything I know about Unity. I loved how well you explained everything, the slow and descriptive pace really helped me out

  • @Elesnouman
    @Elesnouman Před rokem +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 Před 11 měsíci +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 Před 11 měsíci +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 Před 11 měsíci

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

    • @teamofwinter8128
      @teamofwinter8128 Před 11 měsíci +3

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

    • @whitekingcat5118
      @whitekingcat5118 Před 10 měsíci

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