andwn / cave-story-md

A fan port of Cave Story for the Sega Mega Drive
570 stars 34 forks source link

(Suggestion) Controller modes #217

Closed SkyTheLeafeon closed 6 years ago

SkyTheLeafeon commented 6 years ago

Maybe there should be an option under Config that allows the player to choose between the three-button and six-button controller modes.

andwn commented 6 years ago

Shouldn't be too hard to do something like this, but gonna research some stuff about controller modes and try to find the cause of #211 so I can decide if it's necessary.

People have told me the mode button changes how the controller presents itself to the console, but when I press it nothing happens (the SGDK-based code I use to update the controller states checks the mode per frame).

sikthehedgehog commented 6 years ago

Holding down the Mode button when turning on the console makes it simulate a 3 button controller (this is intended for compatibility with some older games). Otherwise it's just one more button.

That said, I imagine that providing both schemes may still be useful just in case somebody prefers pressing A despite having a 6 button controller. No need to force them to remember to hold down Mode every time they want to play.

andwn commented 6 years ago

Well that explains a lot. Guess the option would be 3 way like this:

"Force controller mode" : OFF / 3btn / 6btn

SkyTheLeafeon commented 6 years ago

That sounds good. Looking forward to it!

andwn commented 6 years ago

Well, I didn't implement it yet so, should probably keep it open until then.

SkyTheLeafeon commented 6 years ago

Oh, good point! My apologies.

andwn commented 6 years ago

0.5.1 blastem_2018-03-17_17-59-09