Jump to content
  • Advertisement
Sign in to follow this  
  • entries
  • comments
  • views

Defense - Redefined.

Sign in to follow this  


While programming the timer for battles last night, I realized that if I made it so that defending took a set amount of time(which I had made quite short), and if a player tried to defend against an attack, and the defense didnt take as long, the player would have to wait until the attack connected before he would want to do anything else. So, to keep the player from having to continually hit 'Defend' until the attacker's blow connects, I have decided to make defense a state of being rather than a specified event. In ohter words, once a player clicks 'block' or 'parry', he will be in 'defense mode' until the attack connects, regardless of how long it takes, at which point the player will perform whichever defense move he choose.
Sign in to follow this  


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!