XaiJu
enlit3d
enlit3d

patreon


Path finding

A few people have observed that the enemies sometimes "attack you through door" or even "ambushes" you by doing things like "hiding near the walls."

The reason for those behavior is that the AI only knew how to move in a straight line towards the player. This works pretty well for large open terrains, but in something more confined, such as a maze, the AI will frequently get stuck. 

Hence, the need for path finding. So the next time the boss kills you, rather than getting stuck somewhere, she may now chooses to hunt you down, even if you are hiding in the spawn. :D

Gif demonstration:




Path finding

Comments

Yeah, there will certainly be something similar to that in place.

Enlit3D

She probably gotten lucky.

Enlit3D

Good job, just need to make it dynamic if you plan on blocking their paths like you did in the GIF. If the path becomes blocked, recalculate pathing from current position.

Verdonator

Isint that what she was doing already, i would die and spawn and she would still be accurately following me

Kian


More Creators