Thursday, March 24, 2016

New armor system and GUI rework

Hi!
Today, I am focusing on player. I have finished new player chassis and added a possibility to change chassis and turret in game (for example, as a reward from picked up bonus). It works quite well. You can also change a color of your tank! Now I am going to add an option to customize a tank in game menu.

I have also added new armor system. Before, every hit that player has taken removed some of player health. Now health is something like lifes (chances you have before you die for good) and if you get hit, you will lose some of your armor. If you lose all of your armor, your health will be reduced by one (and armor will be set full). You can change your armor, by choosing turret and chassis.

 
Some turrets gives you a bonus to armor and some chassis are lighter (so you move faster) but are more fragile and has less armor. Basic chassis has armor value of 4 - that means you should survive about 4 standard hits and basic turret gives one bonus armor point.

Because of new armor system, I was forced to rebuild GUI. Now its fully scalable to monitor resolution and looks better. I still need to change some texts - like game over and messages.

No comments: