Game Development Reference
In-Depth Information
However, we lost:
Are you ready to go gung ho?
A Hotshot challenge
Now we have an understanding of the basic concept of creaing the enemy AI, but our AI
script sill needs a lot of improvement to make it smarter. Why don't we do something to
spice it up?
F Try making a wall that the AI cannot jump over and add the ability for the enemy to
avoid the wall by using Physics.CapsuleCast or Physics.RayCast and rotate
the enemy rotate when it hits the wall
F Add different types of weapons for our enemy
F Try changing or adjusing the parameter of the AIController , such as the
shotRange or getPlayerRange , to make the enemy react to the player faster
F Add more waypoints for our Waypoints game object to make sure our enemy has
more choice to walk
F Add muliple enemies in the scene (you will need to adapt the HitPointUI game
object to be able to track the hit points for each enemy)
F Try changing the AIController code for the enemy to avoid the rocket and maybe
make the rocket follow the player's movement
 
Search WWH ::




Custom Search