Tuesday, 5 March 2019

Week 5 - Player Combo and Stamina System

Final Year Project

Week 5


This week I mainly focused on Creating a combo and stamina system for the player. I began by creating three separate animation montages and adding anim notifies for saving the attack and resetting the attack. If the player continues to attack before the attack is reset the next montage will be played using a switch on int attack function in the players blueprint. 


This is the current combo system in the player blueprint, I plan on also adding in a heavy combo system using the right mouse button. 

As well as this combo system I have also created a function stamina function. when the player performs moves like attacking and dodging, their stamina will deplete. When the players stamina reaches 0, they will not be able to perform any of these abilities, they will also not be able to block enemy attacks. I achieved this by adding a Boolean to check when the players stamina is 0 and set the no stamina check to true.  As well as this I have also added a stamina regeneration system that will replenish the players stamina if they are not performing anything that requires them to use stamina. 







1 comment: