I am developing a Top Down Game, and I am interested in having three control options:
- Pure Point and Click
- WASD + mouse for interactions
- Joystick
WASD and Joystick are basically the same. Except, because the WASD I would have the primary and secondary actions in the mouse. In the Joystick should be buttons.
I adjusted all the shares in the project settings, all right.
However, I would disable the “point and click” to use WASD or Joystick.
Where would be the correct place to store this boolean? Or is there a simple way to detect? I would give the player an option to choose how he prefers to play, so this boolean, to be a “global variable”.
I ask this because my primary action “Left CLick, The buttom or Space” is conflicting. Ex .: If I click on ground the character must move to location. But if i press A and dont want to run “move to location”.