TOP DOWN MOVEMENT in Unity!

  Рет қаралды 1,218,663

Brackeys

Brackeys

4 жыл бұрын

Let's have a look at the easiest and best way to make top-down movement in Unity!
Get costumized art for your game with Outstandly! www.outstandly.com/art_for_ga...
👾 JOIN THE GAME JAM!! itch.io/jam/cgj
Thanks to everyone participating in the planning of the jam:
BlackThornProd: bit.ly/2GqgkqO
Dani: bit.ly/2LvNI2M
Jabrils: bit.ly/2gGV67R
Sykoo: bit.ly/2Oxxftv
Thanks to the amazing Brackeys Discord Staff:
AquaXV
CodeMyst
Job
TheDutchMagikarp
Yilian
····················································································
❤️ Donate: www.paypal.com/donate/?hosted...
► Join Discord: / discord
● Website: brackeys.com/
● Twitter: / brackeystweet
● Instagram: / brackeysteam
········································­­·······································­·­····
► All content by Brackeys is 100% free. We believe that education should be available for everyone.
❤️ Donate: www.paypal.com/donate/?hosted...
········································­­·······································­·­····
♪ "ES_Dress Code_Black - oomiee" by Epidemic Sound

Пікірлер: 1 700
@dylanbarnes1007
@dylanbarnes1007 4 жыл бұрын
I WOULD LOVE TO SEE GAMES BEING BROKEN DOWN, EXPLAINED, AND COMPARED!
@xxsaqaloloxx3607
@xxsaqaloloxx3607 4 жыл бұрын
Awesome
@evepto7148
@evepto7148 4 жыл бұрын
Extra me too!
@TheFelipeBZ
@TheFelipeBZ 4 жыл бұрын
Would be awesome!
@Marc142000
@Marc142000 4 жыл бұрын
+30
@lucas.is.online
@lucas.is.online 4 жыл бұрын
WHY ARE YOU YELLING?
@talmoshel8943
@talmoshel8943 4 жыл бұрын
That breakdown idea could be AMAZING! Please make it!
@sizzzle1776
@sizzzle1776 3 жыл бұрын
no replies wth?
@ved7108
@ved7108 3 жыл бұрын
2 replies
@parmesanplanet7434
@parmesanplanet7434 3 жыл бұрын
3 replies
@V1king_Person
@V1king_Person 2 жыл бұрын
4 replies
@anuj-1659
@anuj-1659 2 жыл бұрын
5 replies
@acetonyart
@acetonyart 2 жыл бұрын
if your Player is moving faster diagonally, write: rb.MovePosition(rb.position + movement.normalized * moveSpeed * Time.fixedDeltaTime); in Fixed Update :)
@lax9192
@lax9192 2 жыл бұрын
Thanks! That was a weird thing I didn't notice till you pointed it out.
@Nuan07
@Nuan07 2 жыл бұрын
If anyone gets stuck on this, it has to be in American, not standard English, normalised does not work.
@Skoaqua
@Skoaqua 2 жыл бұрын
@@Nuan07 he says normalized
@billywhizz09
@billywhizz09 2 жыл бұрын
ty for this tip
@albanfrangu9844
@albanfrangu9844 2 жыл бұрын
How can i remove diagonal movement ?
@Highwind_
@Highwind_ 3 жыл бұрын
Timestamps for quick reference on animations. 8:55 Animations 12:41 The Animator 14:20 Blend Tree
@Sputterbugz
@Sputterbugz 2 жыл бұрын
thanks!
@BananaWasTaken
@BananaWasTaken Жыл бұрын
1:50 start
@DrockThe1st
@DrockThe1st 9 ай бұрын
thank you
@katowo6521
@katowo6521 4 жыл бұрын
you should normalize the movement vector Instead of scaling -1 on the x axis you can flip it using the sprite renderer toggle
@Brackeys
@Brackeys 4 жыл бұрын
Very good suggestions, 100% agree with both, pinned! :D
@Sientir
@Sientir 4 жыл бұрын
For those that don't know, the reason you want to normalize the movement vector is to avoid making diagonal movement faster by a factor of approximately 40%. This happens because when you move diagonally without a normalized vector (which has a magnitude of 1), you get a vector with a magnitude of the square root of 2, which is approximately 1.4. It wasn't uncommon to find old FPS games (such as Goldeneye for the N64) that didn't normalize their diagonal movement, and thus running diagonally in those games is, as mentioned, noticeably faster than working forward/backward or strafing.
@1e1001
@1e1001 4 жыл бұрын
problem with normalizing is when you have a controller and only move a little bit
@nezbitnezbit5397
@nezbitnezbit5397 4 жыл бұрын
Do you mind telling us how to do that?
@Sientir
@Sientir 4 жыл бұрын
@@nezbitnezbit5397 I believe you can just call "normalize" on a Vector2, Vector3, etc. Mathematically, you divide the vector by its magnitude to normalize it.
@titaniawallace3919
@titaniawallace3919 4 жыл бұрын
Thanks for uploading this, I was actually looking at some other KZbin videos and obscure articles trying to figure out this exact topic, this definitely made it easier
@leogcavalli
@leogcavalli 4 жыл бұрын
Thanks to you, my life took a direction. I had no idea which profession to choose, totally unmotivated with my college. I want to graduate, but I don't see myself working in the area (Electrical engineering). After watching your videos, I found myself in game development and that's what I've been doing as a hobby for some time. I've never been so happy and ambitious. Thank you so much for teaching us for free.
@arnmazing3156
@arnmazing3156 4 жыл бұрын
Same, I got an associate's in computer programming because I wanted to be a developer. At the time I thought an associates in programming is more practical than a bachelors in computer since I only really need to learn how to code. Learned how to code in static languages java, c#, c++, and c which made learning other languages easier. Most of the time I just read other people's code and is enough to understand what's going on without the need for explanation.
@Raylative
@Raylative Ай бұрын
That’s heart warming. !!!
@leogcavalli
@leogcavalli Ай бұрын
Well, it's been 4 years now, and I couldn't be better! Drop out of my degree and got deep into game development and programming. Managed to make a living out of it, paid for a huge wedding and a big house. All of it in 4 years, and this was the kick-off. There are places in the world where people don't have the freedom to chase their dreams. If life is giving you the opportunity to chase yours, go for it! Everything is gonna be alright
@tehslick94
@tehslick94 3 жыл бұрын
A simple way to flip the animation (For walking left): In animation window, click add property -> sprite renderer -> flip x
@TheStelzi
@TheStelzi 3 жыл бұрын
I run into the problem, that when i use the Animator with the Blend tree, that when i try to run right, it shows me the animation of running left - is this common with the mirror solution or did i mess smth up?
@ImInfenix
@ImInfenix 3 жыл бұрын
@@TheStelzi The solution is giving is only half true. By clicking it in inspector you don't change it according player input. What you can do however is to reference the sprite renderer in your script and use a condition to set spriteRenderer.flipX to true only when movement.x is negative. I think this should work: SpriteRenderer spriteRenderer; void Start() { spriteRenderer = Getcomponent(); } void Update() { //Existing code from the video spriteRenderer.flipX = movement.x < 0.01 ? true : false; } Just complete the code with it and it should work :)
@TheStelzi
@TheStelzi 3 жыл бұрын
@@ImInfenix Thanks for your answer! I will try this approach as well :)
@yasg5922
@yasg5922 3 жыл бұрын
While this does work, it will only flip the sprite not the collider.
@fablevods
@fablevods 3 жыл бұрын
@@ImInfenix idk what your talking about but for me I just made a new clip in animation called it Player_Walk_Left then put the right side anims in their and added a sprite flip x property works fine for me
@Mando9854
@Mando9854 3 ай бұрын
Out of all the videos i've watched for top down animation, this is the simplest and most easiest to understand. Seriosly, it was apain releiver, thank you so much.
@MikeArcuri
@MikeArcuri 3 жыл бұрын
This was great! First time using blend trees and spritesheet animations in Unity, and I got it the first time with this lesson.
@ForciblySquished
@ForciblySquished 3 жыл бұрын
This was SO, SO HELPFUL! As someone with literally no coding knowledge, I thank you very much for making this so easy!
@dillonahchay6796
@dillonahchay6796 2 жыл бұрын
Thank you so much for this guide, this is my first time using unity and c# programing and this guide made it easy to do, even with small inconviences with the newer software. keep making these as it helps more than you think, great work
@TheMaitreC
@TheMaitreC 4 жыл бұрын
Of course we would like to hear about how a specific feature of a game is made! Please do it Brackeys!
@Simon-tb6tn
@Simon-tb6tn 4 жыл бұрын
6:48 brackeys is metagaming he knows he'll make a video to cover topics that aren't a thing yet
@wilkieroyall3507
@wilkieroyall3507 3 жыл бұрын
@@DolphLOL jeez you need to chill
@TheDemopan3
@TheDemopan3 3 жыл бұрын
@@wilkieroyall3507 did someone delete a reply?
@coolbeans8556
@coolbeans8556 3 жыл бұрын
@@TheDemopan3 it would appear so
@matias33pascual
@matias33pascual 4 жыл бұрын
Great video. Thank you for making it so easy to see. Explains perfectly, straight to the point, and with humor. Well done!
@changedev.198
@changedev.198 3 жыл бұрын
I have to confess. I have watched hundreds of Brackeys videos. SO, I kept the video to play and tried to do it myself before this video finishes. And I DID!! Thank you so much for all this help. Yes you stopped KZbin, never means you don't exist. THANK YOU for everything!
@randtube401
@randtube401 3 жыл бұрын
Sad thing he already stopped KZbin :(
@matthewsterling8873
@matthewsterling8873 4 жыл бұрын
I'm only 9 minutes in, and I've already managed to make the kind of movement type I was looking for! I was so sure that it was going to be more difficult then it was, I guess I have been using an outdated method because this was much simpler! I wanted the player to be able to move slowly too, (using an xbox controller for input) and all I had to change was it to GetAxis from GetAxisRaw! THANK YOU SO MUCH BRACKEYS!!!
@DannyMakesStuff
@DannyMakesStuff 4 жыл бұрын
Ive done a video about Forager like movement a while ago. This video is a nice addition and as always I love your video! Good work brackeys!
@verpix4956
@verpix4956 4 жыл бұрын
I'm ur subscriber!
@evarofficial6424
@evarofficial6424 4 жыл бұрын
Ive been searchig this for a long time, watching different vídeos and then you come and find a easier way. How the hell you do it? I admire youuu!!!
@blubehriluv
@blubehriluv 4 жыл бұрын
This tutorial was absolute perfection, thank you!
@android272
@android272 4 жыл бұрын
Definitely would like some breakdown videos.
@luigi7781
@luigi7781 4 жыл бұрын
This channel inspires me to follow my dream to become a game developer. Thank you for your hard work!
@yoyo12345
@yoyo12345 2 жыл бұрын
Yes, how is it going??
@AI_Jones
@AI_Jones Жыл бұрын
Thanks for the video Brackeys. I have a couple decently successful games which used your methods as a starting point and then expanded upon them. Your tutorials are legit.
@erumi3215
@erumi3215 4 жыл бұрын
Thank you so much for this and all your other tutorials. It really helps and you explain everything thoroughly and neatly. Keep doing what you're doing. :)
@kruth6663
@kruth6663 4 жыл бұрын
Thanks for the video! Though would you please cover the player facing too? As in determining which direction the player would attack / interact on. Without it the player movement isn't really complete.
@MXTGames
@MXTGames 4 жыл бұрын
Awesome tutorial!) Also, I suggest to normalize movement vector, or your character will move faster diagonally.
@user-yd3ni5hp5p
@user-yd3ni5hp5p 2 жыл бұрын
Thank you! Blend trees are really useful in these cases) but I also made idle state a blend tree, too, which consists of idles for each side)
@jnobull45
@jnobull45 4 жыл бұрын
I'm new to all of this and I think this video was truly awesome. I don't know anything about coding and I'm not sure that I would be able to learn it but I'm encouraged. Thanks for sharing.
@vishwaanand8415
@vishwaanand8415 3 жыл бұрын
I wasn't able to make it work so I got so triggered but after 5+ hr of debugging, I found out that my movement preferences were messed up. I was so mad and I almost quit. NEVER GIVE UP GUYS!!!
@TjGaming_Jenske
@TjGaming_Jenske 3 жыл бұрын
Something I ran into: My player character kept on slowly moving down when no controls where pressed. Reason: In my project settings was gravity defined in de section Physics2D Fix: Go to Edit > Project Setting > Physics2D and change the value of Gravity from -9,81 to 0, Note that you only want to do this if you want to make a top down 2D game :)
@ulrikportal6585
@ulrikportal6585 3 жыл бұрын
Or you can change the RigidBody type to Kinematic instead of dynamic
@dexleo_
@dexleo_ 3 жыл бұрын
thank you so much! (:
@monkeyman1308
@monkeyman1308 3 жыл бұрын
He was trying to get away and escape
@user-zm7fi7lc9u
@user-zm7fi7lc9u 3 жыл бұрын
You can set Rigidbody2D Gravity Scale to zero
@ghostroulette
@ghostroulette 3 жыл бұрын
Thank You
@Boujonzu
@Boujonzu 4 жыл бұрын
Loveee the breakdown idea!! Especially if it breaks down how you think they did certain features
@DozerMane
@DozerMane 4 жыл бұрын
Ahh I needed this a few weeks ago when I was getting started on my game haha. Great video!
@sumbuddy4088
@sumbuddy4088 4 жыл бұрын
Yet again you post a video at the perfect time I needed one.
@suhayo3042
@suhayo3042 4 жыл бұрын
same
@paths5881
@paths5881 3 жыл бұрын
same
@eyemotif
@eyemotif 4 жыл бұрын
that breakdown thing is a good idea!
@modiddymo
@modiddymo 4 жыл бұрын
+1 for breakdown videos. It would be awesome to see analysis of what makes certain games tick.
4 жыл бұрын
The gamedev breakdown is a really good idea! Please make it a series! :D
@Butter0Code
@Butter0Code Жыл бұрын
For those who face the problem of moving the player, unfortunately, as if he falls without making a move! It is very simple and without writing any code. All you have to do is go to your player, then go to the inspector menu, then go to Rigidbody2D, then set the value of (Gravity Scale) to zero (0).
@javeldevo
@javeldevo 11 ай бұрын
thanks!
@baconguy777
@baconguy777 7 ай бұрын
everyone knows😂
@Butter0Code
@Butter0Code 7 ай бұрын
My friend, I am an old game developer and I know a lot about game development. The comment is for people who are new to this field and I think it will help them a lot... In addition, I found 7 comments talking about this problem even though it is very simple! If you have any questions, tell me 😉@@baconguy777
@Butter0Code
@Butter0Code 7 ай бұрын
Welcome@@javeldevo
@kreyzgr5167
@kreyzgr5167 3 жыл бұрын
I recommend flipping the animations with code, this way you only have to write a few lines of code, and all animations (Walking, Attacking, Jumping etc) will face to the correct side without flipping all the images, its just faster and simpler
@frameberryy
@frameberryy 3 жыл бұрын
how can I do this please
@o_2731
@o_2731 2 жыл бұрын
@@frameberryy 21:05
@LaserGadgets
@LaserGadgets 17 күн бұрын
Doing this for every character and enemy is gonna be so much work, dayum!
@MalteJonasson
@MalteJonasson Жыл бұрын
I watched so many videos and spent so much time but this was the only video that actually helped me. Thank you very much
@ZeynTheOne
@ZeynTheOne 2 жыл бұрын
Love this, tutorial thank you for creating it! I recreated it in 2022 and the input system still works the same way. :)
@LocdnessMomster
@LocdnessMomster Жыл бұрын
thanks for this update, I was looking to see what changed
@Marlin64
@Marlin64 Жыл бұрын
when I type `public Rigidbody2D`, visual studio doesn't seem to pick up Rigidbody2D as anything. I've created a Rigidbody2D in unity and it looks exactly like the one Brackeys made so I don't know what the issue is. I don't know if you'd be able to help since you only did it four months ago?
@moulern
@moulern 4 жыл бұрын
Thank you for the help. Great explained and everything! If i should rate it i would give it a 5/5
@tictactoc9311
@tictactoc9311 4 жыл бұрын
Finally i waiting for this Hope some full course top down game,such a RPG topdown
@Oxmond
@Oxmond 4 жыл бұрын
Yay! Awesome tutorial! The best top down animation lesson on the web! ❤️🤓👍
@tombusckull
@tombusckull 4 жыл бұрын
Would love to see projectiles, bosses, ect. like you did for normal 2d but for top down
@tobiasmercader8091
@tobiasmercader8091 4 жыл бұрын
Brackeys recomending a video that at that time didn't existed 🤯🤯🤯
@MartinSparkes-BadDragon
@MartinSparkes-BadDragon 2 жыл бұрын
Excellent - I was trying to code this using individual transforms but this is much more elegant
@DitzelGames
@DitzelGames 4 жыл бұрын
I love this videos! Outstanding combination of entertainment and education!
@harold5409
@harold5409 4 жыл бұрын
Thanks for the video. Can you do a top down day-night cycle? Thank you very much Brackeys
@ChrischoBoardgaming
@ChrischoBoardgaming 3 жыл бұрын
In movies (I've heard), night footage is often shot during the day and is post-processed by overlaying a blue filter. Maybe this works in Unity, too -- by using a plane on top of the game world and animating the color of that plane...?
@winterfallstudios7101
@winterfallstudios7101 4 жыл бұрын
Breakdown stuff would be amaaaazing
@usamaqureshi2157
@usamaqureshi2157 4 жыл бұрын
Superb tutorial as always! Really love the idea for breaking down game pipelines. Please do that
@HitcH55
@HitcH55 3 жыл бұрын
Needed help, found Brackeys, followed the easy recipe. Job done. Now feeling very proud of myself. Thanks you SO MUCH!
@sealer1675
@sealer1675 3 жыл бұрын
Hi! Is there any difference if using int instead of float for parameters of the animator? Is it faster to calculate? Or even a Bool for turning the animation on and off?
@CelestialAoiro
@CelestialAoiro Жыл бұрын
Great video! Thank you sm!
@list_f3uille966
@list_f3uille966 2 жыл бұрын
You are a legend man you arent aware how much you help me learn to make games I've had an issue for so long and you helped me fix it thank you bless u man.
@SunSailor
@SunSailor 4 жыл бұрын
Game Breakdowns? Definitly something great, go for it! There are some already on level design, but a focus on visuals would be great as well!
@sebinsuresh9656
@sebinsuresh9656 4 жыл бұрын
There’s already a wonderful channel called “Mix and Jam” that kind of does game mechanics breakdown or cloning. But the more the merrier! Also you might make it simpler and more easier to see!
@Mikeul2GT
@Mikeul2GT 4 жыл бұрын
You can also make a blend tree of idle state. So that it will face according to the movement.
@BreadAckerman
@BreadAckerman Жыл бұрын
How?
@giovannipalmitesta567
@giovannipalmitesta567 11 ай бұрын
@@BreadAckerman How?
@goldentreesart
@goldentreesart 3 жыл бұрын
THANK YOU. Finally a movement tutorial with comprehensive techniques I can actually use haha
@personalgamedevyt9830
@personalgamedevyt9830 11 ай бұрын
This is super cool! I am glad it's straight forward; yet very powerful! Thank you!
@legobumb
@legobumb 3 жыл бұрын
Loved this video! Just got one question! How would I do an idle animation for each direction (north, south, east west), and leave the sprite in that idle animation based on the last direction blend tree animation that was used?
@paulnoell1025
@paulnoell1025 Жыл бұрын
I also was hoping for an answer on this
@brokenmesh1447
@brokenmesh1447 Жыл бұрын
if you want the camera to follow the player, just put it inside of the player. (in the hierarchy)
@mr_man5269
@mr_man5269 Жыл бұрын
That wouldn't work for many different scenarios, if you're making a game where you need to flip the entire player game object instead of just the sprite then the camera will also flip
@deejay4264
@deejay4264 4 жыл бұрын
I would definitely love to see breakdowns of game development for other titles. Theres one channel I'm currently subscribed to where he shows us in tutorial form, how to create certain mechanics found in other games like Noctis' warp-strike from Final fantasy 15 for example. It's super helpful
@theultimategamer3253
@theultimategamer3253 4 жыл бұрын
Been waiting for this for soo long!!!
@kevinan9815
@kevinan9815 4 жыл бұрын
When I use the exact same code as you, the animation works perfectly fine in the blend tree preview, but while playing, it's sampling far too quickly and glitching with its player_idle state. How do I fix this? I'm working with Unity 2018.4.16 and on a Mac.
@raegaer1960
@raegaer1960 4 жыл бұрын
If someone wanted to they could make an actual Professional Looking Game from this channel's Tutorials
@NotOxity
@NotOxity 3 жыл бұрын
Challenge accepted
@theindianyouwatch
@theindianyouwatch 2 жыл бұрын
@@NotOxity that's hard
@Robertganca
@Robertganca 4 жыл бұрын
I’ve been waiting for this video for so long.
@ravite4171
@ravite4171 4 жыл бұрын
Thank you brackeys, you're the best
@vandal3136
@vandal3136 4 жыл бұрын
Simple question, how would you update the player idle pose depending on the last direction they were moving in?
@arnmazing3156
@arnmazing3156 4 жыл бұрын
You can set that in the animation window. You can set idle as the default animation state. So from entry a transition to idle animation state then a transition from any state to the idle animation.
@nautics9927
@nautics9927 4 жыл бұрын
@@arnmazing3156 can you explain more, i made the transitions but for some reason it did not work?
@ayamajirou
@ayamajirou 4 жыл бұрын
@@nautics9927 I don't know if this is the best way but I created another state on the animator called 'idle' (the same way the 'movement' state). Also created 4 animations with the idle sprite each. On the idle state it's basically the same as movement state but changed the animations to the idle ones Deleted the transition from movement->player_idle and added new transitions from movement->idle and idle->movement with the condition of speed accordingly Changed the code to the one on the comment section void Update() { movement.x = Input.GetAxisRaw("Horizontal"); movement.y = Input.GetAxisRaw("Vertical"); if (movement != Vector2.zero) { animator.SetFloat("Horizontal", movement.x); animator.SetFloat("Vertical", movement.y); } animator.SetFloat("Speed", movement.sqrMagnitude); }
@nautics9927
@nautics9927 4 жыл бұрын
@@ayamajirou thanks! I'll try this rn
@nautics9927
@nautics9927 4 жыл бұрын
@@ayamajirou Alright it worked!!! thank you!!!
@allamir92
@allamir92 4 жыл бұрын
Awesome tutorial! If only there was a code to stop diagonal movement! If somebody could help with that I would be forever thankful.
@scottdarcy6062
@scottdarcy6062 4 жыл бұрын
I've not finished watching the video yet, but I got up to 8:55 and then added some really simple if functions to Update() **see the code below** it just catches if x or y movement are anything other than standing still limit the other. Should help you void Update() { // Input movement.x = Input.GetAxisRaw("Horizontal"); // left give -1 and right give us +1 movement.y = Input.GetAxisRaw("Vertical"); // up give -1 and down give us +1 if(movement.x != 0) { movement.y = 0; } if (movement.y != 0) { movement.x = 0; } }
@TK-sr2hz
@TK-sr2hz 4 жыл бұрын
That I definitely something I would like to see. I always have "how" questions on how the Programmers solve a specific problem when I'm playing games.
@biswadeepdas981
@biswadeepdas981 4 жыл бұрын
bro..finally i joined the jam..i am excited..though i am new to game development.but a special thanks to u.Your videos helped me a lot..
@treybrady8972
@treybrady8972 4 жыл бұрын
Can you do a tutorial of how to flip the character by script? I don’t have photoshop and even if I did, really don’t feel like importing it, flipping it, and then reimporting it into Unity. (Or just add it to a small video, because it’s probably to small for a full video.)
@philippsommer7820
@philippsommer7820 4 жыл бұрын
in the controlelr script you do in a method that gets called when u get the input : if(Input.GetAxisRaw("Horizontal") < 0) { GetComponent().flipX = true; } else if(Input.GetAxisRaw("Horizontal") > 0) { GetComponent().flipX = false; } that should work, if not , try flipY instead of flipX
@treybrady8972
@treybrady8972 4 жыл бұрын
Thanks Philipp
@bairgamingdev1576
@bairgamingdev1576 4 жыл бұрын
@@philippsommer7820 Thanks! I was wondering the same thing as Cryob, i managed to flip the image in another program bu the image was muddy, this helped a-lot!
@Vindkast
@Vindkast 3 жыл бұрын
@@philippsommer7820 Thanks!
@BrianBakerCA
@BrianBakerCA 4 жыл бұрын
I’d love for you to talk about how cities skylines works! Soooo much going on in that game. Traffic AI, weather, zooming in and out to different levels of detail smoothly etc...
@joachimbastin3706
@joachimbastin3706 4 жыл бұрын
Aaaah the struggle : do i prefere breakdown of games or more tutorial. Keep up the awesome work man !!!!!
@siddharthtrivedi3322
@siddharthtrivedi3322 4 жыл бұрын
Easy, Clear and Simple explanation - I really like this video :)
@ottersaurus
@ottersaurus 4 жыл бұрын
A tutorial on tile interactive system like how you can target tiles on the ground in Stardew valley please
@agentsmith2yearsagoedited597
@agentsmith2yearsagoedited597 4 жыл бұрын
Check out his tower defence to see how to interact with ground
@thewaterleaf7929
@thewaterleaf7929 4 жыл бұрын
you could put *.normalized* after *movement* when you use it so that the player cannot go faster diagonally!
@thewaterleaf7929
@thewaterleaf7929 4 жыл бұрын
@Bzone ?¿
@Disthron
@Disthron 3 жыл бұрын
Halfway through 2020 and this is still an awesome tutorial
@ichigo765
@ichigo765 11 ай бұрын
its a good day when you find a brackeys tutorial on what you need
@dustinmetzger
@dustinmetzger 4 жыл бұрын
Add me to the "yes please!" queue for breakdown videos. And if you're taking suggestions on topics, I'd love to see how you'd implement the npc movement calendar script employed in games like stardew valley.
@timp
@timp 4 жыл бұрын
Great video! Can we get a video about top-down movement on a grid? :)
@HAWXLEADER
@HAWXLEADER 4 жыл бұрын
Easy, move your location by little snaps (grid resolution let's say 1 meter) and let the graphics follow that Target with a lerp or use something like DoTWEEN(recommended!) With dotween you do transform.DoMove(target, time); And you are done. I recommend checking out their site for documentation.
@nicolaspetit8956
@nicolaspetit8956 4 жыл бұрын
I´m all in for that new type of content!
@nasostsionas
@nasostsionas 4 жыл бұрын
I always wanted to see a breakdown of a game !!!! It can enlate for many unseen problems :-)
@shadowbannedneet
@shadowbannedneet 9 ай бұрын
i put in everything just like the tutorial, but the left and right walking anims dont work for some reason? the idles for left and right work but when i move up and then move right or left the walking anims work, but not when youre just moving left or right. is there anything i can do to fix this?
@winterfallstudios7101
@winterfallstudios7101 4 жыл бұрын
A tutorial series about third person melee combat with movement, parrying and some other stuff
@isaacgejames
@isaacgejames 4 жыл бұрын
a bit much but would be cool I gues
@realprisec
@realprisec 4 жыл бұрын
yeah that's the type of stuff you learn yourself
@ChrischoBoardgaming
@ChrischoBoardgaming 3 жыл бұрын
​@@isaacgejames Thought so, too, at first, but having watched one or two videos on this channel where we get shown impossible amounts of stuff (in each video), I can easily see Brackeys show us as much as @WINTERFALL STUDIOS asked for. ;)
@ChrischoBoardgaming
@ChrischoBoardgaming 3 жыл бұрын
@@isaacgejames Well, I guess, the original post was meant as a suggestion should Brackeys ever run out of content ideas. And let's add "enemy slicing routine" to the mix while we're at it ;)
@ShaneHoffa
@ShaneHoffa 4 жыл бұрын
Definite YES for breakdowns!
@bluefennec
@bluefennec 3 жыл бұрын
OML this was soooo helpful. I've been trying to make my own game and this video helped me learn the basics thx! What would I do without you...
@cessposter
@cessposter 3 жыл бұрын
I tried using Unity. I am psychologically scarred and will never be the same ever again.
@nhwd_10
@nhwd_10 3 жыл бұрын
if you want to make something in unity try something simple like a sprite that walks around
@Kaldrin
@Kaldrin 4 жыл бұрын
Wow nice tutorial, thanks! But I wanted to know how to have the character stay in an idle pose corresponding to the last direct he went instead of always returning to face the player
@sometimesiwonder14
@sometimesiwonder14 4 жыл бұрын
In that case I would think you just wouldn't give it a "idle" animation. Giving it that idle makes it go back to that node when you're not moving.
@cyberwaffls3113
@cyberwaffls3113 4 жыл бұрын
@@sometimesiwonder14 Well, then the walking animation would keep repeating, wouldn't it?
@Mars-zr5op
@Mars-zr5op 4 жыл бұрын
I wanna know this too, I have followed this videos instructions as close as i can, but my sprite keeps snapping to the south facing sprite, i have discovered that how they are ordered in the blend tree caused the sprite to switch to either 1 or 2 directions before snapping to a direction.
@JTAGames
@JTAGames 3 жыл бұрын
Follow our Top Down Movement Tutorial and skip to 7:38! We explain how to set up a proper Idle blend tree as well as setting up your game for a future interaction feature.
@stuarthudson2909
@stuarthudson2909 10 ай бұрын
This was 22 minutes well spent, I learned here what I struggled to find elsewhere. If you watch just one video that explains movement, make it this one.
@Zefireq
@Zefireq 4 жыл бұрын
Breakdown of some indie games hits made in Unity would be so perfect!
@prodbyrish
@prodbyrish 3 жыл бұрын
I dont want my player to move diagonally, what should I do?
@tsaligm6320
@tsaligm6320 3 жыл бұрын
maybe check if one axis (input) axis is bigger or smaller than zero. if that is true then always set the other axis (input) to 0?
@prodbyrish
@prodbyrish 3 жыл бұрын
@@tsaligm6320 THANK YOU SO MUCH!!!
@strengle3395
@strengle3395 4 жыл бұрын
@Brackeys Can you make a tutorial about Procedural Level Generation?
@isaacgejames
@isaacgejames 4 жыл бұрын
church out black thrown prod he has a few good vids on that
@popcorntm5687
@popcorntm5687 4 жыл бұрын
You make me fell in love with Unity :))
@polygonmaker683
@polygonmaker683 4 жыл бұрын
Nice... Your tutorials are so easy to understand ..... and i would really like a video on melee combo systems in unity ...THANKS.
@gilgabro420
@gilgabro420 3 жыл бұрын
Starts at 1:48
@NeroZeroScorpion
@NeroZeroScorpion 4 жыл бұрын
Could you do a isometric movement and look next? like in the Supergiant games, Hades and Bastion, i tried to look for guides ou this but most are outdated or confunsing and not pratical, the close to this i found are isometric movement point and click, and not WASD, there's pretty mush none guides for isometric shooters.
@CasualCosta
@CasualCosta 4 жыл бұрын
If it's 3D, you usually just need to change the camera.
@deetvleet
@deetvleet 4 жыл бұрын
My team made a 3D game emulating this style, we started by changing the camera angle to isometric and then converted the axis the player moves accross to match that of the camera.
@iDigvijaysinhG
@iDigvijaysinhG 4 жыл бұрын
Yes yes, we really want games breakdown videos
@s0m1n
@s0m1n 4 жыл бұрын
Yesssssssss. Please break down games, that would be great!
TOP DOWN SHOOTING in Unity
19:52
Brackeys
Рет қаралды 847 М.
How to make a Video Game - Godot Beginner Tutorial
1:17:12
Brackeys
Рет қаралды 719 М.
Kitten has a slime in her diaper?! 🙀 #cat #kitten #cute
00:28
Зомби Апокалипсис  часть 1 🤯#shorts
00:29
INNA SERG
Рет қаралды 6 МЛН
😱СНЯЛ СУПЕР КОТА НА КАМЕРУ⁉
00:37
OMG DEN
Рет қаралды 1,8 МЛН
VALHEIM ASHLANDS Update For Xbox Delay!
3:08
Jade PG
Рет қаралды 2,1 М.
Pixel Art Class - Top Down Style Analysis & Tutorial
43:51
AdamCYounis
Рет қаралды 611 М.
How to make a HEALTH BAR in Unity!
21:06
Brackeys
Рет қаралды 1,1 МЛН
Escaping Unity Animator HELL
18:18
Lost Relic Games
Рет қаралды 490 М.
The Future of Game Development
8:58
Brackeys
Рет қаралды 1 МЛН
2D Top Down Movement UNITY Tutorial
7:21
BMo
Рет қаралды 212 М.
MAKING RUN, IDLE & JUMP 2D GAME ANIMATIONS - UNITY TUTORIAL
15:30
Blackthornprod
Рет қаралды 505 М.
INSANE OpenAI News: GPT-4o and your own AI partner
28:48
AI Search
Рет қаралды 289 М.
6 DEVS Compete to Make the BEST GAME for $10,000
38:22
Blackthornprod
Рет қаралды 260 М.