I’m working on a Street Fighter clone for practice and I’m stuck on how to handle the inputs for special and super moves.
I have the current action and axis mappings representing a D-Pad:
W: Jump
S: Crouch
D: Move Right Scale 1.0f
A: Move Right Scale -1.0f
To make things easier, we’ll have the Numpad as the possible combinations for moves:
789 8 is up
456 4 is back, 6 forward
123 2 is down
I’m trying to do a combo system where, each of the 8 directions (excluding 5 on numbed) will dump a character into an array when the direction is pressed.
But I’m wondering how to go about even a simple 236 + Punch combination. Can I do an action mapping for S+D to represent the 3 direction? Is there a simple way to handle multiple, simultaneous button presses?
Hopefully this was clear enough. Thanks in advance guys