GEOMETRY

  • Project Status

    Finished

  • Subjects

    Artificial Intelligence

  • Duration

    1 Month

  • Platform

    PC-2D

  • Software/Code

    Unity/C#

  • Developers

    Four team members

  • Function

    Programmer

Geometry was a project which was developed in the subject of Artificial Intelligence in the first quarter of the fourth year. Its main purpose was that we learn to handle the basic tools related to pathfinding, steering behaviors and finite states. As we were not allowed to use Unity's own NavMesh, we had to develop our own A* algorithm, which we optimized through heap structure and concurrent calls through threads. We also applied some of the steering behaviors such as wall avoidance or seek thanks to A*, taking into account different weights to adjust the paths of the NPC's. We also added in the second level a more ghoulish atmosphere through the darkness that we got thanks to the shaders; in this case we made a series of arrangements to obtain the shadow effect on the walls, modifying the impact point of the Ray Casts. Finally, the general logic of the NPC's was managed via a finite-state machine, going through 6 different states: patrol, alert, chase, marker destruction, site recovery and secure exit.

Cerrar menú