I know how many comments have already said the same thing but this was shockingly concise and well made. You perfectly quickly explain everything so well. You've earned my subscription sir.
I have a whole lot of concept art for a 2d top down game and these tutorials really helped, there is a lot of stuff I’m still trying to figure out like how I’m going to animate my sprites and a lot more, but I saved some of your tutorials to a playlist I will watch them all on repeat until I can understand it well
im making a small indie game with 2 of my friends and i have NEVER touched unity in my life and this tutorial helped me figure out movement enough to get the basics of the game
0:58 Small tip: if you make simple 2d top down game and don't need gravity or physics that much, you should change rigidbody2d -> body type from Dynamic (default) to Kinematic instead. So you don't have to worry about forgot set this thing up or something made up. Good luck on your journey!
@@koolkiller35 You can refer here in 1:28 and 2:09 ua-cam.com/video/xp37Hz1t1Q8/v-deo.html Also you have to know that in unity when you build something in your scene event you build in 2D world basicly it's still happen in 3D that why you can switch it's properly and you can check in RigidBody2D -> Constraints -> Freeze rotation Z which is height value of 2D object in 3D world to prevent it's had strange behavior when interacting and have behavior of 3D world like floating around.
Had to rewatch on .75 and .5 speed and pause, but this is not a video about copying your code, simple explanations, right to the point, even just enough of extra info about some codeline, keep it up and thank you for your help
You, good sir, are a freaking LIFE SAVER. I was looking everywhere for a simple tutorial on this, and by God, you made it stupidly easy. Thanks to you I overcame a simple, yet seemingly insurmountable obstacle. THANK YOU! :)
Nice video. Amazing how you can get full movement for top down in a 7 minute video. A lot of other tutorials drag on for like half an hour to achieve the same outcome. This is one of my 5* tutorials, which I keep in a folder for future reference.
anyone who got stuck on the scripting bit. like me. i was missing the extensions in visual studio code. you just need the c# one but you'll also need .net framework 7 and the 4.7.1 devpack ( forgot full name) once i got those i had all the needed links after that it was a breeze. also at end my character wouldn't move and i had all the spelling and so on correct in the code the issue was super simple. i had to capitalise the H and V in horizontal and vertical. drove me mad but wanted to share because this video works but my road was bumpy cause those factors. liked and subbed mate spot on thank you
FYI you can just put * speed in the process input float and put rb.velocity = moveDirection in void move and it will work just as fine as rb.velocity = new Vector2 (movedirection.x, movedirection.y)
I was stuck using AddForce from a different tutorial, and I couldn't for the life of me figure out, or find the syntax for other movement types. Not only that, even had I found Velocity, the way it is implemented is different than the AddForce was... so I would've been lost regardless! Now, we have a very straightforward, and easy to understand multidirectional movement!
More than a year old but this still holds up! Only nitpick is I wish you'd linger on your code for a second or two after you've finished typing rather than just zipping back over to Unity, gives me a chance to pause so I can fully read what you've done.
hi i am russian and i don’t even know if i am writing correctly because through a translator. i didn’t think i would switch to english courses but i switched thanks to you
i literally love you. Thx for this, pls keep making short videos like this. For example make a one tutorial about how to make 2d map work properly, making game interface etc.
Wow thank you so much, i found it hard to follow on in other peoples videos but you did a really good job at explaining the code and how it is used, so thanks a lot!!!
@@alexanderschmid6251 If you can't make use of this video to make such easy mouvements maybe it's time to rethink your programming skills and creativity just saying... This video is perfect since he uses physics and the inputs are perfectly managed (I'm not insulting btw it's just what I think)
Really nice video, explained everything really well and very clear. I'm still a beginner for unity and my first real project is making the Atari game from the film Ready Player One and this video was an absolute godsend.
Great video, I was stuck for hours before. what interpreter are you using? I think mine is basic c#, and I even downloaded Unity for Visual Studio Code.
I have been trying to learn basic top down movement like this for the past couple days. I have no C# experience, but this is the only video where the code actually worked and I learned what it meant. Will definitely watch more videos, thanks!
Simple Easy to follow along To the point with out any unnecessary assets or utility files to import. As someone who's just gotten into the gamedev, Thank you! I've been trying to learn basic concepts and techniques and I keep hitting walls because a lot of "beginner" tutorials will skip explaining/showing 1 or 2 really basic code that is essential to making a script work, or have assets preloaded and then never reference them in the tutorial. I've had to stop (after much frustration and time invested) a number of them and then look for how to do X, just to move forward. So a big thank you for keeping it short and sweet w/out any other unnecessary dependencies.
your tutorials are really short doable and amazing its better than brackeys brackeys just acts like everyone knows what everything is and does so its not really great for beginners like me so thank you b mo also i love how you reply interact and help people example- (you helped me on discord with the typo errors and the main menu so i appreciate you BMo
Do you have your VS Code editor formatting method blocks in K&R style as you type or are those subtle jump cuts? I'm going crazy trying to get VSCode C# to stop doing Java style curly braces. Even the Unity snippet extension I'm using formats it that way, but the auto formatter fixes it when I hit the hotkey. I just want the lightweight-ness of Code with the feeling of Studio typing ahhh
Is there a reason you received the inputs and put them into the moveDirection vector only to separate the components again with: rb.velocity = new Vector2(moveDirection.x * movespeed, moveDirection.y * movespeed); Could you just do: rb.velocity = new Vector2(moveX * movespeed, moveY * movespeed);
Unity..... We I've been working on Android Studio, but its a lot harder to make your own gravity, and collisions. And I followed this tutorial and successfuly made my , lets say game. Btw thanks a lot for simplicity and showing us that C# is very easy. Java is fuckin hard😁😁😀👌
Haha no doubt! There's something respectable by making games from scratch, but hard to compete with when engines like Unity and Unreal have large teams of top talent to put in the grunt work for us. Glad you could get it working, nice job!
I remembered, it took me 1 month to just make my own gravity and collisions for 2D game in Android Studio, but Unity doses all that for you, which makes it so easy to use. 1 month vs 10 minutes. It is easy for me cause C# and Java are pretty similar
BRO I love you instead of just showing the code you also explain it even though it's 3 years old this is one of the few tutorials I respect
I know how many comments have already said the same thing but this was shockingly concise and well made. You perfectly quickly explain everything so well. You've earned my subscription sir.
Simple, straight to the point and only 7 minutes long. Love it.
That's what she said.
People who gives their knowledge for free, r a other kind of hero. U r kinda saving lives if I think deep about it. Gj!
I have a whole lot of concept art for a 2d top down game and these tutorials really helped, there is a lot of stuff I’m still trying to figure out like how I’m going to animate my sprites and a lot more, but I saved some of your tutorials to a playlist I will watch them all on repeat until I can understand it well
im making a small indie game with 2 of my friends and i have NEVER touched unity in my life and this tutorial helped me figure out movement enough to get the basics of the game
I appreciate your speed and conciseness! Other tutorials are finishing up their promotions and introduction at 7:20
*cough* *cough* brakeys *cough* *cough"
@@sofisticated1940 Don't disrespect the legend himself.
kids hating on brackeys
Short, simple, and it works! As an artist trying to learn code, thank you!
0:58 Small tip: if you make simple 2d top down game and don't need gravity or physics that much, you should change rigidbody2d -> body type from Dynamic (default) to Kinematic instead. So you don't have to worry about forgot set this thing up or something made up. Good luck on your journey!
I'm sorry I'm new to coding and don't understand. Can you explain that in a bit more detail?
@@koolkiller35 You can refer here in 1:28 and 2:09 ua-cam.com/video/xp37Hz1t1Q8/v-deo.html
Also you have to know that in unity when you build something in your scene event you build in 2D world basicly it's still happen in 3D that why you can switch it's properly and you can check in RigidBody2D -> Constraints -> Freeze rotation Z which is height value of 2D object in 3D world to prevent it's had strange behavior when interacting and have behavior of 3D world like floating around.
@@koolkiller35in the rigid body where u adjust the gravity, there is an potion called "bodytype" change that from dynamic to kinematic
Good shout honestly
best tutorial! telling my friends to come here if they want to learn game dev
Had to rewatch on .75 and .5 speed and pause, but this is not a video about copying your code, simple explanations, right to the point, even just enough of extra info about some codeline, keep it up and thank you for your help
You, good sir, are a freaking LIFE SAVER. I was looking everywhere for a simple tutorial on this, and by God, you made it stupidly easy. Thanks to you I overcame a simple, yet seemingly insurmountable obstacle. THANK YOU! :)
This is perfect for underwater movement. Thank you for this tutorial!
FINNALY a video that will work! i've lost my hair trying to find a top down movement tutorial
Nice video. Amazing how you can get full movement for top down in a 7 minute video. A lot of other tutorials drag on for like half an hour to achieve the same outcome. This is one of my 5* tutorials, which I keep in a folder for future reference.
Thanks so much for this tutorial! I'm getting back into game dev after a long break and this tutorial was super helpful to me!!!
Love to hear it, keep going! Feel free to share your progress in the discord would love to see what you make!
same here!
Everything that I needed was here all the time...thanks for sharing your skills.
Thanks! I did this and linked it with the Animator StateMachine- with the Horizontal and Vertical inputs - to make very smooth-looking movements.
Ayy nice work! You're ahead of the game, that was going to be a followup video :)
@@BMoDev That's great to hear! Looking forward to watching the next.
anyone who got stuck on the scripting bit. like me. i was missing the extensions in visual studio code. you just need the c# one but you'll also need .net framework 7 and the 4.7.1 devpack ( forgot full name) once i got those i had all the needed links after that it was a breeze. also at end my character wouldn't move and i had all the spelling and so on correct in the code the issue was super simple. i had to capitalise the H and V in horizontal and vertical. drove me mad but wanted to share because this video works but my road was bumpy cause those factors. liked and subbed mate spot on thank you
TNice tutorials is THE most helpful tutorial on UA-cam imo. I am starting production in Hardstyle, and I find soft soft really useful
I love how straight to the point this is. :)
Thank you so much for this tutorial. I am currently working on a procedurally generated dungeon game, and this helped me get started. Great video!
Appreciate it! Would love to keep tabs on your game
OMFG the best tutorial easy to follow and I learned soooo much KEEP GOING
No doubt, glad it helped!
getting watched latered for the rest of my days thank you
Great tutorial. If anyone's Vector2 is an issue, delete "using System.Numerics;" if it's in your Visual studio code. That fixed it for me
Thanks for sharing!
FYI you can just put * speed in the process input float and put rb.velocity = moveDirection in void move and it will work just as fine as rb.velocity = new Vector2 (movedirection.x, movedirection.y)
I was stuck using AddForce from a different tutorial, and I couldn't for the life of me figure out, or find the syntax for other movement types. Not only that, even had I found Velocity, the way it is implemented is different than the AddForce was... so I would've been lost regardless! Now, we have a very straightforward, and easy to understand multidirectional movement!
im learning game design for a class project and this was helpful. thank you!
More than a year old but this still holds up! Only nitpick is I wish you'd linger on your code for a second or two after you've finished typing rather than just zipping back over to Unity, gives me a chance to pause so I can fully read what you've done.
It scares me how good theses tutorials are!
Wow appreciate it
surprisingly hard to find videos about top down movement and this tutorial was very helpful
I've always thought that too, np
hi i am russian and i don’t even know if i am writing correctly because through a translator. i didn’t think i would switch to english courses but i switched thanks to you
Кстати я тоже русский
Super easy to follow tutorial!! We STAN Bmo 😎
your comments actually make me laugh everytime
Not really. I'm doing Unity the first time and he is just jumping around. It should be slower for a tutorial.
It would be really helpful when you jump around in the code to show the finished line of code for longer than 1ms before cutting to the next frame
Thank you, your tutorial is the only one working on all of the videos I searched
i literally love you. Thx for this, pls keep making short videos like this. For example make a one tutorial about how to make 2d map work properly, making game interface etc.
LOVE how you explains stuff. so clear!
Omg this is so much simpler and a better explanation than 3 other videos
Short and concise! Thank you!
Ty bro, short tutorial, not some complicated code, this is great Im leaving like and subscribe!
Thank you so much for this tutorial
You bet hope it helped!
Thank you so much for explaining why you did the things you did! It really helped me learn!
Wow thank you so much, i found it hard to follow on in other peoples videos but you did a really good job at explaining the code and how it is used, so thanks a lot!!!
It's the best unity tutorial video I ever seen
THANK YOU VERY MUCH GOD BLESS YOU. THE ONLY TUTORIAL I COULD FOLLOW AND IT WORK.
Loved the way you explain things! subbed ;)
Thanks!
Went way too fast at times and even cut away like 1 frame before you finished typing a line of code but I was able to make it work.
I can't type I need help
@@Ivy_olive_catswhy are you coding then
Omg, glad you’re ok!
Yeah my problem but I can't make it work
Thank guy, have a good day
These videos help so much, my mind just gets stuck somedays and its hard to make even a simple start
I simply can't understand why you have 2 dislikes, thank you so much !!!
Appreciate the kind words! Hope it helped
@@BMoDev i cant add my script to player :/
edit: or i can add it on the player
@@BMoDev i wanted to make movement like in zooba or in brawl stars sry but this didnt help me
Now he has 19
@@alexanderschmid6251 If you can't make use of this video to make such easy mouvements maybe it's time to rethink your programming skills and creativity just saying... This video is perfect since he uses physics and the inputs are perfectly managed (I'm not insulting btw it's just what I think)
Thank you so much for the quick and easy explanations.
Thanks!
This is a very simple and good tutorial! I had trouble finding a tutorial that was easy to follow so thank you very much :)
Awesome, happy to hear that!
this is the most helpful vid in movement thanks
Glad it helped!
thanks for showing finally able to get my little rpg going!
Thanks for the video, even though it was made long ago it is still useful! :)
Thanks! Unity hasnt changed that much so most older videos still apply just fine!
great value in this, plus your voice is really nice. gonna go check out your other videos now!
Really nice video, explained everything really well and very clear. I'm still a beginner for unity and my first real project is making the Atari game from the film Ready Player One and this video was an absolute godsend.
Great video, I was stuck for hours before.
what interpreter are you using? I think mine is basic c#, and I even downloaded Unity for Visual Studio Code.
I have been trying to learn basic top down movement like this for the past couple days. I have no C# experience, but this is the only video where the code actually worked and I learned what it meant. Will definitely watch more videos, thanks!
Nice job!
hey, having trouble for some reason on ln22 col5 (fixed update) and cant figure out why. any ideas?
Thank you man! I am making a game and this really helped thank you so much!
Thank you, it helped me, and was pretty simple.
Thank you so much for this
Sure thing!
Nice video man, clear and concise explanation! Thanks a lot!
Thanks for the turorial. The best one I found.
Appreciate ya 🙏
Simple
Easy to follow along
To the point with out any unnecessary assets or utility files to import.
As someone who's just gotten into the gamedev, Thank you!
I've been trying to learn basic concepts and techniques and I keep hitting walls because a lot of "beginner" tutorials will skip explaining/showing 1 or 2 really basic code that is essential to making a script work, or have assets preloaded and then never reference them in the tutorial.
I've had to stop (after much frustration and time invested) a number of them and then look for how to do X, just to move forward. So a big thank you for keeping it short and sweet w/out any other unnecessary dependencies.
Thanks for the tutorial, you are very help me, Thank you again))
I love the quick pace of this tutorial! Super easy to follow. Do animation plz :))))
Awesome! Animation is definitely one of the upcoming videos
@@BMoDev Looking forward to it :D
your tutorials are really short doable and amazing its better than brackeys
brackeys just acts like everyone knows what everything is and does so its not really great for beginners like me so thank you b mo also i love how you reply interact and help people example-
(you helped me on discord with the typo errors and the main menu so i appreciate you BMo
Well I appreciate you watching, thanks! :)
very helpful, thanks man
love it. it really helped
This helped me a lot thank you
Thanks for the tutorial. The intellisense of my VS Code is not working properly; at 2:26, I type "Rigid" and nothing happens. How can I solve this?
yes the same thing was happening to me
You need to set your IDE settings in unity. You do it through preferences
@@mr.bluesman9879 how do i do that?
do u have c# extension
Do you have your VS Code editor formatting method blocks in K&R style as you type or are those subtle jump cuts? I'm going crazy trying to get VSCode C# to stop doing Java style curly braces. Even the Unity snippet extension I'm using formats it that way, but the auto formatter fixes it when I hit the hotkey.
I just want the lightweight-ness of Code with the feeling of Studio typing ahhh
Super helpful, amazing, fabulous.
Thank you 🙏
Sos un capo, master, idolo, crack, genio, lo explicaste bastante bien
You´re tutorial is awesome! Thanks a lot!!
Appreciate it!
Can someone give me finished script? I want to compare it
Sure
Great video! Short and very clear
Thanks, keep it up!
Very good video. Thanks!
Thank you so much very good tut!!
Thanks, very cool :D
Great video thank you :D
THX helped a lot
I’m done with trying to learn game developing
Is there a reason you received the inputs and put them into the moveDirection vector only to separate the components again with:
rb.velocity = new Vector2(moveDirection.x * movespeed, moveDirection.y * movespeed);
Could you just do:
rb.velocity = new Vector2(moveX * movespeed, moveY * movespeed);
Loved this tutorial, it was very easy and quick. Thank you!
You are a life saver
this is really good! is there a good way to add momentum to the movement?
you really helped me thank you
You bet!
great stuff
Appreciate it!
I followed the tutorial step by step, but it doesnt work. did i do anything wrong?
You probably are using a newer version of Unity
what're your extensions? and how did you show the reference tag on your code?
He is using vscode, im pretty sure its built in. if not try installing the c# exstension
Unity..... We I've been working on Android Studio, but its a lot harder to make your own gravity, and collisions. And I followed this tutorial and successfuly made my , lets say game. Btw thanks a lot for simplicity and showing us that C# is very easy. Java is fuckin hard😁😁😀👌
Haha no doubt! There's something respectable by making games from scratch, but hard to compete with when engines like Unity and Unreal have large teams of top talent to put in the grunt work for us. Glad you could get it working, nice job!
I remembered, it took me 1 month to just make my own gravity and collisions for 2D game in Android Studio, but Unity doses all that for you, which makes it so easy to use. 1 month vs 10 minutes. It is easy for me cause C# and Java are pretty similar
thanks this is really helpful, cant believe my drawing can actually move lmao
Wooo lets goo, the next game of the year inbound!
What Visual Studio Code theme are you using? I really like the one.
I think its monokai
thank you!
THANK YOU!
Thanks for this! I can't see the full script at the end..can you share?