Tuesday, June 21, 2016

Your Second Unit!

So the game is becoming a bit more real.  I had to make some minor tweaks to the code to make turns work with multiple units.  Now you control two units and there will be more to follow.  In addition to that you can now control the "strategy" the unit uses.  Attack Strong will tell units to hit the character with the most HP they can, Attack Weak hits the character with the lowest HP they can, and Attack Best hits the character they will do the most damage to.  You can also see all three of the bottom two tiers of character classes.  Soldiers are the base class and can turn into either Mages or Knights.  Another big update that isn't really shown in this video is the strongholds.  You probably noticed the house and windmill that popped up since the last update.  If a unit stays on a house every character in the unit will gain 5 hp each turn and the windmill will give your characters 10 hp per turn.  Later in the game you will see strongholds that grant 15 and 20 hp per turn.  That is pretty much it.  Up next is adding a 3rd player unit and then creating a whole bunch of enemies.  It's not the funnest as the unit code is a lot of the same with just changing minor things so it targets the new unit instead of the old.  Hope I stay focused and finish up this level fast!


No comments:

Post a Comment