A downloadable game for Windows
In this project, I went further into gameplay programming by incorporating a level generator which places the player at a spawn point, and places a safe that the player needs to unlock/reach, without getting killed by an Ai.
The Ai is fully automated and moves on a grid unless running towards the player, in that case, he can move diagonally before colliding against a wall and getting back on his grid pathing algorithm. The Ai throws a bunch of casts, if was the first time I was using them and I love them! The Ai has a detect ray which has a preset range which represents his sight, however, if the player steps into a camera detection area, the Ai can see him from afar.
* Please note that this simple prototype was inspired by Grand Theft Auto the original game. The sprites are from the game Hotline Miami/are a copy of the original art. This prototype is for personal use only.
Unzip the .7z file and fire up the .exe, enjoy the prototype!