JamesLaFritz / Dungeon-Escape-Mobile

A Mobile 2D Metroidvania Game
MIT License
4 stars 4 forks source link

Enemy AI #6

Closed JamesLaFritz closed 2 years ago

JamesLaFritz commented 3 years ago

Designing Enemies using Abstract Classes

JamesLaFritz commented 3 years ago

https://ktmarine1999.medium.com/designing-enemies-4ba43eba3ef9 All enemies created. Animations Created. Animator Controller Created.

JamesLaFritz commented 2 years ago

Enemy Detects if the Player is in front of them , Will Go into Combat Mode. 2021-07-12-1659 36 007

JamesLaFritz commented 2 years ago

Enemy Detects Player in Front and Behind them if within Combat Range., Turns to face the Player, and attacks. Once the Player is out of attack range the Enemy will continue its movement.

2021-07-12-1900 03 393

JamesLaFritz commented 2 years ago

Combat Check Offset added, Moss Giant need it to be moved closer to the feet.

JamesLaFritz commented 2 years ago

Damageable Code added to Moss Giant. Combat Distance set.

JamesLaFritz commented 2 years ago

2021-07-14-1250 51 002Attack Added To Moss Giant.

JamesLaFritz commented 2 years ago

Spider Attacks. 2021-07-14-1545 00 178

JamesLaFritz commented 2 years ago

Death Logic Added. 2021-07-14-1746 12 211