heyo, NG
I've been recently trying to figure out how to go about a (street fighter based) character select screen. normally i make char select screens like super smash bros with the drag and drop, but that doesn't belong in a conventional fighting game such as Street Fighter or UNIB.
one way i guess i could go about it is by using a key listener and indexes, but the REAL problem comes when i think about multi-directional navigation; like, what if the player decides to navigate down? what if they go down left then down again? indexes definitely don't work in that situation.
i thought about using vectors and giving each selection properties of their own to figure out the surrounding buttons and move accordingly...but that requires like, at least 2 new classes to manage it all. or at least, afaik. i figured there must be another way.
do you guys have any tips on how i could go about this?