Chairman - Implementation of Artificial Intelligence into a developed 3D Game
- Almeda Glenn
- Oct 15, 2016
- 1 min read

This is one of the toughest assignments that I went through.
This assignment focused a lot on making more efficient use of the computer's resources. One of the techinques is called spatial partition.
Spatial partition separates the space into smaller grids. As such, the calculation will only be on that particular grid when needed which saves a lot of unnecessary calculations that would otherwise us up a lot of the computer resources.
I had a lot of trouble trying to understand and building this spatial partition thing. For one, it is a lot of data management. How do you ensure that you can detect game objects that roams around the game space? How do you ensure the collision detection is calculated within that particular grid when needed?
When that was done, the next thing was to implement simple artificial intelligence. While ensuring that the spatial partition still works, I had to make sure that the enemy entity is able to go process its next destination. It took a bit of tweaking the code to ensure the spatial partition still works.
While it was difficult, I did learn a great deal on how games are made. It got me to appreciate just how much hard work the developers need to put in to make those games we enjoy now.
Comments