VRushLP / RigorMortisGame

A game made for TCSS491 Computational Worlds, Winter 2016
2 stars 0 forks source link

Directional Knockback #89

Open tjsg1992 opened 8 years ago

tjsg1992 commented 8 years ago

Knockback should move you away from the source of the damage, but it currently moves you in the opposite direction you are facing.

To do this, findNearestCollision() within the game engine will need to be changed so that it also returns if the collision came from the left or right. That direction can then be passed as a second optional parameter for the readInput in Knight.

VRushLP commented 8 years ago

Is this done enough to be consider closed?

tjsg1992 commented 8 years ago

Not yet, it's currently unimplemented. The goal of this issue is to knock you back from the damage source, not the opposite of the direction that you are facing.