ID:265361
 
In my game you control all your units from the king unit, or will eventually... these units are refered to as armies.


However, I'm having issues.


I allow the user to take control of their units individually in fact some things simply require you to do this, in order to preform certain actions.

However I am having issues in terms of how to go about implementing an attack system.

The following is what I've come up with/considered:

A click system. You click on a mob, and it'll determine the range, etc... and if you're close enough it will attack. if not, it will move you towards the mob.
The only problem with this is if you are moving the king unit while clicking... this can be a heart ache.

bumping - this kind of attack happens when you click on area for a unit to go and it runs into a mob, it'll attack... this doesn't work simply because range attacks don't get their range benefit.

taking control of mob and clicking a hub icon - this doesn't work, bcause when moving clicking like I mentioned above gets hectic and buggy.

taking control of a mob and clicking an attack verb - the problem with this is simply that you will most likely get a wide variety of mobs to have to choose from, which on the fly in the middle of a battle can be real hectic and annoying.


Anymore suggestions?


click system works best, but can be hard to implement
In response to Draxxis
It's not much harder to implement than any of the other ones.

Go with clicking. It's the most straightforward and doesn't pop up annoying verb lists in the heat of battle.

I don't quite get what the problem with king units is - could you clarify? You could always make it behave differently with king units if there's a problem.
In response to Crispy
Well, the problem with king units when moving is simple.

Ever tried to click a hub icon when moving? It just doesn't work... for some reason it just doesn't read it or something.

Play around with it, maybe I did something wrong :P
In response to Jon Snow
What's so special about the king? Is the king just the player's mob or something?

I haven't noticed any problems like that. HUD icons (and I'm pretty sure you do mean HUD, not hub =)) have always worked fine for me.
In response to Crispy
lol yeah I always say hud for some reason...

Hmm, interesting I will play with it some more.

The king unit is your commander and all seeing eye, he governs the whole kingdom and eventually you will not have to leave your king unit for much of anything (you will be able to manage cities, etc).

For convenience sake of course ;)