Patrefans
shaunjs from patreon
shaunjs patreon

[Progress] Melee Combat Tutorial 1/2

🕑 Added 2018-11-02 12:28:32 +0000 UTC
[Progress] Melee Combat Tutorial 1/2

Comments

You use a regular collision box most of the time, you only swap to an attack hitbox to check for any hits, then swap back (in the same code chunk). When it comes time to check for a collision between enemies/hazards you're back to your regular 'hurt'box

ok i am concerned though most likely will be answred later.. If our hit box is whats doing damage how does the player risk taking damage while attacking from enemies ?

really excited about this. I actually used your platformer series as a basis for my game and I am slowly converting my 3 characters to have their own unique combat, which one is a knight with a sword and the other two shoot projectiles (archer and a mage) so this will be a huge help that my knight can actually do melee combat and these methods sound great.


More Creators