Тёмный

HOLD JUMP KEY TO JUMP HIGHER - 2D PLATFORMER CONTROLLER - UNITY TUTORIAL 

Blackthornprod
Подписаться 552 тыс.
Просмотров 296 тыс.
50% 1

Опубликовано:

 

17 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 633   
@not2shabby17
@not2shabby17 6 лет назад
The ad before the video was about how to jump higher in basketball lol.
@greyenbee9049
@greyenbee9049 4 года назад
i mean all ya gotta do is delete the check for if you are on the ground. them NBA player don't know this yet
@pulkit.guglani
@pulkit.guglani 4 года назад
@@greyenbee9049 That's really funny, sad part: No one noticed or understood it.
@tinemupfacha6051
@tinemupfacha6051 3 года назад
@@B8Code Stop advertising please
@B8Code
@B8Code 3 года назад
@@tinemupfacha6051 srry this was 4 months ago but now i stopped
@mouse372700
@mouse372700 6 лет назад
hi i'm korean -this sentence is Google Translator I was almost giving up implementing this function thank you so much for tutoring this function. I wish you more subscribers. ^^b
@mintesnotmelese6552
@mintesnotmelese6552 5 лет назад
lol
@sugaristhenewwhite
@sugaristhenewwhite 5 лет назад
hi korean -this sentence is Google Translator I was almost giving up implementing this function thank you so much for tutoring this function. I wish you more subscribers. ^^b im sugar
@Laranthir
@Laranthir 4 года назад
Dad jokes.. Dad jokes everywhere
@EnderElectrics
@EnderElectrics 4 года назад
@@sugaristhenewwhite I love you
@sugaristhenewwhite
@sugaristhenewwhite 4 года назад
@@EnderElectrics owo
@aaronhambling4256
@aaronhambling4256 6 лет назад
Excellent tutorial dude. I don’t really have any specific requests right now but keep it up your killing it right now with these vids. Dare I say overtaking brackeys as one of the best unity youtubers atm.
@Blackthornprod
@Blackthornprod 6 лет назад
Thanks so much for the encouraging feedback :) ! I'm definitely going to keep up this content !
@quinncraven-pittman
@quinncraven-pittman 3 года назад
If your character gets stuck on a wall when you touch it, make a new Physics Material 2D in your assets, then set the friction to 0, and add it onto the collider on your player. :)
@terencegovender5345
@terencegovender5345 3 года назад
Collider or rb? I remember it as rb
@என்_உலகம்
@என்_உலகம் 3 года назад
In Collider
@snappy6720
@snappy6720 2 года назад
Physic not physics
@jozimastar95
@jozimastar95 2 года назад
its rb
@snappy6720
@snappy6720 2 года назад
@@jozimastar95 rigid butt
@nicemikespeedruns
@nicemikespeedruns 5 лет назад
You are such a good RU-vidr! Every time when I am searching for programming tutorials, nothing works but yours. Thanks for all!
@DrFross09
@DrFross09 5 лет назад
That's the worst I remember, when I was a Uni-noob, spending Weeks following a 14 part tutorial that left me with just this garbage code, that i didn't know (at that time) how to fix. I feel your struggle.
@lesarch
@lesarch 5 лет назад
You saved my life man. I was fumbling through the internet looking for a way to do the variable height jump and this fixed everything. Thanks!!
@havendewart
@havendewart 3 года назад
Here is some improved code that fixes a double jump bug and adds cool fall physics as well as better organization. I got the cool fall from a video called better jump with 4 lines of code. I recommend values of 2 and 2.5 for the fall multiplier variables. using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerMovement : MonoBehaviour { [Header("Components")] private Rigidbody2D rb; public float speed; public float jumpForce; private float moveInput; [Header("Layar Mask")] private bool isGrounded; public Transform feetPos; public float checkRadius; public LayerMask whatIsGround; [Header("Jump")] private float jumpTimeCounter; public float jumpTime; private bool isJumping; [Header("fall physics")] public float fallMultiplier; public float lowJumpMultiplier; //Gets Rigidbody component void Start() { rb = GetComponent(); } //Moves player on x axis void FixedUpdate() { moveInput = Input.GetAxisRaw("Horizontal"); rb.velocity = new Vector2(moveInput * speed, rb.velocity.y); } void Update() { isGrounded = Physics2D.OverlapCircle(feetPos.position, checkRadius, whatIsGround); //turn twords you go if (moveInput > 0) { transform.eulerAngles = new Vector3(0, 0, 0); } else if (moveInput < 0) { transform.eulerAngles = new Vector3(0, 180, 0); } //cool jump fall if (rb.velocity.y < 0) { rb.velocity += Vector2.up * Physics2D.gravity.y * (fallMultiplier - 1) * Time.deltaTime; } else if (rb.velocity.y > 0 && Input.GetKey(KeyCode.Space)) { rb.velocity += Vector2.up * Physics2D.gravity.y * (lowJumpMultiplier - 1) * Time.deltaTime; } //fixed double jump bug if (Input.GetKeyUp(KeyCode.Space)) { isJumping = false; } //lets player jump if (isGrounded == true && Input.GetKeyDown("space") && isJumping == false) { isJumping = true; jumpTimeCounter = jumpTime; rb.velocity = Vector2.up * jumpForce; } //makes you jump higher when you hold down space if (Input.GetKey(KeyCode.Space) && isJumping == true) { if (jumpTimeCounter > 0) { rb.velocity = Vector2.up * jumpForce; jumpTimeCounter -= Time.deltaTime; } else { isJumping = false; } } } }
@guille_sanchez
@guille_sanchez 3 года назад
Does anyone know how to add a controller button apart from the keybutton "space"?
@Santosos255
@Santosos255 2 года назад
@@guille_sanchez you can do it with strings
@PuraCaseus
@PuraCaseus 2 года назад
Thank you!
@havendewart
@havendewart 2 года назад
Make sure your grounded detection is working. If your player is set to your ground layer that could also be the issue.
@Tank3344-u2w
@Tank3344-u2w 2 года назад
it gives me this error plz help NullReferenceException: Object reference not set to an instance of an object PlayerMovement.Update () (at Assets/finshed scripts/PlayerMovement.cs:49)
@babywithatank9565
@babywithatank9565 6 лет назад
I got an ad for a basketball tutorial on how to jump higher, irony of it.
@noellekkar903
@noellekkar903 4 года назад
😂😂
@itsmyfavgameseries
@itsmyfavgameseries 4 года назад
The comment above yours had the same ad 😳
@IDontReadReplies42069
@IDontReadReplies42069 4 года назад
that is in no way shape or form ironic, please look up the definition of irony.
@benedglazer
@benedglazer 3 года назад
@@IDontReadReplies42069 bruh.
@vitorpaulinogoncalves936
@vitorpaulinogoncalves936 6 лет назад
Although I am not so fluent in English to understand all the dialogues, I learn a lot from these videos. I am Brazilian. :D
@toastedperfection2488
@toastedperfection2488 6 лет назад
This is the earliest I've ever been. This is because this is the second video I've watched since I've subbed. I watched lots of older videos & newer ones & I decided to subscribe. Thank you so much for all the help. This channel is awesome. I hope to see you continue doing videos.
@Blackthornprod
@Blackthornprod 6 лет назад
Thanks so much for the support :) ! This is really just the beginning of me and my channel's journey, you can expect plenty more :) !
@havendewart
@havendewart 4 года назад
After 3 hours of frustration, it works. I So find happy lol. And to everyone who had trouble just persevere.
@B8Code
@B8Code 3 года назад
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-YzCF3zbfUE0.html
@BluePhantomGames
@BluePhantomGames 3 года назад
Hipity Hopity Your knowledge is now my property 😎
@donutdude4174
@donutdude4174 6 лет назад
Your video Quality has gone up incredibly I've been watching your videos since the 2D character customizer one of your early videos now your like Super Efficient with your Code and informative. Your videos are Really Good my Friend keep up the Amazing work Noah & Friends I Appreciate It Thank You! 👌👍
@Blackthornprod
@Blackthornprod 6 лет назад
Thanks so much :) ! Yep I'll try my best to keep improving my content, with motivating comments like yours I'm definitely keeping it up !
@NM-jw9jh
@NM-jw9jh 4 года назад
a free simple working tutorial on jumping without premade controller??? is this a dream??
@phutureproof
@phutureproof 6 лет назад
Can't believe how long I've been trying to figure this out just to see it put very clearly in this video, well done sir you earned a sub
@Blackthornprod
@Blackthornprod 6 лет назад
Thanks for the support :) ! I'm really glad the video helped you out !
@phutureproof
@phutureproof 6 лет назад
Hey thanks for the
@williamstrnad4243
@williamstrnad4243 6 лет назад
Yay, another episode, could you by any chance make a boss battle tutorial
@rohitalawa9306
@rohitalawa9306 6 лет назад
William Strnad Yes
@Blackthornprod
@Blackthornprod 6 лет назад
I think that would be really interesting :) ! I could add it to my AI series perhaps.. yep, I think it's an awesome idea actually, stay tuned !
@AhmedKhalfYolo
@AhmedKhalfYolo 6 лет назад
Blackthornprod thank you :) I'd like like a boss tutorial too
@arikty8966
@arikty8966 6 лет назад
Also really want a boss battle tutorial. :'D
@turtlehub2731
@turtlehub2731 5 лет назад
make a ememy, but stronger and with more atttacks
@timgal5868
@timgal5868 3 года назад
I'm trying to do the same thing in Love 2D and your tutorial actually really helped! I finally understand how this sort of jump works and I was able to reverse engineer your code into my Love 2D Lua project. Thank you!
@guille_sanchez
@guille_sanchez 3 года назад
Does anyone know how to add a controller button apart from the keybutton "space"?
@bubbaboogsvr
@bubbaboogsvr 2 месяца назад
@@guille_sanchez 2 years late and i know you don't need it now, but it's GetButtonDown instead of GetKeyDown
@markusdevs4773
@markusdevs4773 4 года назад
I made a two-month break from making games because I was overwhelmed with the school work and other things I had to do and now when I got back to it I totally forgot the syntax for C# and I was laughing at myself in front of vs screen for 10 minutes straight.
@Fran3Designs
@Fran3Designs 4 года назад
This is incredible well explained, I can notice how much you edit the video to keep it clean and short, but at the same time with a lot of information. Thank you very very much.
@denislavkaragiozov5876
@denislavkaragiozov5876 5 лет назад
Awesome buddy, thanks for doing this video it made the jumping much more interactive and having such a feature adds a bonus layer to the plain action of jumping !
@DrFross09
@DrFross09 5 лет назад
Thank you for making this video. After implementing this code i noticed that the character would do sort of a mini double jump when ascending, I also see this replicated in the beginning of your video. after playing around with the values I found it best to actually set the initial jump as the Max height, and while jumping, instead of adding force when the jump button is held, you'd want to subtract (add a negative) force when the jump button is not held (I added an additional line that would stop the subtraction when I fell below a certain Y velocity, just so i'm not pulled down any faster) the result is more seamless jump, But again I thank you for making this video. I would not have come to this point, if it weren't for you.
@adamantal9129
@adamantal9129 5 лет назад
I was thinking the same, as it's also a much easier method, that instead of increasing the height while the button is down, just simply increase the gravity to fall faster or add a new force to push down the character when the key is released. But it kinda gives a different feeling to the jump.
@360spider06
@360spider06 4 года назад
im trying to test this ut can you show me how you did it cause im doin this rb.velocity = new Vector2(rb.velocity.x, jumpHight - =1);
@cakerama
@cakerama Год назад
tysm, Ive been trying to figure this out for a while. every thing you said made sense and worked out perfectly. :)
@rauljerilara
@rauljerilara 2 года назад
I really enjoy your videos every time I want to do something new. Thank you!
@captaintany4133
@captaintany4133 Год назад
Bro you saved me so much time. Thank you and super simple and great tutorial by the way.
@Broockle
@Broockle 4 года назад
nice tutorial, I was actually hoping to get some advice how to animate a jumping animation that uses this system. The hollow knight main character has a jump up and jump down animation followed by a falling and then landing animation I think. And it adapts to the height of the jump.
@itschiru
@itschiru 3 года назад
You can use a transition using float and do that that float is equal to velocity.y now if is greater than a velocity playa another animation
@stealthy1223
@stealthy1223 3 года назад
Included almost everything I needed for the movement in 1 vid. thanks!
@oliverdepp4731
@oliverdepp4731 6 лет назад
I tried the brackyes code but that didn't work out, but yours did. You're awesome!
@drunkengaming4782
@drunkengaming4782 3 года назад
Thank you for this video.. I was following a tutorial while making my own "Wario land 3" and obviously, it had that Mario jump mechanic.. so I've decided to start again with everything I learned but rather than blindly follow tutorials, I'll use this as my base and the rest I'll use what I learned on the way😘
@notlight4968
@notlight4968 3 года назад
This video is underrated, bro you are the best
@OlivierPons
@OlivierPons 5 лет назад
Why is the reason you use feetPosition + manual "OverlapCircle" instead of using Unity colliders + OnCollisionEnter() and OnCollisionExit()? Maybe at the time of writing you didn't know about it, or is there an optimisation reason?
@MrFlamingpride
@MrFlamingpride 6 лет назад
Masterful. Thank you sooooo much. You taught me how to use timers correctly in this tutorial too! Now I'll try making a charge shot like in Megaman!
@Gameoverpty
@Gameoverpty 5 лет назад
Perfect, this help me a lot with some things, i have 2 weeks learning unity, so thank you!
@DawnosaurDev
@DawnosaurDev 6 лет назад
I believe you can also use scale to flip by setting it to -1 Really interesting video never thought it was that easy
@TheCivildecay
@TheCivildecay 6 лет назад
thought that was the goto solution for any 2d sprite based game haha
@jehramdavejara2086
@jehramdavejara2086 4 года назад
Hi Great Tutorial and clear articulation. im very new to unity i managed to recreate the code in my project. My question is can it be combined with the previous tutorial's double/triple jump mechanics? can I just copy the lines or do i have to tweak some lines specifically ? thanks
@palewine
@palewine 4 года назад
It would be more efficient to check if the player is grounded when you hit the Jump button (in the "if" condition), rather than checking every single frame whether it's needed or not.
@SMT-ks8yp
@SMT-ks8yp 3 года назад
But what if you need to check for ground the moment you landed? Like, to set animator triggers. Hmmm, guess then I can do it through function which is called OnCollisionEnter. This would still generate unwanted callback for whatever collider was not ground, but which is more expensive?
@Gooseguy1000-1
@Gooseguy1000-1 2 года назад
I appreciate that you made this video. Thank you very much.
@ArkThaCreator
@ArkThaCreator 6 лет назад
thankyou for the tuts! i cant use unity, currently i use animate CC and AS3 but you help me in alot of ways with it! thankyou very much keep it !
@gioeledallapozza5824
@gioeledallapozza5824 5 месяцев назад
I'm trying to implement this in the wall jump too, it would be great if you made a video about it!
@waterfallbw
@waterfallbw 6 лет назад
Also, Blackthornprod, thanks for playing my game. I'm TheMonoMew from discord (with the smash bros type game)
@danivalentine1280
@danivalentine1280 4 года назад
This is old, but you should definitely keep Inputs in Update instead of Fixed Update because sometimes the game won't catch the Input quick enough. Great tutorial though!
@danivalentine1280
@danivalentine1280 4 года назад
@Gabriel Gatea no problem! It fixed the jump for my game as well haha
@destroyer9241
@destroyer9241 2 года назад
Great video helped a lot
@winb_
@winb_ 6 лет назад
Very good turotial! I do also have a video suggestion, could you make a tutorial on inventory systems, I've been looking on youtube but all I can find are unfinished tutorial series and although Brakeys' tutorials are good, they seem kinda complicated as I was just looking to use a simple inventory system in a 2d game, but then I thought about you and your great way of making concise and straight to the point videos so I thought I'd leave a comment. Thanks again for all your helpful videos! :)
@bltsevdallarfanclub641
@bltsevdallarfanclub641 5 лет назад
Best 2D Movement Tutorial of all time
@alialsubaie8529
@alialsubaie8529 6 лет назад
I love your videos and hope to see more. Quick question, I noticed that you implemented the jump (change in velocity) in the update (not fixedUpdate) method, why? I've seen this in many other videos as well.
@devmarboy4045
@devmarboy4045 2 года назад
I need help when I hold the jump button my character stays in place till the timer stops then it starts moving again
@VaneTheLocal
@VaneTheLocal Год назад
Here's a tip for better movement.... On the player, set the "Linear Drag" to a greater value.... in the player script, instead of using" rb.velocity = ...." use "Rb.AddForce(*direction* x *small value*)" I bet there's one little problem now, the jump.... To fix this, go to player script, and check if the feet object overlay is not colliding, if so set normal values of rb, if not, set the "Linear drag" to a greater value
@TiaCam-mg1ht
@TiaCam-mg1ht 6 месяцев назад
thank you so muchh
@VaneTheLocal
@VaneTheLocal 6 месяцев назад
@@TiaCam-mg1ht thanks for the response! Although I dont do game development now (I do 3d Modeling) im still happy to help!
@ioanefeiqrishvili1617
@ioanefeiqrishvili1617 6 лет назад
Very good tutorial but why you are detecting input in fixedupdate? You have to detect input in update cause it's more faster and than move if rigidbody attached in fixed update!
@ravature6577
@ravature6577 3 года назад
This is exactly what I was looking for!
@vlakitus
@vlakitus 6 лет назад
Great tutorial! Exactly what i'm looking for! Can you please make a tutorial for wall jumping?
@demoa0414
@demoa0414 2 года назад
Thx so much it was so helpful i was trying to do some player movment but it always give an error💔😂 horizontal input is not setup something like that but that code worked so well thx👍👍👍
@cleanshirtlabs9620
@cleanshirtlabs9620 5 лет назад
What kind of color scheme are you using in your visual studio? Looks cool :D
@Zayther
@Zayther 5 лет назад
It is not visual studio actually! He is using another code thingie (Idk terms XD)
@fruity7886
@fruity7886 4 года назад
@@Zayther are you sure it definitely does look like visual studio
@Zayther
@Zayther 4 года назад
@@fruity7886 I'm sure a least in this video
@mokeeh4821
@mokeeh4821 6 лет назад
Hi Noa, great video as always! I was wondering if there is a chance of you making a tutorial (series?) about 3D character movement? Having mainly 3D platformers in mind such as A Hat in Time, Yooka Laylee and such. Keep up the great work, you're a fantastic educational resource and a great teacher :D
@pacocu9839
@pacocu9839 4 года назад
Great way of teaching :) I liked a lot your game at the GMTK 2020 btw
@FakemonFactory
@FakemonFactory 5 лет назад
like everyone else I REALLY considered giving this up... bless you
@DrFross09
@DrFross09 5 лет назад
Never give up, trust your instincts.
@sipsopgamera7624
@sipsopgamera7624 4 года назад
@@DrFross09 My instincts is telling me to give upp
@mreverything7056
@mreverything7056 4 года назад
Great turtorial, but you should make sure to multiply your movements by time.deltaTime, or you should put the physics in the FixedUpdate region (saying this because I did the turtorial just like this, and got a bug)
@worldrevealed1897
@worldrevealed1897 6 лет назад
great tuto. should've add faster fall down after jump for more smoother jumping
@DuKeJooJs
@DuKeJooJs 6 лет назад
I really want to use it, but i'm having a little problem, if i press jump many times quick, sometimes the character do a "Double Jump", how can i solve it?
@jankozorbas
@jankozorbas 5 лет назад
I'm having the same problem, did you maybe find a solution?
@adamantal9129
@adamantal9129 5 лет назад
@@jankozorbas have you tried to add "&& isJumping = false" to if(isGrounded == true && Input.GetKeyDown("Jump")) like this: if(isGrounded == true && Input.GetKeyDown("Jump") && isJumping = false) haven't tried it I will do so later
@johku433
@johku433 5 лет назад
@@adamantal9129 did it work?
@adamantal9129
@adamantal9129 5 лет назад
Yes, it's working
@ARTHUR14523
@ARTHUR14523 4 года назад
That's happening because you have a very large radius on check radius so if you manage to press the space so quick the radius is still touch the ground. Try a smaller number on check radius instead.
@kimen1
@kimen1 6 лет назад
Cool! Part 2 of the video: how to accelerate & jump between walls like in super meatboy.
@utkugokalp3179
@utkugokalp3179 6 лет назад
I was waiting this video from you, thanks very much :)
@NelsonZavala0509
@NelsonZavala0509 5 лет назад
Hi Noa, Hey is there a video that show how to move and animate the player left or right but also play a Walk, Run and Sprint animation depending of the moveInput value ? for example if moveinput between 0.010 to 0.030 then play the Walk Animation and apply a Low force to the Right or Left or moveInput between 0.031 to 0.060 then play the Run Animation and apply a Medium Force to the Right or Left and moveInput between 0.061 to 1 then play the Sprint Animation and apply a High Force to the Right or Left
@patrickvonallworden6152
@patrickvonallworden6152 4 года назад
thank you so so much for the nice tutorial
@MayasMotivation
@MayasMotivation 6 лет назад
Thank you, bro! I asked you about this several days back! I'm actually surprised it became a video. This will help a lot of people in the future. Thank you so much! :)
@Blackthornprod
@Blackthornprod 6 лет назад
I'm so glad the video helped you out :) !
@MayasMotivation
@MayasMotivation 6 лет назад
Hahaha! Thank you so much. And keep up the good work! This was a truly needed topic. xD
@LawMasterTimmy
@LawMasterTimmy 5 лет назад
You are so so so amazing. Thank you so much for putting your time into this tutorial, and all your other ones as well.
@60quadros32
@60quadros32 3 года назад
Your tutorial is great.
@jacquesdebruin4839
@jacquesdebruin4839 2 года назад
Thanks for the help. I whould recomend going a little slower but other tham that grait job
@quangcaonhat5860
@quangcaonhat5860 Год назад
Thanks for your content, It's help me a lots
@viendoronila6595
@viendoronila6595 4 года назад
Thank you, BlackThornProd. I've been having problems with my feetCollider(BoxCollider2D) and bodyCollider(CapsuleCollider2D). Basically my game's player has two colliders, one for checking the ground and one for the body to detect damages from an enemy. The huge problem was there's an edge that intersects the bottom of the capsule and the top of the box, so whenever I jump at platforms within jump reach, I tend to get stuck at the sharp edge of my platforms. I tried to fix it using Custom Physics Shape by turning my sprites' sharp edges to 45°. Nothing worked so I have to eliminate the box collider somehow, then I found this. Thank you again :>
@rohanpatel2608
@rohanpatel2608 6 лет назад
You can also multiple (-1) to the local scale to flip the player!!
@lotanyahav2177
@lotanyahav2177 3 года назад
ive been facing a problem that i didnt manage to fix which lets you jump like 5 times before you stop if you spam the jump key, any ideas on how to fix?
@pagoda_dimensionale9761
@pagoda_dimensionale9761 4 года назад
I got a question. Why you say that the player can doublejump in midair at 6:29? jumpTimeCounter is not assigned. So it value is 0. by dafault. You can doublejump in midair if you assign a value to it, bacuase jumpTiimeCOunter became > 0.
@ferdc2916
@ferdc2916 4 года назад
Superb tutorial. Do you have any with animation?
@rubenjo9266
@rubenjo9266 Год назад
doing it this way makes it feel very floaty, like instead of a burst of velocity that goes down as you go up, you start slowly, then go up normally, like youre levitating or like an invisible hand is picking you up. Any way to make the jump feel more jumpy?
@mariusbarbu1268
@mariusbarbu1268 Год назад
Thank you for the video! It really helped me out.
@Lajlaj
@Lajlaj 3 года назад
This is working, but I can triple jump if i press the space bar quick enough until I reach the peek of the jump. Is there a way to remove that so I cannot spam the spacebar to jump while im in the air?
@aMyst_1
@aMyst_1 2 года назад
u actually helped stop infinite jumping tank you :)
@simpleonion660
@simpleonion660 3 года назад
Is there is no maximum jumping limit or did I just screwed up something in script?
@uma_sankar
@uma_sankar 6 лет назад
Awesome Video, Looking for more videos like this.Keep Going !!!!
@BEPPEJHA
@BEPPEJHA 6 лет назад
Really really well made tutorial !
@ianteixeirapessoa9294
@ianteixeirapessoa9294 8 месяцев назад
thank you man, u are a great person
@landonlikesjazz3420
@landonlikesjazz3420 3 года назад
Any advice if it doesn’t work and u have no idea why I checked my code and it all is the same. I can’t jump higher when I hold space
@omerseyfettinbekar2780
@omerseyfettinbekar2780 4 года назад
thanks for video this is so much helpful i am new at game developer and i try to find stop jump animation and how turn my swordman left i found this in your videos thank you Sorry for english i am new in this,too
@armandviljoen2848
@armandviljoen2848 6 лет назад
Can you please do a video on how to animate in unity like your cube for instance, moving up and down in idle, did you export a file from PS as shown on previous videos or is this only animated in unity? I struggle with Idle animations
@Jonch95
@Jonch95 Год назад
Is there a reason why you place the jump logic in Update vs FixedUpdate? They're both using physics since you're working with rigidbody.
@nabjnabjev
@nabjnabjev 6 лет назад
*I LOVE YOUR TUTORIAL!*
@NicholasScotti
@NicholasScotti 6 лет назад
but i have a problem... my player after he touch the ground the sprite fall a little inside the ground sprite... what is the problem ? i know this problem is a popular problem with 2d character jump ... ( sorry for my english)
@ugobodard9506
@ugobodard9506 2 месяца назад
hey when I use the extra jump time im not able to move mid air do you guys have the same problem. great vid tho!!
@yushankkashyap7771
@yushankkashyap7771 4 года назад
when doing 180 degrees rotation my player gets invisible. Help me fix this problem.
@iwayannararyapramana8788
@iwayannararyapramana8788 4 года назад
My unity version 2019.2.0f1 and this method not working in my unity. How to make it work on 2019.2.0f1 version of unity???
@davidemarchese7569
@davidemarchese7569 Год назад
I don’t understand why the jump code goes in the update function And the walk code in the fixedUpdate function. Aren’t them both physics stuff?
@TheGrandBagel
@TheGrandBagel 5 лет назад
Followed along, not sure if a year makes a difference but by the end, I couldn't move while jumping, adding the horizontal movement code in with the if(JumpTimeCounter > 0) fixed it
@roundishwhale
@roundishwhale 3 года назад
Lovely tutorial, thank you so much^^
@yairv13
@yairv13 4 года назад
Thank you so much for all your videos man! Is there a chance to get a link to this tiny project?
@guilhermesantosaraujo4313
@guilhermesantosaraujo4313 10 месяцев назад
just one question, why is my character slow falling. My settings are the same as yours
@sankaranarayanamurthy6227
@sankaranarayanamurthy6227 3 года назад
Hello. I have an issue. When I press the space key, the character jumps, but it can jump infinitely(groundCheck is not working). Also, the "Press space to get a higher jump " is not working for me. Help!!!
@613Omar
@613Omar 5 лет назад
Blackthornprod really nice video, this is a "most-wanted" mechanic. One question... why the left/right movement on Fixed but the up/down on Update, both are afecting the rigidbody... ¿shouldn both be on fixed?
@ZeroChronicles01
@ZeroChronicles01 5 лет назад
I love this tutorial so much, much better then the last one ! ^_^ only problem I had was my camra was also flipping as well? My camra is set to follow my character. Any tips?
@dantegilroy2075
@dantegilroy2075 3 года назад
i have a probleme : in my character, here no asking for the jumpForce. How to solve this ? (sorry if m'y english is bad, i'm french)
@tharanios2501
@tharanios2501 6 лет назад
Nice tutorial man!❤️
@havendewart
@havendewart 4 года назад
Add a constraint on z under rigid body so the player does not rotate.
@tryptex
@tryptex 5 лет назад
For some reason why I jump my player stops moving on the horizontal axis until he is done moving up, can I get some help?
@andresnavarro7215
@andresnavarro7215 3 года назад
Same
Далее
I Made A Difficult Game About Climbing
15:04
Просмотров 2,1 млн
Silent Hill 2 - Мульт Обзор
07:26
Просмотров 468 тыс.
💅
00:24
Просмотров 108 тыс.
How to jump in Unity (with or without physics)
16:09
Просмотров 46 тыс.
I Made the Same Game in 8 Engines
12:34
Просмотров 4,1 млн
5 DEVS Make a GAME without COMMUNICATING! (FPS edition)
19:10
How to make a good platforming character (Developing 6)
14:50
ULTIMATE 2D Platformer Controller for Unity
19:06
Просмотров 10 тыс.
10 Minutes vs. 10 Years of Animation
19:29
Просмотров 1 млн
Silent Hill 2 - Мульт Обзор
07:26
Просмотров 468 тыс.