Devlog 3
This was a semi-active day, with mostly art added to the game. Created 6 more upgrade sprites, with currenly named: Anti-Matter Ammo, Improved Plating, Hologram Module, Explosive Rounds, Tesla Pylons, Bullet Defense.
With so many upgrades came the issue of solving them, so I had to order them in 2 columns. Not sure yet how will I handle them if there will be more than 2 colums of them, but that is a problem for future me.
After drawing them, I stared adding functionality to them. AMA grants you bonus damage, Improved Plating reduces it and explosive rounds grant your bullets AOE damage basically. They create circle shaped areas on hit, and cause damage to any enemy inside. This is somewhat optimised by a stupid code, that check a range before calculating heavier stuff. Here is the code explanation.
This also prompted me to create an invulerability frame system, so enemies can’t take damage in each frame, only after a certain number of frames have passed. This results in several ticks of damage inside the explosions instead of melting everything in a few frames.