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
🌐 Have you found the videos Helpful and Valuable?
❤️ Get my Courses unitycodemonkey.com/courses or Support on Patreon www.patreon.com/unitycodemonkey
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.
@@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.
💬 How do you like this new format?
It allows me to make Complete Games faster which allows me to cover more genres
@@rich2_1877 me too
I vote for Dungeon Keeper / Dwarf fortress / Factorio in client-server vision ;-)
Great, can't wait to see more!
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.
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.
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
woah, four days of work for a job interview project...
yall b getting this for job interviews whilst i have to make it as my 1st semester uni project???
I'm so happy that I see the Patreons list grow, but you really deserve a lot more! Great video CM!
This was freakin awesome! You rock, CM! Keep at it!
it is really inspiring to see how someone creates games in a short amount of time!
you should definetely make more of those!
Great Video! With really nice insights and examples of a great dev work flow.
Amazing, shows how much having experience levels up your programming skill.
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.
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. )
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
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
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 :)
I liked! I need to see more videos like this. Keep it up!
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
Pretty good timing, under 6h for that many features, not bad, not bad at all! Well done!
You have done an insane amount of work in 3 hours!!!!👍🏼👍🏼
Awesome, valuable and informative. I hope one day I will make a game like this one. Thanks a lot.
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.
Cool. Well done! 🤓👍
I like this type of video it gives good insight into your thought process
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
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?
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.
yes would love to see more content like this
Great video! Really interesting!
Such Videos are more helpful than others,Please let them keep coming.
I love this type of videos!!!❤❤
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?
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!
Hi loved the vid I am a beginner I had a question where should I modify the code to add a turn based system!
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.
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.
I never saw a 3D game by u
I made the Wash your Hands game in 3D ua-cam.com/video/q9pe-wH7eZ8/v-deo.html
@@CodeMonkeyUnity but did you wash your hands?
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.
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
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.
@@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.
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.
So you're saying you got some experience and level up? Nice!
Can you explain or make a video of flood fill algorithm in this project or in any other project ?
@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.
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!
@@CodeMonkeyUnity Bless you code monkey. Serious a big help! Love what you do
I would prefer the tutorials or even a full devstream.
oh yeah, just like your games bro keep it up
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?
What error? Everything seems fine on my end
@@CodeMonkeyUnity Restarted chrome and it downloaded. Weird. Guess I was that unlucky one in a million right then!
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.
My friend, do you have any video on how to animate those characters that you did?
I covered how my animation system works here ua-cam.com/video/11c9rWRotJ8/v-deo.html
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?
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.
Good job man
wow the vid is awesome i love it ✨ @Code Monkey u should make a discord server if u have discord
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.
The "other video" you mention is related to machine learning? If so, yay!
Not exactly but similar!
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.
The game is using the Universal Render Pipeline, if you use the built-in render pipeline then yes everything shows up as pink
@@CodeMonkeyUnity Thanks for your quick answer!
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 (:
Hey can i use your codemonkey utilities package in my commercial game or is there any royalty fee
Yup feel free to use the utilities in your own free or commercial games! Best of luck!
@@CodeMonkeyUnity thanks a lot
Can you make a tutorial on how u make game assets?
This is my favourite type of video.
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
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!
@@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)
@@CodeMonkeyUnity That is great idea, plz do that!
How long do you work with game development? And how long did it take for you to start making games this fast?
I've been working in Unity for 8 years now and programming for over 20 so I have quite a lot of experience already.
@@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
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 😃👍👍
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
@@CodeMonkeyUnity thanks and by the way I have a question, how can I match more than one arrow to one script?
Cool!
The explosion satisfied me
Nice!
Sir pls make these kind of videos more
Sir do you make more turorials on unity bolt scripting and also how to create 2D character and animate it .
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
Dont know how to do
I had one of those Fred (from Cars) moments when you liked my comment. "He knows my name, he knows my name!!!!!"
Could you make a udemy series for this one just like builder defender game. Wanted to learn the knowledge
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.
Can you make a series on making a building system like in rust. I've been trying but could not make it.
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!
@@CodeMonkeyUnity I was looking for a base building system. If you can make a tutorial that would be great. 🙏
Thank you~~~
Awesome
I can't figure out where GemGrid came from
sos un genio mano
Can someone help me with utils? i downloaded them on website but i cant set up them
You just take the .unitypackage file and drag into your Project Files window, that's it.
cual es el script de la main camera ?
pls help me installing CodeMonkey utils i cant use it
0:00 Start
Class "UnityEngine.Grid" does not have type parameters. Please help
The game uses my custom Grid class, not the built-in one unitycodemonkey.com/search.php?q=grid
@@CodeMonkeyUnity I got it, thank you
He made this in 6 hours, and im look at my dashboard and its says 6 hour ago, 😮😮😮😮😮
Illuminati
codemonkey makin some monayyyy
Plzzzzzzzzzzzzzz tell which photo editing software u use???
😭😭😭😭😭😭😭😭😭
I use Photoshop
@@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
CHallenge: make this game on BOLT
1:30
Can I see the entire 6 hour video?
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
@@CodeMonkeyUnity actually I was hoping for something I could put in the background on the TV while I work. :P
Hi
Op
The 7th person
man up from 200 code how i do 68 and i think i am pro
Awesome Thanks, bro!
Make a among us clone
I still have to play that!
i made game in 5hours , i made art in 2hour , i made , i made , i made . i made.......................... bla blablaaaaaaaaaaaaa
Coding monster ! I don't know how long it would have taken me, maybe months )))
The source code for this, has a lot of broken scripts and missing textures.
What broken scripts? Are you using the Universal RP?
@@CodeMonkeyUnity no. I wasn't using URP. However, once i created a URP project all was good.
Stupid and not interesting game, but Great channel and best tutorials!
1 Min
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.
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.
@@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!
@@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.
@@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.
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.
The last time I was this early
Biden was still president
he still is tho...
@@atomicalex1732 oh wait I'm in 2020.
Nice!