Finally, after re-writing about half the game and wasting hours trying to be good on blender, PolyGunz is more or less bug free again :D
Various optimization & bug fixes
Stopped bots sky spawning
Fixed bug defaulting the weapon builder rack to 0
Fixed missiles not exploding on impact
Fixed super speed when flashed multiple times
Fixed some UI scaling issues
Fixed some other stuff too, but I can’t remember what they were.
Use of Coroutines
Switch statements instead of multiple if/else statements
Updated the weaponID system to allow more than 10 guns
Reduced the particles in the particle systems
Rather than instantiating objects every time they are called, objects are stored in an object pool and called when required.
Rather than storing the recoil as a single float and applying it to all directions, now stored as a vector3 to make easier to modify
Major script updates
Re-wrote multiple scripts so that it is now modular, meaning shorter scripts and less lag
Created an enum manager script that contains all enums used in the game
Main Controller Bot/Player input & movement
Had to re-write the botAI, so they are now dumber than before.
Since bots now utilize the same scripts as the player, they now have 2 weapons and lethal & tactical grenades, but they don’t use their secondary weapon or grenades yet.
Bots now have to reload
Player Damage & armour & movement speed
Player Weapons & grenades
Weapon updates
You now drop your mag when empty, and replace it with a new one
When you switch weapon, the other weapon is stored on your back
Weapon weight determines movement speed and weapon delay
New Sniper
New SMG
New Pistol
Added sound effect for the MKGL
Player Options
Added a mouse sensitivity slider
Choice for toggle aim
Choice for toggle crouch
Added Dev Commands
Keypad 0 - Suicide
Keypad 1 - Call explosive strike
Keypad 2 - Call flash strike
Keypad 3 - Call smoke strile
Keypad 4 - Drop care package
Keypad 5 - Refill ammo
Keypad 6 - Heal self
Keypad 7 - Toggle Invincibility
Keypad 8 - Camera Fly (Not yet implemented)
Keypad 9 - Toggle time-pause










9 comments