Hi, and thanks for reading in advance.
I’m making a little clone of Fat Princess - it’s a team-based CTF-styled class fighter that utilizes five playable roles to help rescue your princess from the enemy team’s stronghold.
One of those five is Priest, a class whose actions (and their required inputs) change contextually.
There are only two types of attacks in Fat Princess - normal and charged. For keyboard/mouse combination users, these are binded to left mouse and E, respectively; X and Y for gamepad users, and a simple tap or a press of an exclusive UI element for mobile users.
Priest alters this dynamic slightly by having a concentrated healing beam bound to the same input as his normal attack, a simple swipe of his staff. Currently, I determine whether or not to use the healing beam based on the mouse’s current Target property when the left mouse button is clicked. If your mouse is currently over a nearby ally, you’ll use the healing beam - and the staff swipe is used in all other cases. My issue arises when I consider other input formats. Do gamepads and mobile devices even use a cursor? Would this be optimal?
If they don’t or it’s not an optimal choice, maybe I should opt for a different system - perhaps something utilizing the camera. I’m definitely open to suggestions.
Thanks!