Skip to content

Feature: translate C-Buttons as Smash/Aerial Attacks#66

Merged
JRickey merged 1 commit intoJRickey:mainfrom
the-outcaster:feature/c-stick-smash
May 2, 2026
Merged

Feature: translate C-Buttons as Smash/Aerial Attacks#66
JRickey merged 1 commit intoJRickey:mainfrom
the-outcaster:feature/c-stick-smash

Conversation

@the-outcaster
Copy link
Copy Markdown
Contributor

Screenshot_20260502_001032

Allows the player to set the C buttons to smash attacks, or aerial attacks if the player is in the air, as opposed to the default jump behavior. Makes it more akin to the later Smash games where the user can easily tilt the right stick to perform a smash attack.

A check is made to make sure this is only applied while the player is in the game; this ensures that the player can still adjust the character's color palette in the CSS with the C buttons without causing erratic behavior (i.e. the cursor snapping in a certain direction and hitting the A button at the same time).

If the user has tap jump disabled, this can be a problem though since they won't have any way to jump otherwise. As a compromise, I added a second toggle underneath that converts D-pad input to the C buttons. This way the player can map a button, such as X or Y on a Xbox-style gamepad, to any of the D-pad directions, and give them their jumping ability back.

Note there are some weird edge cases I've tested where, for example, the character will still jump as opposed to performing a smash attack, depending on how the stick was tilted, or the character will do a forward air attack when tilting down on the right stick immediately after jumping.

Also took the opportunity to re-organize the enhancement options in the menu a bit.

JRickey added a commit that referenced this pull request May 2, 2026
Feature: translate C-Buttons as Smash/Aerial Attacks (rebased from #66)
@JRickey JRickey merged commit f2d4e6a into JRickey:main May 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants