Hi,
For the 8-direction controller, when the player presses the → & ← or the ↑ & ↓ simultaneously, the controller stops moving.
Like this, I'd like to implement a system where if the player presses the → ↓ & the ↑ buttons simultaneously, or any combination like this, I want the controller to stop moving in any direction.
Basically, if the player presses 3 or more movement direction keys, I want the 8-direction controller to stop moving. Is that possible?
I tried implementing this with the help of a variable. For example, If the player presses 3 or more direction keys, a variable will return "o". When this happens, I plan to disable the 8-direction controller.
The issue is that it seems to recognize when I press ←, ↓, → keys at the same time. However, if I press the →, ↓, ↑ keys, it doesn't seem to return a value.
Following is a screenshot of the event system I implemented. hope some one can guide me on this. Thanks for your time.