I want to create a game where the unit will face whichever way the mouse is. So if it's on the right side of the screen he will look that way. I want to add wsad movement to that and left mouse button to fire the weapon and right mouse button would be a special move, probably an energy usage move. Any ideas on how to do the first part?
I want to create a game where the unit will face whichever way the mouse is. So if it's on the right side of the screen he will look that way. I want to add wsad movement to that and left mouse button to fire the weapon and right mouse button would be a special move, probably an energy usage move. Any ideas on how to do the first part?
@Keyeszx: Go
The only way for you to return mouse coordinates is if you click a mouse button, unfortunately. So no Diablo type movement systems any time soon.
Darn, well I guess I can make it a third person shooter, although it won't be as fun as I imagined it since you can't see behind you.