Monday, April 21, 2014

Adding A Little GUI To The Mix

What can I say... sometimes you just have to work on what has you most inspired at the moment, and right now that's my prototype.  I've added some basic GUI elements, which will come in handy when this Orc starts harvesting the trees for lumber.  I've also got some buttons down in the corner, which will come in handy on touch devices.  Lastly, I've added some selection indicators for both the current selected object (circular) and that objects target (square).

My opinion may be biased, but this is really starting to look like a game to me

My goal is to program the Orc worker so that when he chops the tree, he gathers resources over time.  When he has chopped all he can carry, he will return it to the tower, and then go back for more.  Before I get this done I am going to convert the movement system to use Unity3D's NavMesh, rather than the temporary one I have in place.  This will allow the Orc to walk around obstacles to reach his destination, which will come in handy in the future.  I'd put this off, but I have a feeling if I programmed the resource collection system first I'd pay for it in the long wrong with a lot of re-written code.  Best to do things in order, at least when the opportunity presents itself.

No comments:

Post a Comment