Gates of Dread
Gates of Dread was a game developed back in the fall semester of 2018. The game-play is a top down shooter where you shoot down an endless wave of enemies. There are also pickups that switches up your arsenal.
Features and notable work
Flow Field Path-finding
The AI utilizes the flow field path finding system. The purpose of the pathfinding is for if the AI is to be anywhere on the map, it will have a direct path that it can follow which would lead straight to the player. The update for the flow field is updated every frame to ensure that the AI is always able to move to the player’s current position. Some issues to flow fields is that the cost to run it is very high especially per frame. The cost benefit of flow field is significantly better as more units are running. The other option would be using A* which can faster but as the cost when several groups of the units requiring to move to a certain position on a given frame.
Gun System
The gun system is relatively simple but sourced into one script. Each gun is unique and have different rules. Two notable weapons is the hive which spawns multiple missiles that have seeking to them while the lightning gun uses a search to next closest enemy and draws from enemy to enemy.