Closed Daniel-Cortez closed 1 month ago
One small bug: When releasing the input after pressing up or down on a controller's thumbstick, the switch sound plays twice. Please try to fix that if you can, and then this will good to pull.
Yeah, not only that, but the line for playing the sound when pressing ←
/→
is missing too...
Guess I accidentally lost that line when I was porting the corresponding commit from an older local branch (I originally did that one change back in July, when the code for handling inputs was different from how it is now).
Anyway, both problems should be fixed now.
This PR does the following:
↑
/↓
and←
/→
buttons are pressed at the same time. How to reprocuce the bug:→
button. Currently selected character will switch forward from "Sonic and Tails" to "Sonic".↓
button (while still holding the→
button). The level will switch to "Base Zone Act 2", but since the→
button is still being pressed, the character will also switch to "Tails", as if the button was released and pressed again.↓
button (with the→
button still being pressed). The character will again switch to "Knuckles".