This is a smart AI controller, that can be change by choosing different mode

each enemy has list of points (targets) on the terrain, a player target and engine target

Mode:

  • Coward: The enemy chooses, from the targets on his list the most far target from the player.
  • Brave: The enemy chooses, from the targets on his list the closest target to the player.
  • Chaser: The enemy chases players.
  • DestoryEngine: The enemy tries to reach the middle of the building to the engine (to destory him)

You are the player character

keys:

movement by arrows or w,a,s,d

camera angels by mouse movement

exit - to exit camera movement by mouse and return the mouse pointer

enjoy :D

source code https://github.com/Lba-universe/SmartEnemyController

Leave a comment

Log in with itch.io to leave a comment.