Devlog 7 (Coding) - Shield (Combo 2)


Added Shield (Combo 2)

  • When the inputs for combo 2 are pressed successfully, a shield prefab will instantiate around Lucy's model. 
  • The shield completely negates all incoming damage for the next 3 seconds. 


Added a Pause function

  • When the player presses the "Esc" key, the game pauses. Pressing the "Esc" key again unpauses the game. 


System Changes

  • The functionality of the "L" key, which was damage reduction, was removed from the game. The concern was that damage reduction and damage negation were not distinct enough to warrant both existing. The other reason was to simplify the game so that there was less to account for. 


Bug Fixes

  • Resolved an issue where damage negation and damage reduction were not working. This was an issue relating to how the PlayerHealth.cs script was reading the inputs in the Inputs_Lucy_Test.cs script. The values were not updating and so there was effectively no communication between the two scripts. 
  • Fixed issues where the shield would collide with the play area boundaries and the floor, which was forcefully displacing Lucy. 
  • Fixed a bug where Lucy is pushed underneath the floor when they are hit by the bus charge attack with a shield on. This was mainly due to the way the colliders of the bus and the shield were interacting. 

Get Joseph Kills Lucy

Leave a comment

Log in with itch.io to leave a comment.