top of page
Procedural Guns Prototype

Download playable from itch.io

Project Goal

I wanted to challenge myself to create a simple system that would procedurally create guns from a set of pieces, similar to how Borderlands weapons work, but on a much smaller scale.

Work Summary

  • Created a "gun" object that holds arrays of options for the different parts (core, barrel, handle)

  • Gun object picks one piece from each list, spawns and attaches it

  • Each piece alters the Gun functionality slightly (rate of fire, damage, accuracy, etc)

Outcome

I was able to get the Gun building itself once it was instantiated and each piece alters the firing behavior as I'd hoped. The number of pieces are small, giving only 48 possible variations, so repeats are fairly common. The system I wanted to create and learn how to approach works, though it would need a large overhaul in scripts to optimize it for a larger pool of pieces.

Screenshot 2019-04-30 13.09.46.png
bottom of page