AkitaInteractive / Hachiko-Engine

A game engine built with love and care by Akita Interactive
MIT License
17 stars 0 forks source link

Boss jumps after chasing for too long #421

Closed Izenz closed 2 years ago

Izenz commented 2 years ago

Added a timer to chase state on the boss controller to make him jump after he has been chasing the player for too long. The variable chasing_time_limit can be modified from the editor so its easier to balance.

To test just play the boss level and run around when he is on chase state, after a while he will jump even if the player is not close enough.

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 5 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication