How To Melee Attack From Hollow Knight
I_Am_Err00r I_Am_Err00r
1.36K subscribers
20,823 views
654

 Published On Dec 9, 2021

This tutorial will go over all the features to have a melee combat and exploration system as featured in Team Cherry's very popular (and fun) 2D action platformer 'Hollow Knight'

I've uploaded all the scripts discussed in this tutorial to my GitHub page https://github.com/I-Am-Err00r/Melee-...

It is highly recommended you copy those scripts and watch this tutorial to understand how the logic flows. This solution does require that your project have the ability to know when the player is grounded or not (which is a very common and rather necessary feature to have in most platforming solutions), but assuming you have your own way of managing the grounded state for the player, there is nothing that you would need to watch from any of my previous tutorials uploaded to YouTube. If you want to have a more exact solution as I present in this video, here are the other tutorials in which I discuss features and Unity tools that are shown in this tutorial:

Total Jump Solution:    • Total Jump Solution: Less Floaty Jump...  
Sprite Face Direction Of Movement:    • How To Have Sprite Face Direction Of ...  
Total Animation Solution:    • Total Animation Solution: How To Crea...  

Visit my playlist that goes over all the previous episodes to this one:    • Popular 2D Platformer Features And Ga...  

Also, if you're planning on making a Metroidvania or 2D action platformer, consider taking a look at my course on Udemy, click this link for a discount to the course: https://err00rfree.com/metroidvania-t...

Credit: Team Cherry for Hollow Knight:

https://store.steampowered.com/app/36...
https://store.playstation.com/en-us/p...
https://www.xbox.com/en-US/games/stor...
https://www.nintendo.com/games/detail...

0:00 Intro/Memes
1:35 Notes On What This Solution Covers
4:15 New Scripts And Detailed Code Explanation
18:45 Player IK Animations And How To Animate Melee Swipe
27:41 How To Manage Animations Through Animator
33:55 Playtest And Outro

show more

Share/Embed