RSS
 

Advancing army…

21 Aug

Got some more game logic in the game: the army now advances…

The army can only spawn in grass-tiles on the left side, and it advances choosing randomly a direction (up, down, right), prioritizing up and down (to avoid having too many “straglers”).

screen02.jpg

Took me longer than normal, since I did an XML system to be able to customize any unit… so adding new units, is just editing the XML file (data-driven code ftw!).

The sprite is traced from Oryx’s sprite pack from the TIG Assemblee competition (really like that pack)… I zoomed it in Photoshop than placed all pixels by hand in a new image, adding the small feet animation aswell… Think this is allowed and it looks much better than something that I started without a reference… Going to do that for the rest of the graphics, since it looks nice…

Now to get some wall-destroying logic going… The army will only attack the wall if he can’t move forward anymore (the army never retreats!).

 

Tags:

Leave a Reply

 
*