I made a GAME in under 6 Hours! (Experience is SPEED!)

Поділитися
Вставка
  • Опубліковано 10 лис 2020
  • Here's how I made a complete Match 3 Game in under 6 hours!
    ✅ Get the Project files and Utilities at unitycodemonkey.com/video.php...
    🌍 Get my Complete Courses! ✅ unitycodemonkey.com/courses
    👍 Learn to make awesome games step-by-step from start to finish.
    🌍 Interesting Game Dev Videos • Interesting Game Dev V...
    Grid System in Unity! (Heatmap, Pathfinding, Build Area)
    • Grid System in Unity (...
    Powerful Generics Added! (Grid System in Unity)
    • Powerful Generics Adde...
    Make your Games Designer Friendly (Scriptable Objects)
    • What are Scriptable Ob...
    🌍 Get Code Monkey on Steam!
    👍 Interactive Tutorials, Complete Games and More!
    ✅ store.steampowered.com/app/12...
    If you have any questions post them in the comments and I'll do my best to answer them.
    🔔 Subscribe for more Unity Tutorials / @codemonkeyunity
    See you next time!
    📍 Support on Patreon / unitycodemonkey
    🤖 Join the Community Discord / discord
    📦 Grab the Game Bundle at unitycodemonkey.com/gameBundl...
    📝 Get the Code Monkey Utilities at unitycodemonkey.com/utils.php
    #unitytutorial #unity3d #unity2d
    --------------------------------------------------------------------
    Hello and welcome, I am your Code Monkey and here you will learn everything about Game Development in Unity 2D using C#.
    I've been developing games for several years with 7 published games on Steam and now I'm sharing my knowledge to help you on your own game development journey.
    You can see my games at www.endlessloopstudios.com
    --------------------------------------------------------------------
    - Website: unitycodemonkey.com/
    - Twitter: / unitycodemonkey
    - Facebook: / unitycodemonkey

КОМЕНТАРІ • 158

  • @CodeMonkeyUnity
    @CodeMonkeyUnity  3 роки тому +20

    🌐 Have you found the videos Helpful and Valuable?
    ❤️ Get my Courses unitycodemonkey.com/courses or Support on Patreon www.patreon.com/unitycodemonkey

    • @hunter7777
      @hunter7777 2 роки тому

      No, I have not found this helpful since you don't answer queries or respond & your discord link has only one channel in it where no one can post.

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  2 роки тому

      ​@@hunter7777 I'm sorry but I cannot afford to offer 1on1 tutoring to the thousands of people that watch the videos. If you have a simple question I try to help.

  • @CodeMonkeyUnity
    @CodeMonkeyUnity  3 роки тому +52

    💬 How do you like this new format?
    It allows me to make Complete Games faster which allows me to cover more genres

    • @IyaB
      @IyaB 3 роки тому

      @@rich2_1877 me too

    • @DeadRabbitCanDance
      @DeadRabbitCanDance 3 роки тому +1

      I vote for Dungeon Keeper / Dwarf fortress / Factorio in client-server vision ;-)

    • @leagueoflags
      @leagueoflags 3 роки тому

      Great, can't wait to see more!

    • @322ss
      @322ss 3 роки тому

      I like it a lot. Maybe also discuss about things you tried but didn't end up using... maybe there wasn't such things in this project (too easy for you?) but in the future if you make more of this type of videos.

    • @DeadRabbitCanDance
      @DeadRabbitCanDance 3 роки тому

      I have already voted, but you did not forbid me to vote twice ;-)
      Perhaps your other listeners will support me. Your lectures have always been very compact and dealt with one specific aspect from start to finish. This is a very, very important point. This helps to understand what at first seems completely incomprehensible. It seems to me that you have reached the audience that is ready to accept not only ready-made recipes, but also general reasoning BUT with the implementation of one of the solutions. I see you as a wonderful lecturer and I am sure that you can take any small topic and tell it in an interesting way, giving not only a solution, but also a reason to think.

  • @chocobo678
    @chocobo678 3 роки тому +16

    Funny thing is that a few months ago I had to make a Match 3 project for a job interview and I'm happy to see that my solution looks a lot like the one you came up in the video (but in my case it took like 4 days to do so). Anyway, amazing content as always

    • @sweinvestidor
      @sweinvestidor 3 роки тому +4

      woah, four days of work for a job interview project...

    • @F-MominaFaisal
      @F-MominaFaisal 2 роки тому

      yall b getting this for job interviews whilst i have to make it as my 1st semester uni project???

  • @Alzimovich2
    @Alzimovich2 3 роки тому

    I'm so happy that I see the Patreons list grow, but you really deserve a lot more! Great video CM!

  • @leagueoflags
    @leagueoflags 3 роки тому

    This was freakin awesome! You rock, CM! Keep at it!

  • @TheFakeMnim
    @TheFakeMnim 3 роки тому +1

    it is really inspiring to see how someone creates games in a short amount of time!
    you should definetely make more of those!

  • @davef101
    @davef101 3 роки тому

    Great Video! With really nice insights and examples of a great dev work flow.

  • @tauheedgamedev2388
    @tauheedgamedev2388 3 роки тому

    Amazing, shows how much having experience levels up your programming skill.

  • @zeeka2233
    @zeeka2233 3 роки тому

    This format is great as we get to see the whole process and understand how it work. Also do a game jam and make video of that too.

  • @imaginomania2
    @imaginomania2 3 роки тому +4

    I would be interested in a detailed tutorial start to finish. (including the bot. And maybe have the bot create after a specific crime a graph. Informing you about the results.or something wacky like that. )

  • @tyleranders9972
    @tyleranders9972 3 роки тому +3

    I liked the video. Its nice to see the full start to finish. Without sitting through step by step code. Even though that is helpful sometimes

  • @ChristopherCricketWallace
    @ChristopherCricketWallace 3 роки тому +1

    i love this format. keep doing it this way please. I like to see full games. I like to see how the mechanics are coded. yes yes yes

  • @IcarusPhoenix
    @IcarusPhoenix 3 роки тому +1

    I really like this type of video, but would like a follow up video to cover some of the more complex topics from the project. Sort of using this type of video as a teaser for tutorials to come :)

  • @Dreyko5893
    @Dreyko5893 3 роки тому

    I liked! I need to see more videos like this. Keep it up!

  • @wazaDev
    @wazaDev 3 роки тому +9

    This is really awesome, with my lack of experience it would have taken weeks. You sir are one in a million without your channel my current project wouldn't be in it's current state for that I say thank you

  • @simeonvasilev4074
    @simeonvasilev4074 3 роки тому

    Pretty good timing, under 6h for that many features, not bad, not bad at all! Well done!

  • @sundarakrishnann8242
    @sundarakrishnann8242 3 роки тому +2

    You have done an insane amount of work in 3 hours!!!!👍🏼👍🏼

  • @rashh77
    @rashh77 3 роки тому

    Awesome, valuable and informative. I hope one day I will make a game like this one. Thanks a lot.

  • @ossamakrawi5614
    @ossamakrawi5614 11 місяців тому

    Many thanks for both the video and the code. Truly amazing!
    Although, I'm having a bit of trouble reading the code and learning what each Class/Function/Parameter does as it's not well commented.

  • @Oxmond
    @Oxmond 3 роки тому +1

    Cool. Well done! 🤓👍

  • @ferociousgames4196
    @ferociousgames4196 3 роки тому +1

    I like this type of video it gives good insight into your thought process

  • @asproductions5384
    @asproductions5384 3 роки тому +1

    Code monkey nice videos I love all your videos and your one of the best indie game dev you tubers. just in the list of the best indie youtube game devs such as people like brackeys and blackthornprod and even Skykoo

  • @1oglop1
    @1oglop1 3 роки тому

    This is pretty cool! Are you planning to use New Input system? I noticed that this and utils use the "old" one. I was able to modify your grid tutorial to use new input system! Now I'm learning how to use Unity Events instead of messages.
    Would you recommend unity events (they look easy, just process the ctx in the method) or is better to learn about C# events first?

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  3 роки тому +1

      I haven't tried the input system yet, I'll look into it when I need to do some Gamepad project
      UnityEvents are better if you like working in the Editor, C# Events are better if you like working with code, personally I use C# Events but they both achieve the same result.

  • @yuuisland
    @yuuisland 2 роки тому +1

    yes would love to see more content like this

  • @gerh667
    @gerh667 3 роки тому

    Great video! Really interesting!

  • @hasnainfareed8555
    @hasnainfareed8555 3 роки тому

    Such Videos are more helpful than others,Please let them keep coming.

  • @Nohax8
    @Nohax8 3 роки тому

    I love this type of videos!!!❤❤

  • @suicune2001
    @suicune2001 2 роки тому +1

    I'll never understand how you guys can program so darn well. XD I understand the basics where I've made extremely simple side scrolling games with some blocks. I even tried making a game with some survival mechanics like hunger, thirst, and figured out how to incorporate poison. That one took me 30 days and took me 2 days to learn how to turn killed enemies invisible so they could drop food. XD Now I know there is a thing called SetActive which would have made that a whole lot easier. lol. It's hard when you don't know what you don't know - you know?

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  2 роки тому +2

      It's all about experience! The more things you build the more knowledge you have and the easier it will become.
      Now you know about SetActive, so for your next project you have that extra knowledge to help you!

  • @Sankha477
    @Sankha477 3 роки тому

    Hi loved the vid I am a beginner I had a question where should I modify the code to add a turn based system!

  • @ryanlsindledecker2510
    @ryanlsindledecker2510 Рік тому

    This has been great and very helpful! I am having a challenge I'm hoping you might be able to point me into the right direction to solve. This works great in a scene of its own, but I would like to have this appear in a UI canvas over my game world. I cannot seem to figure out how to instantiate a grid/match3 board in a location based on where my camera is at a given time. I've been able to change the location of the background tiles, to an extent, but the gems themselves always seem to be based on worldposition 0, 0.

    • @ossamakrawi5614
      @ossamakrawi5614 11 місяців тому

      If it's a camera issue, why not try to update the camera so that it's situated on top of the grid. You can adjust its Vector3 value based on the custom width and height of your grid to make sure it's always centered.

  • @Someone-kw6mw
    @Someone-kw6mw 3 роки тому +3

    I never saw a 3D game by u

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  3 роки тому

      I made the Wash your Hands game in 3D ua-cam.com/video/q9pe-wH7eZ8/v-deo.html

    • @aaradhy_gamedev6888
      @aaradhy_gamedev6888 3 роки тому

      @@CodeMonkeyUnity but did you wash your hands?

  • @chrolloace2032
    @chrolloace2032 3 роки тому

    great video. That would have taken me at least 7 days.
    also is there anywhere were I can personally ask you game dev questions, like a forum perhaps or something. I have a couple of questions I've been trying to find an answer to but none satisfy my needs , but you seem to know where you are standing though.

    • @coolboy9979
      @coolboy9979 3 роки тому

      You can usually ask them here. I asked questions as well and he usually answers, ofc it depends on what kind of question you have

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  3 роки тому

      I go through all the comments every day so if you ask a question related to a video I'll do my best to help.
      However sadly I don't have the time to do 1on1 coaching so I can't really help with super detailed hyper specific questions.

    • @chrolloace2032
      @chrolloace2032 3 роки тому

      @@CodeMonkeyUnity My question is ui related. I'm confused on what way to approach it. I have a weapon system right, now I don't know if I should have one script called "WeaponUiHandler" that takes care of all of the weapon related UI for example (Updating ammo , displaying currently selected weapon , etc.)or have mini scripts for everything using the 'OSR' way which in terms stands for ("one single responsibility") and have all of this responsibility's broken down and segregated into many single functionality scripts.

    • @chrolloace2032
      @chrolloace2032 3 роки тому

      I've visited many forums regarding this topic hoping to find the best way to archive modular code, but I would like to hear a trusty professional opinion on this topic.

  • @nichegames9590
    @nichegames9590 3 роки тому

    So you're saying you got some experience and level up? Nice!

  • @aaki583
    @aaki583 Рік тому

    Can you explain or make a video of flood fill algorithm in this project or in any other project ?

  • @folkhero2046
    @folkhero2046 3 роки тому +1

    @CodeMonkey have you made a video on the clean code you keep referencing? I'm still learning to code, and would like the learn the best practices and what helps make code reusable.

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  3 роки тому +1

      I haven't covered it in a dedicated video, I just mention various principles as I'm writing code like Decoupling, writing Good Variable Names, etc.
      Search for clean code principles and you'll find tons of detailed talks from very good programmers.
      Also if you really want to improve your programming skills I would highly recommend the book Code Complete 2. It will help you improve the quality of your code by a massive amount!

    • @folkhero2046
      @folkhero2046 3 роки тому

      @@CodeMonkeyUnity Bless you code monkey. Serious a big help! Love what you do

  • @XionosOrigin
    @XionosOrigin 3 роки тому

    I would prefer the tutorials or even a full devstream.

  • @Reuged666
    @Reuged666 3 роки тому

    oh yeah, just like your games bro keep it up

  • @zerggedxh1054
    @zerggedxh1054 3 роки тому

    I love your content, it's helped me understand some of my college courses more than textbooks ever could. I tried going after the project files on the website but getting an error in downloading them. Help please?

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  3 роки тому

      What error? Everything seems fine on my end

    • @zerggedxh1054
      @zerggedxh1054 3 роки тому

      @@CodeMonkeyUnity Restarted chrome and it downloaded. Weird. Guess I was that unlucky one in a million right then!

  • @dbweb.creative
    @dbweb.creative 2 роки тому

    at 6:35 - I see only one match can be evaluated and removed at a time, even though there are a few 3+ matched gems around the grid. I think whole grid should be evaluated and matched gems should be removed all at once, per each match step in a sequence.

  • @juandiegobricenomadueno2121
    @juandiegobricenomadueno2121 3 роки тому

    My friend, do you have any video on how to animate those characters that you did?

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  3 роки тому

      I covered how my animation system works here ua-cam.com/video/11c9rWRotJ8/v-deo.html

  • @hunter7777
    @hunter7777 2 роки тому

    Why is your discord channel inactive & why is there no activity in it?
    Also can you provide a link to your video tutorials on youtube ( you say you have 300 or so)?
    Also when I downloaded your project & tried it out, I couldn't figure out how to edit it because it did not show up in the scene view...& when I played it, it was all pink.
    How do you edit this if you can't see it in the scene view?

    • @hunter7777
      @hunter7777 2 роки тому

      I see that you are not answering queries here...must be because you are no longer active because your discord channel has only one channel where you can't even post.

  • @DxBALLxD
    @DxBALLxD 3 роки тому

    Good job man

  • @mettayisurdad2755
    @mettayisurdad2755 3 роки тому

    wow the vid is awesome i love it ✨ @Code Monkey u should make a discord server if u have discord

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  3 роки тому

      There is a Discord server although I'm already insanely swamped with comments so I'm not usually there but it works as a Community server.

  • @algs5483
    @algs5483 3 роки тому +1

    The "other video" you mention is related to machine learning? If so, yay!

  • @pacolaf
    @pacolaf 3 роки тому +1

    I have downloaded your project and when I run it all sprites are magenta because their materials are missing. Maybe you are using a non standard material and it is not included in the unity package? I solved the problem assigning Sprites-Default material to the gem sprites. I'm using Unity 2020.1.14f1.

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  3 роки тому +2

      The game is using the Universal Render Pipeline, if you use the built-in render pipeline then yes everything shows up as pink

    • @pacolaf
      @pacolaf 3 роки тому

      @@CodeMonkeyUnity Thanks for your quick answer!

  • @aaradhy_gamedev6888
    @aaradhy_gamedev6888 3 роки тому

    Hello codemonkey can you make a tutorial on Admobs with unity and a series of videos telling us how to make a 2d shooting game (:

  • @KK-zx7mn
    @KK-zx7mn 3 роки тому +1

    Hey can i use your codemonkey utilities package in my commercial game or is there any royalty fee

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  3 роки тому +1

      Yup feel free to use the utilities in your own free or commercial games! Best of luck!

    • @KK-zx7mn
      @KK-zx7mn 3 роки тому

      @@CodeMonkeyUnity thanks a lot

  • @kewtomrao
    @kewtomrao 3 роки тому

    Can you make a tutorial on how u make game assets?

  • @onurbonceoglu
    @onurbonceoglu 3 роки тому

    This is my favourite type of video.

  • @coolboy9979
    @coolboy9979 3 роки тому +1

    Those kind of games are perfect for mobile, ever tried your hands on mobile games? I think a tutorial for a mobile app would be great

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  3 роки тому +4

      I've never made a Mobile game!
      As I was making this one I was thinking it would be cool to expand upon it, make it into a proper mini-game and document my process of launching my first mobile game. I think it would be an interesting video!

    • @coolboy9979
      @coolboy9979 3 роки тому

      ​@@CodeMonkeyUnity It sure would be especially since the market for mobile games grows and grows and with the devices becomming more powerful you can create awesome games.
      Also hearing your opinion on the process would be really interesting due to your massive amount of experience in desktop but "Zero" % in mobile. (Idk how much they differ, or if they even differ)

    • @page0809
      @page0809 3 роки тому +1

      @@CodeMonkeyUnity That is great idea, plz do that!

  • @PorthoGamesBR
    @PorthoGamesBR 3 роки тому +1

    How long do you work with game development? And how long did it take for you to start making games this fast?

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  3 роки тому

      I've been working in Unity for 8 years now and programming for over 20 so I have quite a lot of experience already.

    • @PorthoGamesBR
      @PorthoGamesBR 3 роки тому

      @@CodeMonkeyUnity Oooh, thats a lot of time! I only started to study programming two to three years ago and didnt take it serious untill 6 months ago. I finished my first complete game in unity less than a month ago (Collect & Trash, is in the play store). I hope to be as good as you when i have 8 years experience in unity

  • @psychopath6242
    @psychopath6242 3 роки тому +1

    I appreciate your efforts for this video, but can you please focus more on visual scripting, please? besides we are still waiting for the course you have shown us, thanks for all the tutorials and videos 😃👍👍

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  3 роки тому

      The course is already out! ua-cam.com/video/P-6QHQz_Snc/v-deo.html
      I'm also planning to do a few more separate videos on some specific things related to visual scripting like Return Events

    • @psychopath6242
      @psychopath6242 3 роки тому

      @@CodeMonkeyUnity thanks and by the way I have a question, how can I match more than one arrow to one script?

  • @NotAlshami
    @NotAlshami 3 роки тому +1

    Cool!

  • @Someone-kw6mw
    @Someone-kw6mw 3 роки тому

    The explosion satisfied me

  • @terry-
    @terry- Рік тому

    Nice!

  • @parvatiprabhu56
    @parvatiprabhu56 3 роки тому

    Sir pls make these kind of videos more

  • @AliHaider-jy1pr
    @AliHaider-jy1pr 3 роки тому

    Sir do you make more turorials on unity bolt scripting and also how to create 2D character and animate it .

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  3 роки тому

      Yup I intend to do some more Bolt tutorials, you can use the Unity animator to animate things ua-cam.com/video/W2z1BvnT0-o/v-deo.html

    • @AliHaider-jy1pr
      @AliHaider-jy1pr 3 роки тому

      Dont know how to do

  • @rustyonlife
    @rustyonlife 3 роки тому

    I had one of those Fred (from Cars) moments when you liked my comment. "He knows my name, he knows my name!!!!!"

  • @sharathsunny4557
    @sharathsunny4557 3 роки тому

    Could you make a udemy series for this one just like builder defender game. Wanted to learn the knowledge

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  3 роки тому

      The whole project is based on the Grid System that I covered in detail in several videos
      ua-cam.com/video/waEsGu--9P8/v-deo.html
      ua-cam.com/video/8jrAWtI8RXg/v-deo.html
      So if you watch all of the Grid system videos you should be able to recreate the same thing.
      You can also download the project files to see how the final project works.

  • @ApurboKhan.
    @ApurboKhan. 3 роки тому

    Can you make a series on making a building system like in rust. I've been trying but could not make it.

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  3 роки тому

      I made a freeform building system here ua-cam.com/video/EpMFOeOMInM/v-deo.html
      And you can use the Grid class as your underlying system ua-cam.com/video/8jrAWtI8RXg/v-deo.html
      But if you're looking for a 3D System where you look with the mouse and place individual walls and floors then I haven't covered that yet, might look into it!

    • @ApurboKhan.
      @ApurboKhan. 3 роки тому

      @@CodeMonkeyUnity I was looking for a base building system. If you can make a tutorial that would be great. 🙏

  • @user-cv3er1qj8y
    @user-cv3er1qj8y 3 роки тому

    Thank you~~~

  • @sreerajpp3583
    @sreerajpp3583 3 роки тому

    Awesome

  • @nikitadanilov9092
    @nikitadanilov9092 Рік тому

    I can't figure out where GemGrid came from

  • @juanlamanna2915
    @juanlamanna2915 Рік тому

    sos un genio mano

  • @Unknown-tz4rs
    @Unknown-tz4rs 3 роки тому

    Can someone help me with utils? i downloaded them on website but i cant set up them

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  3 роки тому

      You just take the .unitypackage file and drag into your Project Files window, that's it.

  • @juanlamanna2915
    @juanlamanna2915 Рік тому

    cual es el script de la main camera ?

  • @Unknown-tz4rs
    @Unknown-tz4rs 3 роки тому

    pls help me installing CodeMonkey utils i cant use it

  • @Cacowninja
    @Cacowninja 7 місяців тому

    0:00 Start

  • @duztine
    @duztine 2 роки тому

    Class "UnityEngine.Grid" does not have type parameters. Please help

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  2 роки тому

      The game uses my custom Grid class, not the built-in one unitycodemonkey.com/search.php?q=grid

    • @duztine
      @duztine 2 роки тому

      @@CodeMonkeyUnity I got it, thank you

  • @topievan190
    @topievan190 3 роки тому +1

    He made this in 6 hours, and im look at my dashboard and its says 6 hour ago, 😮😮😮😮😮

  • @sinofusall2080
    @sinofusall2080 3 роки тому

    codemonkey makin some monayyyy

  • @Someone-kw6mw
    @Someone-kw6mw 3 роки тому

    Plzzzzzzzzzzzzzz tell which photo editing software u use???
    😭😭😭😭😭😭😭😭😭

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  3 роки тому +1

      I use Photoshop

    • @Someone-kw6mw
      @Someone-kw6mw 3 роки тому +1

      ​@@CodeMonkeyUnity I thought you were using any free software
      BTW: how can I publish my game for Free???
      Please help me about game publish for free
      on any platform

  • @Berixist
    @Berixist 3 роки тому

    CHallenge: make this game on BOLT

  • @Cacowninja
    @Cacowninja 7 місяців тому

    1:30

  • @thejuice027
    @thejuice027 3 роки тому

    Can I see the entire 6 hour video?

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  3 роки тому

      That would require a ton of editing and it would not do well on UA-cam at all so cant do it.
      But you can download the complete project files and inspect all the code for yourself

    • @thejuice027
      @thejuice027 3 роки тому

      @@CodeMonkeyUnity actually I was hoping for something I could put in the background on the TV while I work. :P

  • @filmbox773
    @filmbox773 3 роки тому

    Hi

  • @Sterlinxvii
    @Sterlinxvii 3 роки тому

    Op

  • @theverybigpotat7228
    @theverybigpotat7228 3 роки тому

    The 7th person

  • @ahmedd2271
    @ahmedd2271 3 роки тому

    man up from 200 code how i do 68 and i think i am pro

  • @HOCIJIKA
    @HOCIJIKA Рік тому

    Awesome Thanks, bro!

  • @changedchannelname8440
    @changedchannelname8440 3 роки тому +1

    Make a among us clone

  • @Riodragon1
    @Riodragon1 3 роки тому

    i made game in 5hours , i made art in 2hour , i made , i made , i made . i made.......................... bla blablaaaaaaaaaaaaa

  • @arcday4281
    @arcday4281 3 роки тому

    Coding monster ! I don't know how long it would have taken me, maybe months )))

  • @CyberAngel67
    @CyberAngel67 3 роки тому

    The source code for this, has a lot of broken scripts and missing textures.

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  3 роки тому

      What broken scripts? Are you using the Universal RP?

    • @CyberAngel67
      @CyberAngel67 3 роки тому

      @@CodeMonkeyUnity no. I wasn't using URP. However, once i created a URP project all was good.

  • @DeadRabbitCanDance
    @DeadRabbitCanDance 3 роки тому

    Stupid and not interesting game, but Great channel and best tutorials!

  • @androidgaming346
    @androidgaming346 3 роки тому

    1 Min

  • @andriistartsev
    @andriistartsev 3 роки тому

    Nice video, but it definitely not "clean code", sorry :) Clean code means that it is easily maintainable and readable. To make it at least readable there is a lot of refactoring that has to be done. For instance, you show huge methods with lots of nestings, there are even comments to not forget what is going on there. Why not split these places into small methods? A good practice is to have not more than 10 lines per method and not more than one nesting.
    PS: Again, sorry, but my ears become bleeding when I hear "clean code", which is barely possible to read if you are not in context.

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  3 роки тому

      Which part specifically do you find to be dirty? Naturally since I recorded the whole process of making the game the code doesn't come out perfectly clean as I write it for the first time. I do clean it up as I go along.
      You can download the project files with all the source code included and see the final code for yourself. It is all very logic and nicely separated.

    • @andriistartsev
      @andriistartsev 3 роки тому

      @@CodeMonkeyUnity, Unfortunately, I can't download this project right now, because of:
      "Project Files for this Video are currently exclusive to Patreon for 7 days".Hope that you're right and the last version looks much cleaner.
      You asked to show code which looks dirty: 1:45, 4:06, 4:40, 5:12, 5:36, 9:45, 10:35 etc.
      I understand that youtube is not the best platform to make code reviews, better to do it on specific platforms like GitHub or similar.
      This would help to explain doubts and give the possibility to write code examples.
      But anyway you are doing a great job, keep going!

    • @CodeMonkeyUnity
      @CodeMonkeyUnity  3 роки тому

      @@andriistartsev What do you find dirty at 1:45? The logic seems all extremely clear to me, the Bot waits for the Waiting state, then gets all possible moves, finds the best one and runs it.
      There's nothing in that code that I would change, everything is as clear as can be.

    • @andriistartsev
      @andriistartsev 3 роки тому

      ​@@CodeMonkeyUnity 1. Why do you pass as a parameter default EventArgs, isn't it better to pass Match3Visual.State instead? If you don't want to create a specific EventArgs class, you can declare your event as " public event Action OnStateChanged"
      2. Why do you need this switch statement with one case? It could be substituted with one line "if (state != State.WaitingForUser) return;". This will reduce unnecessary nesting;
      3. Instead of writing the comment "Try to solve", why not create a method with the same name and move the below code in?
      4. Inside foreach you can leave just ONE if statement: "if (possibleMove.GetAmount() > (bestMove?.GetAmount() ?? -1)) {...}"'. Btw this comparison inside "if" also could be extracted in a method with a readable name i.e. CompareMoves...
      5. Line 36: What do these "magic" numbers inside parentheses mean? Doesn't it better to have a separate method with the clear name for this line?
      PS: I am not waiting for answers to the questions above, as I said youtube is a not place for code review. Just want to point out why I started this discussion.

    • @Pookzob
      @Pookzob 3 роки тому

      It's nit picking but each state could be it's own class so the state changed method only finds the new state class and tells it to execute via IState state = GetState() and then state.Execute().
      Also each state class can return another state so you'd never need the get state method at all.
      Or you could use extract method so the switch just reads like instructions.
      Then again for most projects and especially of one of this size this is perfectly readable to me. No need to overengineer.
      Just nit picking. I'd let this code pass a code review at this stage and size of the game.

  • @thatone.donkey713
    @thatone.donkey713 3 роки тому

    The last time I was this early
    Biden was still president

  • @NMPDelta
    @NMPDelta 3 роки тому

    Nice!