Improve Your Platformer with Forces | Examples in Unity

  Рет қаралды 179,849

Dawnosaur

Dawnosaur

Күн бұрын

Пікірлер: 456
@DawnosaurDev
@DawnosaurDev 3 жыл бұрын
🎬Just launched the Sequel: kzbin.info/www/bejne/gXyqlXd4e8ioZrM Discord: discord.gg/W5vE5WKXYH Try out the examples: dawnosaur.itch.io/platformer-examples
@SlytheBat
@SlytheBat Жыл бұрын
WTF That reply was so fast!!!
@hamzabeg6882
@hamzabeg6882 2 жыл бұрын
this is, quite literally, EXACTLY what I was looking for. I wanted to make Celeste-esque physics and didn't even have to search specifically for Celeste to find this.
@DawnosaurDev
@DawnosaurDev 2 жыл бұрын
Happy it helped!
@Verdal_JG
@Verdal_JG 2 жыл бұрын
Maddy has made a post on medium about how celeste physics works. It does not work using forces. It uses speed/velocity vectors to calculate movement and exact positions on a tilemap (due to it being pixel art, madeline cannot move half a pixel etc), obviously its a lot more complex than that, but I can confirm it does not use forces as such. The concept is the same however, you do want acceleration and deceleration, but you can achieve it without forces.
@beri4138
@beri4138 Жыл бұрын
@@Verdal_JG Isn't it incorrect to say Madeline cannot move half a pixel? Since strats like ceiling pop rely on manipulating her subpixel position?
@Verdal_JG
@Verdal_JG Жыл бұрын
@@beri4138 forgot to specify visually, obviously subpixels exist but visually the game only uses integer values
@beri4138
@beri4138 Жыл бұрын
@@Verdal_JG I didn't realize subpixels can exist visually
@MrCrompz
@MrCrompz 7 ай бұрын
This is exactly what I needed! A video on advanced movement! I was having loads of issues previously, and this fixes them all! Thanks so much!
@Arcadendo
@Arcadendo 3 жыл бұрын
Wow, even though I'm not a game dev, everything was so well explained and easy to understand. Also great editing ;).
@DawnosaurDev
@DawnosaurDev 3 жыл бұрын
Fancy seeing you here
@Arcadendo
@Arcadendo 3 жыл бұрын
@@DawnosaurDev ;)
@huseyinakkoc1062
@huseyinakkoc1062 Жыл бұрын
accelRate = (Mathf.Abs(targetSpeed) > 0.01f) ? acceleration : decceleration; what is that ? can you explain
@Nazadev
@Nazadev Жыл бұрын
@@huseyinakkoc1062 The line of code in question is as follows: csharp copy code float accelRate = (Mathf.Abs(targetSpeed) > 0.01) ? acceleration : deceleration; This line of code is inside a FixedUpdate() function in Unity and is responsible for calculating the acceleration rate (accelRate) based on the target speed (targetSpeed), acceleration (acceleration) and deceleration (deceleration). Next, we will break down the line of code to understand how it works: Mathf.Abs(targetSpeed) > 0.01: This part of the code checks if the absolute value of targetSpeed ​​is greater than 0.01. Mathf.Abs() is a static function of the Mathf class in Unity that returns the absolute value of a number. In this case, you are checking if the targetSpeed ​​is greater than a minimum value of 0.01. This is used to determine if the object should speed up or slow down. ? acceleration : deceleration: This part of the code is a ternary operator that determines the value of accelRate based on the result of the previous condition. If Mathf.Abs(targetSpeed) > 0.01 is true, then accelRate will be equal to acceleration. Otherwise, accelRate will be equal to deceleration. In short, this line of code sets the acceleration rate (accelRate) based on the target speed (targetSpeed). If the target speed is greater than 0.01, the acceleration value is used. Otherwise, the deceleration value is used. Yeah I used ChatGPT
@ntu409
@ntu409 3 жыл бұрын
I was looking for something like this for days. Really well-made video.
@Megahertzs
@Megahertzs 3 жыл бұрын
Let me just say man, of all the player controllers I've implemented, when I finally got this working, it is by far the best feeling controller I've ever made. I'm more of a Visual Scripting guy so it took me a little time to translate your system here, but DUDE! Thank you so much! This is now going to be my designated method for player movement! You rock!
@DawnosaurDev
@DawnosaurDev 3 жыл бұрын
Thanks so much, that means a lot. Glad it was helpful :D
@DonJulioGames
@DonJulioGames 2 жыл бұрын
would love to see the visual script version of this!
@perrylets
@perrylets Жыл бұрын
If you like visual scripting, what you can do is making modular c# code and make specific cisual editors for your use case (I know it's hard, but it's also weirdly fun)
@tylerweirtube
@tylerweirtube Жыл бұрын
This is perfect. Working on my first game with my son. Our movement is big standard and feels awkward. Thank you so much!
@morososaas3397
@morososaas3397 2 жыл бұрын
2:07 the most beautiful 4 lines of code I have seen in my life
@DawnosaurDev
@DawnosaurDev 2 жыл бұрын
Made me smile!
@vinhnguyen-o5z
@vinhnguyen-o5z 2 жыл бұрын
agreed
@Radek_M.
@Radek_M. Жыл бұрын
Well, I spent many hours looking for a good and also beginner-intermediate 2D platformer movement system for Unity and finally found this. Now this is a quality content. The video is easy to understand, and the used concepts are really well-explained. Provided github code is well documented and easy to understand with some Unity documentation digging, also great for adapting by using scriptable object for holding movement parameters. I hope you will put here more useful videos like this. :)
@floatixx
@floatixx 2 жыл бұрын
Actually crazy how much information you put in this video while keeping it short AND understandable. Really really great video!
@huseyinakkoc1062
@huseyinakkoc1062 Жыл бұрын
"accelRate = (Mathf.Abs(targetSpeed) > 0.01f) ? acceleration : decceleration;" what is this can you pls explain ı did not get it
@mithatcanturan1452
@mithatcanturan1452 2 жыл бұрын
Man, I've been using Unity for quite a long time this is literally the BEST video I've ever seen about platformer movement. Glad youtube showed this on my homepage.
@DawnosaurDev
@DawnosaurDev 2 жыл бұрын
Wow, thanks so much! Happy it helped :D
@linzenmeyer
@linzenmeyer 3 жыл бұрын
Haven't looked at the code, but from the looks of the listed files, you are using the new Input System....thank god!
@DawnosaurDev
@DawnosaurDev 3 жыл бұрын
The new input system's so cool! It's not super well implemented in the code right now, but when I get round to adding some new features, I'll try to tidy it all up and make it all fit nicely :D
@linzenmeyer
@linzenmeyer 3 жыл бұрын
@@DawnosaurDev and for those who had issues like me implementing the handler and control files and movement scripts, you will need to go into Edit-> Project Settings and then Player and scroll down to the configuration section and change Active Input Handling from New or Old into "Both" in order for the current code to work.
@ricniclas
@ricniclas 2 жыл бұрын
Your video is so good that I managed to use your solution for 3D, as well as adapt your code to have momentum like Sonic games!
@MasterDisaster64
@MasterDisaster64 Жыл бұрын
May I ask how you converted the Run method into 3D? I tried to, but it caused the character to accelerate exponentially out of control.
@gamedevshrish7602
@gamedevshrish7602 2 жыл бұрын
This is very nice way of using RB but still respecting it's velocity variable by keeping it untouched.
@bendux
@bendux 3 жыл бұрын
Thank you!
@DawnosaurDev
@DawnosaurDev 3 жыл бұрын
No thank You for watching :D
@zXMOSZXz
@zXMOSZXz 3 жыл бұрын
This is amazing. Really hope you keep up with these. Great job!
@zaixrx
@zaixrx 3 жыл бұрын
Wow, I really like that, I've been looking for this video for a long time
@zaidmermam2524
@zaidmermam2524 3 жыл бұрын
finally a professional tutorial about unity player movement, thanks!
@kardokdelikaya9570
@kardokdelikaya9570 Жыл бұрын
Thanks a lot for this tutoriol. I tried so hard to make a good platformer movement and watch a lot of videos. Yours is the best.
@Uniquename12345a
@Uniquename12345a 2 жыл бұрын
One of the highest Quailty gamedev tutorials i ever seen
@I-OGameDev
@I-OGameDev 2 жыл бұрын
This video is so high quality, excellent job! Looking forward to more
@bungercolumbus
@bungercolumbus 2 жыл бұрын
Really nice explained. Many people which program in unity do not realize how important all of these mechanics are and you really explained all. Edit: And the fact that you explained them IN CODE. Dude you need more subs.
@SlytheBat
@SlytheBat Жыл бұрын
I remembered seeing this video 2 times before, and I remembered it was so simple and informative. And today I am making my first game, and I wanted the controls to feel as good as possible, and then I remembered this video. I searched up something like "Video game movement analysis", and I found it!
@gameweavers
@gameweavers 8 ай бұрын
The same tutorials on KZbin are repeated over and over again, using the same methods, and 99% of them are very basic tutorials. Professional and high-quality tutorials like this are rare and must be supported.
@SrFatTabby
@SrFatTabby 2 жыл бұрын
Thank you, this made my platformer feel even better to play!
@daniinkidar99
@daniinkidar99 2 жыл бұрын
Very well explained. Glad I found this
@ChequeEspeciaI
@ChequeEspeciaI 2 жыл бұрын
FINALLY A GOOD VIDEO THAT SHOWS A DIFFERENT WAY TO MOVE, THANKS DUDE
@Ignaciodev
@Ignaciodev 6 ай бұрын
have had alot of probelms with movement fundamentals, thank you so much for this
@jankriveccvetkovic767
@jankriveccvetkovic767 2 жыл бұрын
Absolute S tier video. I was wondering why my movement felt so stiff and floaty and this improved it by sooo much
@darkjaslo
@darkjaslo 2 жыл бұрын
Finally someone who truly explains how to make proper player movement instead of making something in 20 minutes and showcasing it! Great video, very useful
@moshavdough5530
@moshavdough5530 2 жыл бұрын
had an absolute blast watching through this video for 3 days getting everything just right. Great video
@stocktonkaneko1991
@stocktonkaneko1991 2 жыл бұрын
This is the best Player Controller video I’ve seen. Thank you so much!
@gabdev2891
@gabdev2891 3 жыл бұрын
I'm from Brazil, and your video is very amazing, I hope it continues. Very good. ✔
@ShreddedNerd
@ShreddedNerd 2 жыл бұрын
I'm having an issue with this where jumps kind of reset my acceleration, rather than carry over my momentum.
@CDMudd
@CDMudd Жыл бұрын
This was SO HELPFUL!!! Thank you and please keep making more tutorials!
@HiHi-iu8gf
@HiHi-iu8gf 2 жыл бұрын
yo this is a really nice solution; I've always had an issue with figuring out how to get physics-based movement to not feel so sluggish, and the scaling-force-by-difference-from-target-speed thing you have here seems to work pretty well
@lolgameking4784
@lolgameking4784 2 жыл бұрын
The quality of the videos. The music and videogame taste. The smooth explaining. There's no reason NOT to be your 500th subscriber! :D Congratulations, underrated tutorial guy! And..well..thanks! XD
@DawnosaurDev
@DawnosaurDev 2 жыл бұрын
🥳 Thanks so much! Super happy you enjoyed it, hope it was useful :D
@panttrans8448
@panttrans8448 2 жыл бұрын
Absolute pure jam, thank you for video!
@BABAPLAYTOOMUCH
@BABAPLAYTOOMUCH Жыл бұрын
Please keep making these types of videos they’re very useful 🙏🙏🙏
@abalorias333
@abalorias333 2 жыл бұрын
People don’t realise this video worth infinite. Its so good
@DawnosaurDev
@DawnosaurDev 2 жыл бұрын
Thanks! That means a lot :D
@kristophsams5036
@kristophsams5036 3 жыл бұрын
Very very informative. You've made me want to go back and re-adapt this to my own. Thank you.
@DawnosaurDev
@DawnosaurDev 3 жыл бұрын
Thanks a lot, hope it helps!
@CodeWithKarl
@CodeWithKarl 3 жыл бұрын
Damn i finally found what i was looking for. please keep up the good work!!!
@DawnosaurDev
@DawnosaurDev 3 жыл бұрын
Happy it was helpful!
@aleksanderadamczyk6573
@aleksanderadamczyk6573 3 жыл бұрын
Great tutorial! There aren't many others that are targeted for upper beginner / intermediate creators! Keep them coming man!
@DawnosaurDev
@DawnosaurDev 3 жыл бұрын
Thanks a lot! Yeah, i'm loving working on these style videos : D
@NotDominic26
@NotDominic26 3 жыл бұрын
Great video, I'm no game dev but I still feel like I learnt something - and the editing was really great too!
@DawnosaurDev
@DawnosaurDev 3 жыл бұрын
Hey, you look familiar :D
@NotDominic26
@NotDominic26 3 жыл бұрын
@@DawnosaurDev 👀
@luther4854
@luther4854 3 жыл бұрын
Great video and of a higher quality than a lot of other Unity tutorials I've seen. Looking forward to your next video
@rainfraiser3845
@rainfraiser3845 3 жыл бұрын
This is explained so clearly, I couldn’t have done it better myself. Thank you! :D
@DawnosaurDev
@DawnosaurDev 3 жыл бұрын
Glad it was helpful :D
@Cottoncriminal
@Cottoncriminal 2 жыл бұрын
I just started developing and designing games 4 months ago, I'm about to tackle my first platformer in the next few weeks as my next project. This is explained so well and i understood 100% of it! I'm so proud to be able to look at the code now and understand what it means and I'm so happy to be at a point where if i do end up copying this code, it wont be blindly copy pasting it. I'm still not at the point where i can come up with things like this myself but i can definitely tweak a few things and understand the effect they have and my reasoning for them. Thank you for making this video! i subbed and I'm looking forward to watching many more of your future videos :)
@DawnosaurDev
@DawnosaurDev 2 жыл бұрын
That's so awesome! Really lovely to hear, hope you have a blast making your platformer :D
@sp_stephen
@sp_stephen 7 ай бұрын
This needs to be said right now... This is the best video ever made on youtube, it is so helpfull and so full of information, i would pay money for this information, because im in need of movement system for my 2D Metroidvania
@hardwinwelly2486
@hardwinwelly2486 Жыл бұрын
a year late, but howly this is EXACTLY what i need. I want to make a snappy movement but I want it to still able to be affected by AddForce. Thanks a lot dude you just gained a subs!!!!
@joneyor6595
@joneyor6595 2 жыл бұрын
Quickly and well explained :D i just need to understand it now xD
@rapasdecoeur7017
@rapasdecoeur7017 2 жыл бұрын
Awesome video ! You're teaching so much in such a short amount of time, while still going deep when needed.
@trashikan
@trashikan 3 жыл бұрын
Man you deserve a lot of love! This video has been extremely helpful. Hope you'll keep making more tutorials and content like these. Awesome work!
@DawnosaurDev
@DawnosaurDev 3 жыл бұрын
Thanks so much, yeah hoping to make a V2.0 at some point :D
@bapabs
@bapabs 3 жыл бұрын
Very nice video, very educational and also nice, smooth video animation.
@jarrettonions3392
@jarrettonions3392 Жыл бұрын
thanks man. this is awesome. there are so many ways to do this but none of them feel as nice as i would like. I havent tried your way yet but it takes into account a lot of factors that i havent seen considered elsewhere. well done!
@avivyoukerharel2140
@avivyoukerharel2140 3 жыл бұрын
Amazing tutorial, You've got yourself a new subscriber! (Also, I just remembered I played you game in the brackeys Game jam, it was super cool)
@DawnosaurDev
@DawnosaurDev 3 жыл бұрын
Thanks so much :D
@sasquatchbgames
@sasquatchbgames Жыл бұрын
this system is FANTASTIC!! 1 question though, wondering if anyone knows. Instead of flipping the Scale on the X (or changing the "FlipX" on the Sprite Renderer) to get the player to turn around, I generally like to use transform.Rotate(0,180f,0) to get the player to turn around. That way, the actual transform.right flips, and so any children of the player also turn around properly (and saves you from having to do multiple checks on both the left and right side) However...implementing this seems to result in a VERY slight (but noticeable) jitter for a frame when the player turns around (only when in the air interestingly) - happens with or without camera follow. I'm looking for the smoothness you get from flipping the Scale on the X, but the functionality of changing the transform.right. And I don't really want to interpolate the rotation as this produces a Paper-Mario-like effect. Any ideas anyone? EDIT: solved. This seemed to be a problem when my character was in the air only (gravity using RB, therefore physics simulation) - and since I was checking for this rotation change in update, the physics vs the transform change were fighting each other that frame, resulting in the jittery motion. So the fix, IF you are wanting to change the player's transform.right directly (instead of faking it by using -1 on the x scale) - is to call the CheckForTurn() function in FixedUpdate, not Update.
@DawnosaurDev
@DawnosaurDev Жыл бұрын
Awesome, happy to hear you got everything working. Thanks for writing an explainer and the kind words :D
@stevie.7037
@stevie.7037 3 жыл бұрын
thank you so much for creating this video it has influenced me to get into coding
@DawnosaurDev
@DawnosaurDev 3 жыл бұрын
Hey! fancy seeing you here ;D
@Nicklefritz
@Nicklefritz 2 жыл бұрын
Please keep making great videos like this one! They are well-edited, concise, and pack a lot of useful information in a short amount of time! Also, you explain things incredibly well!
@DawnosaurDev
@DawnosaurDev 2 жыл бұрын
Thanks so much!
@MegaWoohooyeah
@MegaWoohooyeah 3 жыл бұрын
HIgh quality for such a small channel
@amogh2101
@amogh2101 3 жыл бұрын
This is a very well done tutorial! It covers a lot of ground and gives plenty of code examples for me to replicate. Thank you and keep up the good work!
@TheNore5515
@TheNore5515 2 жыл бұрын
Great visualization on why the issue happens! Good video.
@geekjoystick
@geekjoystick 3 жыл бұрын
Great tutorial! That's a really clean platformer controller you've made. Can't wait to see what you do next ;)
@DawnosaurDev
@DawnosaurDev 3 жыл бұрын
Thanks so much! Hopefully i'll finishing up my next video soon :D
@lamngo9108
@lamngo9108 Жыл бұрын
thank you so much. That will help my game much less boring
@Lusiogenic
@Lusiogenic 2 жыл бұрын
Awesome analysis, thanks. 🙂
@linzenmeyer
@linzenmeyer 3 жыл бұрын
Wow bro, really well covered.
@TacticalProgrammer
@TacticalProgrammer 3 жыл бұрын
Very Awesome video Mate! Straight to the point with Amazing tips! KZbin needs more tutorials like this. Keep it up!
@DawnosaurDev
@DawnosaurDev 3 жыл бұрын
Thanks that means a lot :D
@comeonthere3959
@comeonthere3959 2 жыл бұрын
Best video I've seen on game development
@DawnosaurDev
@DawnosaurDev 2 жыл бұрын
Thanks so much!
@georgemcgurkin7846
@georgemcgurkin7846 3 жыл бұрын
great video, really helped me out w/ my project for school!
@DawnosaurDev
@DawnosaurDev 3 жыл бұрын
That's awesome! What's your school project on if you don't mind me asking?
@georgemcgurkin7846
@georgemcgurkin7846 3 жыл бұрын
@@DawnosaurDev We are making a 2d platformer in unity for our final project in my game design class, and my game really benefited from less floaty controls
@DawnosaurDev
@DawnosaurDev 3 жыл бұрын
@@georgemcgurkin7846 Neat! Hope it goes great
@hyper190
@hyper190 3 жыл бұрын
This is really good! keep going!!!
@DawnosaurDev
@DawnosaurDev 3 жыл бұрын
Thanks a lot :D
@jamyanvance
@jamyanvance Жыл бұрын
>:D this was a really good base for 3d first person movement! thank you so much!
@TRMrStone
@TRMrStone 2 жыл бұрын
Thank you so much, I'm currently learning unity and wanted to do a super smooth Gameplay, but I only got close, now I can finally implement this :D
@cookiecrayon
@cookiecrayon 3 жыл бұрын
This is so awesome! I've been looking for a way to create a 2D platform character controller that works with Physics for a long time but just couldn't seem to find any good tutorials or examples online. I downloaded your project and was so happy at how clean and tidy the code and the scene are! Thank you so much for the amount of work you put into this! Have you thought about creating a step-by-step tutorial on how you created the code for the playerMovementImproved script?
@DawnosaurDev
@DawnosaurDev 3 жыл бұрын
Thanks so much! I probably won't make a step by step tutorial, but if you have any questions about the code, feel free to ask me anything here :D
@cookiecrayon
@cookiecrayon 3 жыл бұрын
@@DawnosaurDev Thank you!
@RGBA
@RGBA 3 жыл бұрын
Thank you sooo soo much, i have been struggling with movement soo loong and this helped me so much
@DawnosaurDev
@DawnosaurDev 3 жыл бұрын
happy it helped :D
@RGBA
@RGBA 3 жыл бұрын
@@DawnosaurDev when new vid
@DawnosaurDev
@DawnosaurDev 3 жыл бұрын
@@RGBA Ooo hopefully in maybe 1-2 weeks (devlog video this time)
@RGBA
@RGBA 3 жыл бұрын
@@DawnosaurDev oo nicee
@anagami0139
@anagami0139 2 жыл бұрын
This video is completely insane, just continue what u doing it's amazing :D Gj mate
@DawnosaurDev
@DawnosaurDev 2 жыл бұрын
Thanks a lot :D
@luxtriumphans1122
@luxtriumphans1122 3 жыл бұрын
The presentation was excellent and I learned a thing or two. Now do one for the oh so important Dashing!
@DawnosaurDev
@DawnosaurDev 3 жыл бұрын
Thanks, definetly in the next one :D
@merttremable
@merttremable 7 ай бұрын
bro has changed the industry without noticing
@scriptyshake
@scriptyshake 2 жыл бұрын
This is exactly what I needed for the platformer game I'm making, inspired by Celeste and Ori. Earned yourself a sub :D
@orangelimesky
@orangelimesky 2 жыл бұрын
I can't believe I missed this tutorial. I used to see this video pop up a lot but always assumed I'd seen it already. God damn it all. I've been squinting at my player's jump. I've gotten it down using velocity instead of add force, but there was always something off about it. Like it didn't feel natural. And the code to control things like gravity, deceleration and acceleration is really messy with velocity compared to that clean force code. Thank you.
@DawnosaurDev
@DawnosaurDev 2 жыл бұрын
Happy it helped!
@fujoridev
@fujoridev Жыл бұрын
Самый полезный канал по разработке, который я только находил, божественно! Хочу больше видеоуроков😍
@miaoumixed4268
@miaoumixed4268 3 жыл бұрын
Hi, thank you for this video. Great to find a different way to move than the usual rb.velocity = ... Also, good to see that you use the new input system. M. D.
@sh1k1kate
@sh1k1kate 2 жыл бұрын
thank you very much for such a masterpiece of a video!!!! only 7 mins, but much more informative and useful than longer ones. 🔥🔥🔥🔥
@DawnosaurDev
@DawnosaurDev 2 жыл бұрын
Thanks so much! Happy it helped :D
@brendong8664
@brendong8664 3 жыл бұрын
fantastic video man!
@DawnosaurDev
@DawnosaurDev 3 жыл бұрын
Thanks so much :D
@minoupitou1503
@minoupitou1503 2 жыл бұрын
i always thought i needed to use kinematic and build a whole physics system to be able to make this kind of controller. As i'm making a small project (which is basically a celeste rip-off let's be honest) this video is helping me, and will help me get a better understanding of unity physics system. you are too kind. Thanks man. i mean it.
@keinepanik_Bojack
@keinepanik_Bojack Жыл бұрын
Great video. It is easy to make a platformer. But a good player controller is so important for a really good game
@niIIer1
@niIIer1 2 жыл бұрын
Thanks. The exact kinds of tips I was looking for!
@Гречкавкусная-ф8д
@Гречкавкусная-ф8д 2 жыл бұрын
Great video! Hope to see your future videos
@psychrockenjoyer
@psychrockenjoyer 2 жыл бұрын
Great tutorial format! Loved it! :)
@CalvinWoodruff
@CalvinWoodruff Жыл бұрын
Amazing video! For these examples, what was the mass of the player's RigidBody?
@DawnosaurDev
@DawnosaurDev Жыл бұрын
Always 1
@Aquasponse
@Aquasponse 5 ай бұрын
This is really helpfull! You explain this really well and its really easy to follow
@PearlyMishima
@PearlyMishima 2 жыл бұрын
Thank you so much for this video, man. It had so much info I've never considered, keep it up! :D
@lizardltd
@lizardltd Жыл бұрын
Thanks! This helps a lot
@tzouandy
@tzouandy 2 жыл бұрын
Oh god, this video is really good and helpful. Hope you can keep doing this series.
@JujuProdGames
@JujuProdGames 3 жыл бұрын
Wow. This video is very well made and informative. Congrats dude! For some feedback, I would suggest adding some diagrams when explaining the coding parts to break up some of the visual monotony. The video flows super well, while keeping a steady pace. Subbed, fantastic job!
@DawnosaurDev
@DawnosaurDev 3 жыл бұрын
Thanks so much! Yeah, diagrams are a great idea. I'll definitely be putting that on the to-do list for any sequels i make :D
@TriCombStudio
@TriCombStudio 2 жыл бұрын
Well done man, super informative
@DawnosaurDev
@DawnosaurDev 2 жыл бұрын
Thanks! Happy it helped
@adalmara4000
@adalmara4000 3 жыл бұрын
Really well explained. Thanks, have subscribed and will definitely check out your future tutorials.
@DawnosaurDev
@DawnosaurDev 3 жыл бұрын
Thanks, glad it was helpful : D
@bloom945
@bloom945 2 жыл бұрын
2:53 I think you should multiply the force with Time.fixedDeltaTime, since it runs every physics update
@bloom945
@bloom945 2 жыл бұрын
forgot to mention, great video btw!
@DawnosaurDev
@DawnosaurDev 2 жыл бұрын
The run is called in FixedUpdate() so this kind of already happens. FixedUpdate will always be called 50 (for unity's default value) times a second, so there's luckily no need to worry about multiplying by a deltaTime. Great question, I'll add that in if I make a sequel :D
@Bl0oDStEEl
@Bl0oDStEEl 2 жыл бұрын
The first time I click the 'jump' keybind it doesn't register at all; it only starts working after the second one
@DawnosaurDev
@DawnosaurDev 2 жыл бұрын
Hmm I'm not sure. I've checked my current version of the platformer project and this doesn't seem to happen to me, but I have seen this issue before. My best guess would be a possible issue with the timers when you first jump or an issue with Unity's handling of input
@ubernaffa
@ubernaffa 7 ай бұрын
God damn, what a video. Coding noobs are only able to experience the creative joy of game development because of amazing content like this - thank you!
@hubertb5834
@hubertb5834 Жыл бұрын
This was great, really helps me a lot this is exactly what i needed. Thank You and keep it up :)
@goatfishplays
@goatfishplays 2 жыл бұрын
I finally caved and decided to just use your movement tutorial, I tried for at least 8 to get and use my own movement system through the power of knowing a highschool amount of math and physics, this one works so much better lmao, at least I tried, good work with yours and thanks
How to make a good platforming character (Developing 6)
14:50
Game Maker's Toolkit
Рет қаралды 425 М.
Improve your Platformer’s Jump (and Wall Jump) | Unity
8:12
Dawnosaur
Рет қаралды 127 М.
How Many Balloons To Make A Store Fly?
00:22
MrBeast
Рет қаралды 161 МЛН
The IMPOSSIBLE Puzzle..
00:55
Stokes Twins
Рет қаралды 191 МЛН
If people acted like cats 🙀😹 LeoNata family #shorts
00:22
LeoNata Family
Рет қаралды 30 МЛН
Увеличили моцареллу для @Lorenzo.bagnati
00:48
Кушать Хочу
Рет қаралды 9 МЛН
Secrets to a Great Platformer Character with Unity
3:11
Dawnosaur
Рет қаралды 65 М.
How I made an Excellent Platformer
8:25
GoldenEvolution
Рет қаралды 291 М.
How to jump in Unity (with or without physics)
16:09
Game Dev Beginner
Рет қаралды 48 М.
Why Does Celeste Feel So Good to Play?
17:34
Game Maker's Toolkit
Рет қаралды 2,7 МЛН
Math for Game Programmers: Building a Better Jump
25:43
GDC 2025
Рет қаралды 473 М.
7 Game Dev Tricks to Improve Your Unity Game
4:49
Dawnosaur
Рет қаралды 7 М.
How to make 2D GLOW in Unity!
15:56
Brackeys
Рет қаралды 606 М.
Giving Personality to Procedural Animations using Math
15:30
t3ssel8r
Рет қаралды 2,6 МЛН
Unity Code Optimization - Do you know them all?
15:49
Tarodev
Рет қаралды 198 М.
How Many Balloons To Make A Store Fly?
00:22
MrBeast
Рет қаралды 161 МЛН