Friday saw me rewriting the way that all weapons and bullets work, and all the systems surrounding them were affected as well. The bullet system was the first thing I created in depth, and the weapon class was stacked hastily on top of it, so they were both due. So although I am very excited about the possibilities with this new rewrite, for the moment it is a functional, but less robust, system.
I was surprised when searching online that there didn’t seem to be a good guide or framework for weapons and bullets in an FPS, so I’m thinking I might try and write something up for that, and hopefully it will be helpful to someone someday!
I don’t explicitly have a screenshot to share, so the Muffin launcher will have to suffice. To be fair, this does show off the fact that ANYTHING can be a bullet in this game – so more realistically, if I want to implement a gravity gun then all the parts are there. If I want to add placeable buildings/barriers, all those pieces are there as well!