Coding Fixes

John Liou
IMM at TCNJ Senior Showcase 2018
1 min readApr 11, 2018

This week, I fixed some of the longer standing bugs in my game, as well as fixed some issues with knock back on my character. Enemies are now properly knocked backwards when hit with a light attack or a heavy attack, which dictates the distance in which they are knocked back. As of now there is still a bug where the player character is not knocked back because of the fact that it uses a character controller. The overall player character scripts are now all mostly finished aside from the player knock back.

I have also finished the character damage scripts, and characters are now capable of damaging and being damage by other characters. Characters have a damage multiplier, which reduces or increases the amount of damage the player deals to an opponent, which then allows them to die if their health reaches zero. As of now there are no death animations, but those can be made rather quickly.

--

--