For my fourth and final prototype of the Rapid Games Prototyping module at Level 4 of my Computer Games Programming (BSc) degree at Staffordshire University, I created a top-down shooter prototype with a focus on the random generation of weapon stats.
The stats I implemented for randomisation were:
- Damage
- Fire Rate
- Clip Size
- Max Ammo
- Reload Time
- Automatic or Semi-Auto
- Bullet Speed
Depending on what stats generated the weapons would appear with different sprites for both the weapon and the projectiles it fires. A gun with low damage and high fire rate would have a submachine gun texture, a gun with very high damage and low fire rate would have a sniper texture, and the rest would be pistols.
When the player kills an enemy, that enemy would drop a weapon pickup with randomised stats. These enemies spawn regularly and navigate to the player through the use of a NavMesh.
The goal of this prototype was to force the player to utilise lots of different enemies, quickly switching between them to take down enemies. What I got done in the prototype started to get this feeling, however, in the future I would make add more options for variety in the weapons like having multiple bullets (like a shotgun) or abilities such as being able to fire through walls.
I would also would like to add the ability for the enemies to fire and use the weapons they generated, to pose more of a threat and be more interesting for the player to combat.
This was all created within version 2022.1.4f1 of Unity, coded in C#.