Home Artists Posts Import Register

Videos

  • AI and parry.mp4

Downloads

Content


Got ai of the bunshade enemy implemented, also improved the underlying AI system to get its current behaivior working


The AI above would translate to
-If target is close enough for us to attack there is a 25% chance of holding the down button
(Holding the down button and pressing attack makes the enemy do a tall pounce rather than a horizontal one)

-If the cooldown of 0.5 has ended and we are close enough to the target press the attack button
-If our distance to the target is greater than 40 OR our attack is off cooldown then move towards it
-If our distance to the target is lower than 30 AND our attack is on cooldown then move away from it

Once the enemy attacks the attack cooldown will get reset


I also got a new ability implemented parry!
"Move towards an attack right before getting hit to completely negate it's damage"
If anyone has anyone has a more elegant way to describe the way to perform it im open to suggestions


It works more or less like SF3 parrying were if an attack comes from the right you tap right and the attack gets parried, if the attack comes from the left you tap left (there is no low parry distinction)

Also got a debug funciton to visualize character collision boxes

Comments

No comments found for this post.