CarrotKutay/Colosseum

Implementing Dodge Roll Mechanic - Logic

Opened this issue · 2 comments

Add Dodge Roll Mechanic inside PlayerMovementAnimationSystem

The player would ideally need a dodge roll animation which allows for dodging enemy behavior and abilities as indicated in #5

Suggestion

  • Find Dogde animation
    • Can only find forward dodge roll animation for now. Other side dodge animations would simply be animating a side way jump
  • Implement Dodge logic
    • a simple double tap into the direction the player wants to doge (right/left/up/ down) would suffice

As we only have one animation for rolling forward right now we will have to devise a transition to turn the player before a dodge roll and turn back forward after.

will probably need to use a custom interaction / action for dodging as the multi tap interaction will only read a double-tap if the key is released after the second tap. This seems unreasonable for this purpose however as it is most likely that the player will want to continue movement into the dodge direction after performing the dodge movement. If the player would need to release the key before he can continue performing input into that direction it would be hindering the game flow quite largely.