Game Development Reference
In-Depth Information
Hotshot challenges
Now we have an understanding of the basic concept of creating the enemy AI, but our AI
script still needs a lot of improvement to make it smarter. Why don't we do something to
spice it up? Let's try the following things:
• Try mixing the Navmesh or Pathfinder system to our Waypoints system
• Add different types of weapons for our enemy
• Try changing or adjusting the parameter of the AI, such as shotRange or play-
erRange , to make the enemy react to the player faster
• Add more waypoints for our WaypointsContainer game object to make sure
our enemy has more choice to walk
• Add multiple enemies in the scene (you will need to adapt the HitPoint UI
game object to be able to track the hit points for each enemy)
• Try changing the AI code for the enemy to avoid the rocket or make the rocket fol-
low the player's movement
• Add a multi-editor object to WaypointsContainer and make it work when
editing more than one WaypointsContainer object
Search WWH ::




Custom Search