Operation Polygon

Operation Polygon is my work sample project for Futuregames 


This project was built in Unity over four months, during which I designed both the game and its core mechanics. The movement system started with Unity’s Third-Person Character Controller but was extensively modified to fit the game’s needs. Features like sprinting, dynamic speed adjustments, and other refinements were added to create a more responsive and immersive experience.


Information:


Genre:  Military Shooter, Zombie

Platform: PC

Perspective: Third Person

Dev Time: 16 weeks

Engine: Unity 2022.3.17f1

Movement


The movement mechanics are built on Unity's default Third-Person Character Controller from the Asset Store. I chose this as a starting point to demonstrate my ability to adapt and expand existing code. From there, I added new mechanics to refine and enhance the movement system, making it more tactical and grounded—ideal for a modern third-person military shooter.

Shooting

The shooting mechanics are object-based, with the player firing physical projectiles at a dynamically assigned target. A raycast from the center of the camera determines the aim point, which is then adjusted in front of the player. This ensures the player's aim aligns with the camera view. Combined with animations and IK constraints, the system allows the character to dynamically track and fire at the target.

Weapons


The player has an inventory of weapons they can cycle through, each with distinct characteristics and projectile types. The ammo inventory tracks different ammunition for each weapon, and animations adjust dynamically based on the equipped weapon.

HordeBehavior
ZombieController2
HordeSpawner
ZombieController3
ZombieController1

Enemies


Enemies are dynamically spawned at the start of the game using horde spawner objects placed in the world. Each spawner has three key parameters: the number of enemies, the spawn area's width, and its depth. Enemies are distributed randomly within this area. If the player gets too close or engages them, the horde enters an aggressive state and advances toward the player. Individual enemies will attack once they come within range.


Links:

Check out the code on GitHub or download the demo on itch.io!