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.

Install instructions

Unzip the .7z file and fire up the .exe, enjoy the prototype!

Download

Download
HotlineBart_Proto.7z 27 MB
Download
Bullet.cs 855 bytes
Download
EnemyAI.cs 4 kB
Download
LevelGenerator.cs 26 kB
Download
MenuScript.cs 1 kB
Download
PlayerCamera.cs 726 bytes
Download
PlayerMovement.cs 3 kB
Download
PlayerPickUp.cs 3 kB
Download
PlayerRotate.cs 789 bytes
Download
SafeScript.cs 4 kB
Download
SecurityCameraRotate.cs 1 kB