joshuaryoung / gameWithAlex

0 stars 0 forks source link

Enemies move towards player during enemy attack animation and while in hitstun/reel state.. #30

Closed haibu64 closed 4 years ago

haibu64 commented 4 years ago

For the moving while reeling issue, adding a check for whether "isReeling" == false seems to work well enough for now at least:

void Update () { //if facing right if (transform.localScale.x > 0 && acolyteAnim.GetBool("isReeling") == false)

haibu64 commented 4 years ago

Just thinking out loud here:

I guess the moving while attacking issue can be solved the same way, but the real issue is the AI is in such a premature state that gameplay-wise this happens to works better for now.

When the enemy has the ability to avoid the player's long range options and whiff-punish, outrange the player themselves, block, and/or otherwise mix the player up, fighting them won't be so awkward or trivial.