Skip to content

[ENHANCEMENT] Cut note snap value in half when holding Control - #7950

Open
ADA-Funni wants to merge 2 commits into
FunkinCrew:preview/public-playtestfrom
ADA-Funni:adafunni/control-note-snap
Open

[ENHANCEMENT] Cut note snap value in half when holding Control#7950
ADA-Funni wants to merge 2 commits into
FunkinCrew:preview/public-playtestfrom
ADA-Funni:adafunni/control-note-snap

Conversation

@ADA-Funni

Copy link
Copy Markdown
Contributor

For example, if I'm on 1/16 and hold Control, the note snap becomes 1/32.

@github-actions github-actions Bot added status: pending triage Awaiting review. size: large A large pull request with more than 100 changes. pr: haxe PR modifies game code. labels Aug 16, 2026
@Hundrec Hundrec added type: enhancement Involves an enhancement or new feature. topic: chart editor Related to the operation of the Chart Editor. labels Aug 16, 2026
@ADA-Funni
ADA-Funni force-pushed the adafunni/control-note-snap branch from ec4dae2 to 5a9f721 Compare August 18, 2026 22:58
function get_noteSnapQuant():Int
{
return SNAP_QUANTS[noteSnapQuantIndex];
return Std.int(SNAP_QUANTS[noteSnapQuantIndex] * (pressingControl() ? 2 : 1));

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the logic for this should probably be reworked, since currently you can get values that aren't in the SNAP_QUANTS array.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, I anticipated that, but assumed it wasn't an issue.

I'll do something about that tomorrow

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got caught up in school stuff, but I'm able to work on it now.
Is this good?

function get_noteSnapQuant():Int
  {
    if (pressingControl()) {
      final result:Int = Std.int(SNAP_QUANTS[noteSnapQuantIndex] * 2);
      if (SNAP_QUANTS.contains(result)) return result;
    }

    return SNAP_QUANTS[noteSnapQuantIndex];
  }

@AbnormalPoof
AbnormalPoof force-pushed the preview/public-playtest branch from 401b06b to 2e7f104 Compare August 20, 2026 03:25
@Hundrec Hundrec added status: needs revision Cannot be approved because it is awaiting some work by the contributor. and removed status: pending triage Awaiting review. labels Aug 21, 2026
@Hundrec Hundrec changed the title When the player holds Control, the note snap length gets halved, allowing the charter to place notes more precisely. [ENHANCEMENT] Cut note snap value in half when holding Control Aug 21, 2026
@Hundrec
Hundrec force-pushed the preview/public-playtest branch from fff3525 to 25ad66b Compare August 21, 2026 09:53
@ADA-Funni ADA-Funni closed this Aug 21, 2026
@ADA-Funni
ADA-Funni force-pushed the adafunni/control-note-snap branch from 5a9f721 to 25ad66b Compare August 21, 2026 13:03
@github-actions github-actions Bot added size: tiny A tiny pull request with 4 or fewer changes. and removed size: large A large pull request with more than 100 changes. labels Aug 21, 2026
…owing the charter to place notes more precisely.
@ADA-Funni ADA-Funni reopened this Aug 21, 2026
@github-actions github-actions Bot added size: large A large pull request with more than 100 changes. and removed size: tiny A tiny pull request with 4 or fewer changes. labels Aug 21, 2026
@ADA-Funni

ADA-Funni commented Aug 21, 2026

Copy link
Copy Markdown
Contributor Author

Had to do some horrible dark magic to rebase this PR, and apparently Git closed the fucker for me when I didn't want it closed, but my branch works now.

@Hundrec Hundrec added status: pending triage Awaiting review. and removed status: needs revision Cannot be approved because it is awaiting some work by the contributor. labels Aug 22, 2026
@Hundrec
Hundrec force-pushed the preview/public-playtest branch from 3f2fe37 to a1fa227 Compare September 1, 2026 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: haxe PR modifies game code. size: large A large pull request with more than 100 changes. status: pending triage Awaiting review. topic: chart editor Related to the operation of the Chart Editor. type: enhancement Involves an enhancement or new feature.

Development

Successfully merging this pull request may close these issues.

3 participants