I don't know what to do so ima just go for it
I did a bit of things to the game to make it better, for one I implemented a maximum amount of troops you can spawn in.
this will maintain framerate, and of course stop somebody with 20000 troops attack someone with 5, lol
since shields count as troops, this means that you have to balance defense and attack
I also fixed a few bugs that occur when you try to group a troop that's dead, now the code will check to see if the script on the troop is still there. (I guess it makes sense that if the troop dies then script would be gone )
foreach (troopScript groupable1 in selectedTroopsList) { if (!groupable1.isMS) { if (!grouping.group1.Contains(groupable1)) { grouping.group1.Add(groupable1); } } }
quite a long line of code, but all it really means is if your not a mother ship and if you exist, join the party man
I plan on adding a few more troops, one being a low damage troops with a super speed fire rate (one bullet every 2 seconds or something). it probably wont be used for much more than just scaring people, and will be way more powerful in a large group like the gunship is. its going to have not very good accuracy and quite short range.
my next troop will be a suicide bomber, but that can wait because it won't just a plug in 5 or 6 stats scenario. basically I will add a new stat called "shoot on death" and when the troopy doopy dies, it will shoot one last time. from there I just make the bomber incapable of shooting on command, but shoot on death. the bullets will be low damage and have 360° range. that will make it have a frag grenade effect. this could be used to push out forward, but since they can't shoot, they won't be too overpowered. lastly I want them to not have friendly fire, they just BOOM and blow up every thing
to end off I would like to mention that me largest priority right now is to make particle systems spawn in when troops die, that way you get more of a visual effect instead of POOF your troops are gone.
if you got this far then 'hey' 'thanks for reading' (using 's are fun) and if you want to see more updates on the game and download it when it comes out, hit the big follow button Gamejolt projects on the screen (even if you don't, thank you for the support) maybe if you want to follow my twitch
https://www.twitch.tv/the_iicrazykingg
thank you for being here, have a nice day, and fortune come your way!
♡ iiCrazyKingg
0 comments