Unity 2D Platformer for Complete Beginners - #2 ANIMATION

  Рет қаралды 295,723

Pandemonium

Pandemonium

Күн бұрын

In this video we're gonna focus on how to animate a 2D player in Unity. We're upgrade our graphics, create animations and make them work from our code.
● Unity Asset Store: assetstore.unity.com/
● Dragon Warrior Asset: assetstore.unity.com/packages...
● Pixel Adventure Asset: assetstore.unity.com/packages...
● Complete Code: pastebin.com/zLUWBa01
Subscribe and turn on the notifications if you don't want to miss the third episode!
➤ Discord : / discord
➤ Patreon: / pandemonium_g. .
➤ Instagram: / pandemonium. .
➤ Twitter: / pandemoniumnick
➤ Itch: nickbota.itch.io/
#pandemonium #unity2dplatformer #unitycompletebeginner
Tags: Unity 2D Platformer for Complete Beginners,unity complete beginner,unity complete beginner tutorial,unity 2020 beginner tutorial,unity 2020 complete beginner tutorial,unity how to make a game 2020,unity 2d player movement,Unity 2D player movement 2020,unity 2d platformer tutorial 2020,2d movement unity,unity platformer complete beginner,Unity 2D Platformer episode 2,unity 2d animation,unity sprite animation,platformer for complete beginners,unity 2d platformer
0:00 Intro
0:35 Upgrading Graphics
1:50 Editing our Player
2:55 Flipping Player Left-Right
5:05 Basics of Animation
6:18 Idle Animation
8:15 Run Animation
14:46 Jumping Animation
21:00 Final Result
21:05 Outro

Пікірлер: 1 100
@PandemoniumGameDev
@PandemoniumGameDev 3 жыл бұрын
Hey everyone, thanks for watching. This is my longest video with lots and lots of explanations, I'd like to know if this is what you want to see or you'd like me to do things quicker and explain less. Complete Code: pastebin.com/zLUWBa01
@petertohme8325
@petertohme8325 3 жыл бұрын
Keep it like this
@red2go56
@red2go56 3 жыл бұрын
its a nice video but the code dont work in my game I have the error CS1002
@PandemoniumGameDev
@PandemoniumGameDev 3 жыл бұрын
@@red2go56 you see me playing in the video, right? Check the code again and if you still don't find it give me more details on the error.
@red2go56
@red2go56 3 жыл бұрын
@@PandemoniumGameDev ok
@red2go56
@red2go56 3 жыл бұрын
@@PandemoniumGameDev using UnityEngine; public class PlayerMovement : MonoBehaviour { [SerializeField] private float speed; [SerializeField] private float jumphight; private Rigidbody2D body; private Animator anim; private bool grounded; private void Awake() { //Grab references for Rigidbody and animator from object body = GetComponent(); anim = GetComponent(); } private void Update () { float horizontalInput = Input.GetAxis("Horizontal"); body.velocity = new Vector2(horizontalInput * speed, body.velocity.y); //Flip player when moving left-right if(horizontalInput> 0.01f) transform.localScale = new Vector3(5, 5, 1); else if(horizontalInput< -0.01f) transform.localScale = new Vector3(-5, 5, 1); if(Input.GetKey(KeyCode.Space) && grounded) Jump(); //Set animator parameters anim.SetBool("grounded", grounded) } private void Jump() { body.velocity = new Vector2(body.velocity.x, jumphight); anim.SetTrigger("jump"); grounded = false; } private void OnCollisionEnter2D(Collision2D collision) { if (collision.gameObject.tag == "Ground") grounded = true; } } this is my code
@TheCrabActivist4525
@TheCrabActivist4525 2 жыл бұрын
My dude, don't ever apologize for explaining things, all it does is help us, keep up the great work!
@deaduser1532
@deaduser1532 2 жыл бұрын
Yes it's the only way for us to learn!
@dodgerivadeneyra6997
@dodgerivadeneyra6997 2 жыл бұрын
It helps so much knowing what get component does and stuff, thank you so much pls keep up the explanation it helps a lot
@joshmoore3785
@joshmoore3785 Жыл бұрын
true
@Pavme
@Pavme 9 ай бұрын
ikr! I hate it when I am just copying things I dont understand. Its like copying a chinese sentence when you understand nothing about it. anyone can copy even if they dont understand
@TheCrabActivist4525
@TheCrabActivist4525 9 ай бұрын
@@Pavme Exactly
@BlazeLibra
@BlazeLibra Жыл бұрын
Why is this 10x more informative than the actual lecture videos I get in my game design bachelors
@PandemoniumGameDev
@PandemoniumGameDev Жыл бұрын
No idea, but I'm very glad to hear it😆
@twiston1337
@twiston1337 Жыл бұрын
@@PandemoniumGameDev bro still reads comments over a year after the video is uploaded, legend!
@PandemoniumGameDev
@PandemoniumGameDev Жыл бұрын
@@twiston1337 Doing my best😁
@DenyBoyLV
@DenyBoyLV 2 жыл бұрын
Out of all tutorials about anything i have watched on youtube i must say that you are excellent. I just cant believe how on point you are. Perfect!
@tucnacek8694
@tucnacek8694 Жыл бұрын
This is seriously the best tutorial series on unity that I have ever watched.
@braylongouge9103
@braylongouge9103 Жыл бұрын
You are amazing! I've always wanted to go into video game development, and other tutorials of unity acted like I already knew how it worked. Your flawless way of explaining things to people who have no idea how anything like unity works is keeping me motivated to learn more and go farther!
@mrglass9656
@mrglass9656 Жыл бұрын
Yes I agree
@subharanjanghoshal5597
@subharanjanghoshal5597 2 жыл бұрын
OMG! This is the most ideal Unity 2D Platformer Tutorial for beginners. I'm saying this after trying a dozen of other tutorials. Keep the lessons coming please ❤
@PandemoniumGameDev
@PandemoniumGameDev 2 жыл бұрын
Thank you, this is really appreciated!
@Krancis133
@Krancis133 2 жыл бұрын
This is amazing. Thanks for explaining the Unity actions for C#, helps a lot in understanding what must be done to get the code right.
@ozanyasindogan
@ozanyasindogan Жыл бұрын
first Unity tutorial I watched so far till 4am and which makes me understand everything, well done and thank you!
@theaidanmann
@theaidanmann 2 жыл бұрын
Finally! A tutorial series I can understand. You’ve helped me to actually understand what the code I’m writing actually does instead of just basically copying and pasting it
@mthaler108
@mthaler108 2 жыл бұрын
ahh thank you so much for your tutorials! dont worry about explaining too much it is very helpful! I already know how to write in c# but this is the first time i'm making a game (and using unity for that matter) so finding a video that explains everything step by step is perfect!
@A1Qicks
@A1Qicks Жыл бұрын
Man, your tutorials are my favourite. Really speed launched me into making things. I took a detour into other tutorials to learn other stuff but keep coming back here for the basics.
@PandemoniumGameDev
@PandemoniumGameDev Жыл бұрын
Thanks a lot, love to hear that! Good luck on your game dev journey!
@meatmeatmeatmeatmeatmeatmeatme
@meatmeatmeatmeatmeatmeatmeatme 2 жыл бұрын
Mannn thank you for explaining everything so thoroughly! It helps a ton!! Helps me understand how everything works a lot easier
@celmnc
@celmnc 2 жыл бұрын
Bro, your such a good teacher of this stuff! I've spent hours watching other people's tutorials and have got lost every time... I came across you, and I've actually retaining what you show us.... Thank you so much this is so amazing
@PandemoniumGameDev
@PandemoniumGameDev 2 жыл бұрын
I'm very glad I could help, good luck on your game dev journey!
@freddyhouston9181
@freddyhouston9181 Жыл бұрын
This series is excellent, everything you might need for creating a game. and everything is applicable if you want to add your own characters and animations. 10/10 perfect tutorial.
@PandemoniumGameDev
@PandemoniumGameDev Жыл бұрын
Thanks a lot and glad to hear you're enjoying it!
@CharlesA.
@CharlesA. 3 ай бұрын
bro this is legit better than some courses on Udemy. you're a great teacher, you actually take time to explain instead of rushing things and that makes a big difference. 5 stars.
@delcien9697
@delcien9697 2 жыл бұрын
Absolutely brilliant videos, my little old brain loves ur bite size videos and im not confused after watching them.. u explain this stuff so well.. subscribed! :)
@tyrussell3516
@tyrussell3516 3 жыл бұрын
this is so cool to see working thanks so much and have a great day!
@bomj-valera
@bomj-valera Жыл бұрын
If you are using VS Code or potentially other IDEs and your C# files do not have the Intellisense (autocomplete) working try the following: First of all close your IDE, then 1) Go into _Unity > Edit > Preferences > External Tools >_ and select your IDE in the _External Script Editor_ 2) Go into _Unity > Assets > Open C# Project_ If the 2 above didn't help try this: 3) Install the specified *.NET Framework* (check the Omnisharp *OUTPUT* for any Errors with a specific version mentioned next to it, *for me it was 4.7.1*) Let people know if this comment helps by liking it.
@thejourneyofwhat
@thejourneyofwhat Жыл бұрын
thank you, i didnt really know how to search for this bc i didnt know what it was called. this worked straight away :)
@KnightPapa
@KnightPapa 8 ай бұрын
I was looking for this as well, thank you!
@insertusernamehere8125
@insertusernamehere8125 Жыл бұрын
This series is actually making me feel like I'm learning stuff.
@robbylemmens9734
@robbylemmens9734 2 жыл бұрын
This is by far the best tutorial to be found here on KZbin, kudo's sir!
@juniorcollado4904
@juniorcollado4904 2 жыл бұрын
I love this series and it really helps me out! Although, it would be cool if we got a video on how to make our own characters as well
@PandemoniumGameDev
@PandemoniumGameDev 2 жыл бұрын
I'm bad at art :D there are tons of pixel art channels on KZbin, try to follow their process then create the same animations that we use here and it's gonna work perfectly.
@wiguofficial
@wiguofficial 2 жыл бұрын
So helpful, I never knew where to start and this gave me somewhere to start, keep up the amazing work.
@ameerluqman3595
@ameerluqman3595 2 жыл бұрын
Bro, i am so thankful that i found your video. It took me about an hour to solve the "grounded" issues cause I name my bool with a uppercase "G" instead of lowercase "g" and it won't stop the jumping animation but I figured it out. Thanks for the tutorial. You're legend my guy!
@rararrar98553047658
@rararrar98553047658 Ай бұрын
I was legitimately just having this issue, thank you so much for commenting! You've saved me a headache.
@XAyaDubX
@XAyaDubX 3 жыл бұрын
Amazing tutorials. Thank you for these. Very underrated.
@tyrussell3516
@tyrussell3516 3 жыл бұрын
YESSS i’ve been waiting all week for this i’ll definitely work on this later tonight thank you so much!! keep up the good work
@PandemoniumGameDev
@PandemoniumGameDev 3 жыл бұрын
Thanks a bunch :D enjoy watching and good luck!
@tyrussell3516
@tyrussell3516 3 жыл бұрын
@@PandemoniumGameDev 👍🏼
@ThatMellon
@ThatMellon 2 жыл бұрын
I'm liking this video series so far. I think the way you've structured this tutorial is great! Personally I'm not so interested in animations at the moment, I think they serve their place in the video tutorial though (I'll be doing back through this tutorials to add in animation at a later state); because of the chapters you've put in the videos I could easily find the part where you talk about the "grounded" collision for the jumping code (which is where the juicy stuff lies for me!). I'm a beginner to using Unity and C# but I've dabbled in very similar tutorials for GameMakerStudio2 and GML. The logic has a similar flow (with a few extra steps in units UI and vectors) but I'm understanding it well enough to see how they work and why. Thanks again!!
@PandemoniumGameDev
@PandemoniumGameDev 2 жыл бұрын
Thanks a lot! Make sure to implement the rest of the code though, we did fix the jumping in this video as well and other stuff not related to animation.
@r3dh00d6
@r3dh00d6 10 ай бұрын
Man, I just started trying to understand unity and making games and ur long explainations are really helpful. I didn t watch any of ur new vids, but I sure hope you still take time to explain all the small steps, because for begginers it is the only thing that makes things clearer. Your tutorials are amazing and I thank you very much for uploading them :)
@PandemoniumGameDev
@PandemoniumGameDev 10 ай бұрын
Heartwarming comment, thanks! Glad I could help you 🙌
@thedelidumrul5599
@thedelidumrul5599 2 ай бұрын
Thanks for the video bro. I began to make my own game before one month ago. I was having issue with jump animation, but with your video I found where I need to fix 👍 after 3 years it helped me :)
@michrain5872
@michrain5872 2 жыл бұрын
Yay! I feel like I just leveled up (to lvl2 lol) Also, I wanted to have a jump speed independent from the walk speed and I got around it just by paying attention and applying what's discussed here! Off to the next step :3
@mrglass9656
@mrglass9656 Жыл бұрын
I think that you add that by changing the speed variable in terms of hight
@mrglass9656
@mrglass9656 Жыл бұрын
But it also changes the speed as well
@Jono1982
@Jono1982 3 жыл бұрын
In Animation tab you can click the three vertical dots and enable Samples then change the 60 to 12 and it'll space the frames out accordingly. Also it has to be lowercase names for Parameters in the Animator. Great tutorial though I am learning a lot. :D
@PandemoniumGameDev
@PandemoniumGameDev 3 жыл бұрын
Glad you're learning and enjoying it, love to hear that. - Changing the samples from 60 to 12 will make the animation 5 time slower. You can space the frames yourself manually. - The parameters for the animator can be both in lower case and uppercase, the point is that they should be matching both in the animator and in the code, otherwise they won't work.
@nanorbogin896
@nanorbogin896 2 жыл бұрын
thanks for mentioning the lowercase names, I couldn't figure out why my transition wasn't working but it was because I had capitalized the run parameter but not in the transition.
@arjunkhanna7383
@arjunkhanna7383 Жыл бұрын
Thank you so much for the explanations of the code! I found them to be extremely helpful!
@shadestacky
@shadestacky 2 жыл бұрын
so underrated man, keep up the great work!
@LagoonLofi
@LagoonLofi Жыл бұрын
If anyone is having an issue where their jump isnt working, or stuck in jump animation, my error was OnCollisionEnter2D the On was lowercase (on) instead of On. It doesnt give any error or anything it just does nothing when space is pressed. I had auto complete on too. hope this helps :)
@user-zi3kr4do9q
@user-zi3kr4do9q Жыл бұрын
the same trouble, when i pick play hero is standing in jump position(he doesnt run). Cant to resolve this problem
@mildbeandip
@mildbeandip Жыл бұрын
I doubt anyone will see this. But I was having an issue with the jump animation repeating even though I had turned off the loop animation ability. I had to click on the transition arrow and check off the transition to self option and that stopped the Jump state from repeating. I am using Unity 2021.3.11f1. Anyway have a nice day everyone and good luck on your game dev and coding journey, may it be a good one.
@PandemoniumGameDev
@PandemoniumGameDev Жыл бұрын
Someone will see it for sure :D That's a great tip actually I think I forgot to do that too, so thanks a lot!
@meowzzz10
@meowzzz10 9 ай бұрын
ello, I doubt you will see this but I am having the same problem as you, the jump animation keeps on repeating when I test play it, I am new to unity so i do not really understand what you are saying, I am using version 2020.3.48.f1 nevermind, I fixed it by switching true/false on the transition arrows from any state > jump and jump > idle, but now I have another problem, I cannot jump
@gargisharmaa
@gargisharmaa 8 ай бұрын
@@meowzzz10 My character is also not able to jump, did you fix the issue? If yes how?
@meowzzz10
@meowzzz10 8 ай бұрын
@@gargisharmaa I watched the video again and I forgot to add a tag on my ground object 19:20. Just make a tag called ground and add it on your ground object or what object you want your character to be able to jump on, Thats how I fixed it because I was not paying attention at the end. Hope this helped.
@fatallegend1
@fatallegend1 5 ай бұрын
I was having this exact same issue and your comment helped me fix it! Thank you so much!
@EagleNestGames
@EagleNestGames Жыл бұрын
Thank you so much for a clear, informative and practical explanation.😊
@harryfriend4362
@harryfriend4362 3 жыл бұрын
thank you iv blasted through the videos and now Im lost without it haha. make it really easy to follow and understand
@PandemoniumGameDev
@PandemoniumGameDev 3 жыл бұрын
Hey thanks a ton! Working on episode 4 right now.
@TheVersionController
@TheVersionController 2 жыл бұрын
I REALLY like when you take the time to explain in detail what the code is doing. I am taking my time with this to understand every step. I like that it's not just "do this then that" instruction. You are telling us 'why' and that is valuable.
@markrigz
@markrigz 2 жыл бұрын
I want to second this. The more you explain, the better!
@harley_randelo
@harley_randelo Жыл бұрын
I'm so glad I found your channel! that was more informative and educating than a brackeys video or a 6 hour college lecture. thanks so much for posting. you are the best unity creator on this platform!
@PandemoniumGameDev
@PandemoniumGameDev Жыл бұрын
Huge thanks for this! Hope you like the rest of the series as well, good luck!
@user-jn9tt3ry6k
@user-jn9tt3ry6k 7 ай бұрын
even two years later, still my favorite explanation
@zachmin9296
@zachmin9296 Жыл бұрын
My character is constantly stuck in the jumping animation no matter if he is runnin or idle he stays jumping , does any1 know where I went wrong?
@aadityagupta2687
@aadityagupta2687 2 жыл бұрын
Hi, just amazing work. Currently, I am having a problem that the "grounded" variable is not taking true value even after collision. I believe the collision function is not working. Please give me some suggestions to overcome this issue. Thnx
@kubkosamv5323
@kubkosamv5323 2 жыл бұрын
Hello, do you set the Ground object tag to "Ground" ? To do this simply click on the ground object and on the "inspector" panel on the right, set tag below the Name "Ground", hope it will work, mate. ;)
@6ileys
@6ileys 2 жыл бұрын
@@kubkosamv5323 Having the same problem, I set the tag already but the collision isnt detecting.
@kubkosamv5323
@kubkosamv5323 2 жыл бұрын
@@6ileys Send me your player controller script, please.
@6ileys
@6ileys 2 жыл бұрын
@@kubkosamv5323 I ended up getting to work, Ian’s a sprays in front of ground in the tag lol
@kubkosamv5323
@kubkosamv5323 2 жыл бұрын
@@6ileys ooh, i didnt even think about that. keep it going. :)
@mnye232
@mnye232 Жыл бұрын
thank you Pandemonium this is so helpful i love this 👍
@zenco7936
@zenco7936 9 ай бұрын
This has been incredibly helpful, thank you.
@gameprogramming6550
@gameprogramming6550 2 жыл бұрын
To keep values same for my new custom character to 0.5 I did this: if (horizontalinput > 0.01f) { transform.localScale = new Vector3(0.5f, 0.5f, 0.5f); } else if (horizontalinput < -0.01f) { transform.localScale =new Vector3(-0.5f,0.5f,0.5f); }
@eemelivastamaki8005
@eemelivastamaki8005 2 жыл бұрын
I did have a problem with my character being too big and that works, so thx.
@deaduser1532
@deaduser1532 2 жыл бұрын
I did if (horizontalInput > 0.01f) transform.localScale = new Vector3(2, 2, 1); else if (horizontalInput < -0.01f) transform.localScale = new Vector3(-2, 2, 1); if (Input.GetKey(KeyCode.Space)) body.velocity = new Vector2(body.velocity.x, speed);
@ghhn4505
@ghhn4505 2 жыл бұрын
Thanks man, huge help. I couldn't get the scale values to work for mine until I found this.
@drunkengaming4782
@drunkengaming4782 2 жыл бұрын
Mines a bit more complicated, it's 0.1532664 (I need this size, can't change it lol) but -0.1532664 doesn't work :P
@Dave-pd8rv
@Dave-pd8rv 2 жыл бұрын
it doesn't work for me :(
@EnemyOTS
@EnemyOTS 2 жыл бұрын
Sir you are a god. the Only tutorial that got the jumping and animation right without headache! so simple thank you so much!
@sb7675
@sb7675 Жыл бұрын
I love so simple explanation . Very fast and easy to learn your code. Thanks.
@swedcast107
@swedcast107 2 жыл бұрын
Mate, i love you! I just implemented a working jumping mechanic in 15 minutes. I have tried for 3 days with other tutorials :D
@brendancusack391
@brendancusack391 3 ай бұрын
Loved the first video. Thank yoU!
@memosickduck9230
@memosickduck9230 Жыл бұрын
I never wrote any notes gamedev tuts except this one. Thank you so much
@PandemoniumGameDev
@PandemoniumGameDev Жыл бұрын
Thanks for taking the time to do it!
@liamm5391
@liamm5391 2 жыл бұрын
This is extremly helpful, thank you :))
@ripdoxyyy
@ripdoxyyy 2 жыл бұрын
youre seriously amazing cant thank you enough for your knowledge
@revialle5434
@revialle5434 Жыл бұрын
I've only made a Tic Tac Toe game in C before. But, this is my first ever proper Indie game with custom made sprites and animations and I have to say, thank you so much! All of it works real butter smooth.
@PandemoniumGameDev
@PandemoniumGameDev Жыл бұрын
Pleasure hearing this, hope you get to make a lot of cool games in the future!
@revialle5434
@revialle5434 Жыл бұрын
@@PandemoniumGameDev Yes sir, will do!
@Labyrnthdom
@Labyrnthdom Жыл бұрын
So far so good, just got done with lesson 1.
@alduin8877
@alduin8877 2 жыл бұрын
I was chilling in on the moon waiting for you to get done with the sprite
@antoniokventin5341
@antoniokventin5341 Жыл бұрын
Hello, Pandemonium! Very big THX! Thats a best TUTORIAL for animation, which i try!
@zacktzeng8569
@zacktzeng8569 2 жыл бұрын
Thanks so much for producing this awesome tutorial!! One quick question: why did you add the jump trigger at the end?
@mauriciocol5075
@mauriciocol5075 Ай бұрын
Most perfect tutorial about 2d games ever!
@danhtk
@danhtk Жыл бұрын
Thankyou very much for your great tutorial. it's really helpful, easy to follow
@teamofwinter8128
@teamofwinter8128 Жыл бұрын
I really really wish that was the way i started this whole unity tutorial instead of looking up youtube how to do a certain feature and then the feature i learn bugs out another feature then i look up how to fix it and OH man its such a headache but this is the right way to learn atleast in the beigining plus you explained everything very well and you didnt leave a thing unexplained and i appreciated it from the start to finish even though i knew alot of the stuff you already explained
@user-bx6th4bs8x
@user-bx6th4bs8x 3 жыл бұрын
ur the best! thanks to you i can finally create my own game thank you so much!!
@topcat5233
@topcat5233 Ай бұрын
lol mine was drunk on the first playtest, fell over immediately with a sharp turn, 10 out of 10. thanks so much for these tuts, very helpfull!
@shu_402
@shu_402 2 жыл бұрын
Very clear and nice explanation thanksss alot!
@Tbag09
@Tbag09 Жыл бұрын
Thank you bro you made it so clear and easy
@hakoroni9735
@hakoroni9735 6 ай бұрын
Thanks for breaking my game, Pandemonium! I really appreciate it!
@ECAKJ
@ECAKJ 4 ай бұрын
first time ever in unity and it worked perfectly for me. i think you broke your own game
@florianzavelcuta8243
@florianzavelcuta8243 3 жыл бұрын
thanks for the videos, it really helps me
@ItsRave_n
@ItsRave_n 2 жыл бұрын
This titorial is amazing! thanks!
@mortenchristiansen389
@mortenchristiansen389 2 жыл бұрын
Great work, i love it, and lerning a lot, thanks :)
@user-gm4iu4gw4p
@user-gm4iu4gw4p 2 күн бұрын
5 stars dude great tutorial!
@kunodev
@kunodev Жыл бұрын
First time ever i want to continue a full serie on how to make a game keep up the good work 😁😁😁
@PandemoniumGameDev
@PandemoniumGameDev Жыл бұрын
That's a good sign 😁 Good luck!
@Potato_Pizzer
@Potato_Pizzer Жыл бұрын
Great video, all the other people just tell you to download a game, this actually helps you make it by yourself!
@lopikss
@lopikss 2 жыл бұрын
Great tutorial i love this serie so useful
@akaithecreator7448
@akaithecreator7448 2 ай бұрын
Thank you so much. These videos are so helpful.
@PandemoniumGameDev
@PandemoniumGameDev Ай бұрын
Glad to hear they're still helpful even after 3 years!
@abdullahsaid4765
@abdullahsaid4765 2 жыл бұрын
I love your way of teaching plz keep going the other videos are too fast for to me understand it I'm totally a beginner thx for making a path for me so clearly and easily.☺
@cheesecake906
@cheesecake906 2 жыл бұрын
Thanks soo much i learnt tons of things❤❤
@randorandy5901
@randorandy5901 2 жыл бұрын
thankyou soo much this helped me greatly.....You are AWESOME!
@mynameisjuana
@mynameisjuana 2 жыл бұрын
this helped me a lot!! tysm
@krithikghosh
@krithikghosh Жыл бұрын
You are the best teacher ❤I love your teaching skills and style😊 please don't apologise for explaining 🙏 it helps us a lot. You are the best and help me understand the programs and don't say me to just memorize it. This makes your videos stand out from the rest. Please remain like this. You are way underrated compares to your skill level. Don't lose hope because I know that one day you will surely reach a million subscribers ❤🙂🥰🤓👍
@phoneix24886
@phoneix24886 Жыл бұрын
You deserve a lot more subsribers!
@LA-dm6kj
@LA-dm6kj Ай бұрын
Love it, thank you.
@ThatoneOkayGamerKid
@ThatoneOkayGamerKid Жыл бұрын
Yes! this helps me a lot
@qusky512
@qusky512 2 жыл бұрын
I had problems with the jump animations, so in line 37 I changed x to y and now it works :D
@PandemoniumGameDev
@PandemoniumGameDev 2 жыл бұрын
Glad it works but I'm not sure why :D it's not supposed to. What was the problem you were facing?
@carpenstefan8764
@carpenstefan8764 2 жыл бұрын
Me too bro. Kudos to you and big kudos to Pandemonium. The game is awesome!
@donovanbauman8821
@donovanbauman8821 2 жыл бұрын
@@PandemoniumGameDev I'm having jumping problems too. The run and idle animations run and play fine, but the jump function does not work.
@markwashington5128
@markwashington5128 2 жыл бұрын
Wish we could like these videos a million times.
@eduardsdavis903
@eduardsdavis903 3 жыл бұрын
Thanks, 1-I previously could not understand why nothing was working for me, it turned out to be pulled off the components! 2-I didn't understand how to move the animator tab to where you got it, I kept it opening in a new window, but now i know!
@SarahPlaysVideoGames
@SarahPlaysVideoGames 10 ай бұрын
I think it's incredible that not only did you make a tutorial that explains everything and is easy to understand even with minimal prior programming knowledge, but you're still responding to people in the comments about it! I do have one question myself: I plan to have both walking and running in my game. Right now, run is set to Z (although I'm probably going to change that later down the line.) If I wanted a different animation to play while running, how would I adjust the argument to check for if the run key is being held down, so I have the run animation for running and the walk animation for walking?
@PandemoniumGameDev
@PandemoniumGameDev 10 ай бұрын
Thanks a lot for the praise! I think in this case you can try something like this: //Set animator parameters if (horizontalInput == 0) { anim.SetBool("run", false); anim.SetBool("walk", false); } else { if (Input.GetKey(KeyCode.Z)) anim.SetBool("run", true); else anim.SetBool("walk", true); } Obviously this needs to replace the current line 31 that manages the animator run bool. You will also need to create a new bool parameter called walk in the animator and a new walk animation that triggers when walk is true.
@irrationallymadphysicist6945
@irrationallymadphysicist6945 Жыл бұрын
Thanks for the easy-going tutorial! I'm using Unity 5 and at first the jump animation wasn't working correctly (it kept restarting over and over) , the problem went away when I replaced the jump condition with the trigger as in the video instructions. Just in case someone went through the same problem and is now confused.
@lumea_phy8166
@lumea_phy8166 Жыл бұрын
thanks alot your tutorials are amazing :)
@BonkerzGamer119
@BonkerzGamer119 5 күн бұрын
for anyone struggling just double check the ground Ground and Grounded are the same, it starts to blur when your typing along and can break things. once i fixed that all worked perfectly fine.
@U4IA1183
@U4IA1183 Жыл бұрын
so far I watched unity's course, watched toooo many tutorials on youtube and wasted time , went to reddit and even Stack Overflow TRUST me you are the only one who can EXPLAIN CODE for us to UNDERSTAND.
@PandemoniumGameDev
@PandemoniumGameDev Жыл бұрын
Thanks a lot! Love to hear that it's clear enough to understand, that was my goal. Hopefully the entire series is like that.
@gozen727
@gozen727 3 ай бұрын
keep up the work you really good at teaching
@PandemoniumGameDev
@PandemoniumGameDev 3 ай бұрын
Thanks a lot!
@PikaaGD
@PikaaGD Жыл бұрын
You are a savior for beginners ✌
@todrick3340
@todrick3340 2 жыл бұрын
Thanks for going over everything and explaining everything I have been looking for a KZbinr like you.
@-mammy
@-mammy 6 ай бұрын
This video series is excellent. You say -oh it is 20 min ı'll finish it in like 30 min but it is soo intense on knowledge you finish it after 1 hour :D
@alexeymozgoball3803
@alexeymozgoball3803 2 ай бұрын
The best tutorial!
@dimassurya3100
@dimassurya3100 2 жыл бұрын
this is perfect
@_2morrow548
@_2morrow548 2 жыл бұрын
Thx, this is very helpful
@Rollbaa
@Rollbaa Жыл бұрын
Amazing course continue. Got 1 question, whats the purpose of adding and setting the Jump trigger at the end? I know you removed the transition timing to 0 for the animation to quickly take effect when you land, but what about the trigger? I was able to have it smooth animation by just setting the transition period to 0. Whats the difference between trigger and bool?
@twedle4456
@twedle4456 2 жыл бұрын
these tutorials are so good
@gamespoint1701
@gamespoint1701 2 жыл бұрын
I absolutely love the explanations, by far the most descriptive tutorials for beginners. It would be awesome if you could make a series like this for making a racing game.. ♡
@PandemoniumGameDev
@PandemoniumGameDev 2 жыл бұрын
A lot of people are requesting this so yes, I'll do it for sure in the future.
@gamespoint1701
@gamespoint1701 2 жыл бұрын
@@PandemoniumGameDev thank you and I love the memes you add in between the vids 😂
@LauxKanal
@LauxKanal 2 жыл бұрын
love you, and love you acctually explain smth
@PandemoniumGameDev
@PandemoniumGameDev 2 жыл бұрын
Thanks a lot!
Unity 2D Platformer for Complete Beginners - #3 WALL JUMPING
17:16
Pandemonium
Рет қаралды 170 М.
The magical amulet of the cross! #clown #小丑 #shorts
00:54
好人小丑
Рет қаралды 20 МЛН
Зомби Апокалипсис  часть 1 🤯#shorts
00:29
INNA SERG
Рет қаралды 6 МЛН
😱СНЯЛ СУПЕР КОТА НА КАМЕРУ⁉
00:37
OMG DEN
Рет қаралды 1,8 МЛН
2D Animation in Unity (Tutorial)
21:53
Brackeys
Рет қаралды 2,4 МЛН
Uhhhhh... Hmmmmmm...
8:09
Phoenix SC
Рет қаралды 510 М.
Unity 2D Platformer for Complete Beginners - #1 PLAYER MOVEMENT
15:38
12 Principles of Animation (Official Full Series)
24:03
AlanBeckerTutorials
Рет қаралды 13 МЛН
How I made an Excellent Platformer
8:25
GoldenEvolution
Рет қаралды 246 М.
How to make a 2D platformer - Unity Tutorial Crash Course
40:32
bblakeyyy
Рет қаралды 180 М.
СТЁР ДРУГА в РОБЛОКС! Roblox #roblox #роблокс
0:28
ВЛАДУС ИГРАЕТ
Рет қаралды 2,8 МЛН
СКРАФТИТЬ БЕДРОК - ЛЕГКО✅
0:32
ВЛАДУС
Рет қаралды 2,7 МЛН