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

Defense - Redefined.

Sign in to follow this  
Omegavolt

126 views

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  


0 Comments


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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!