Skip to content

support "mapping extensions" beatmaps#192

Open
digama0 wants to merge 3 commits intosupermedium:masterfrom
digama0:mapping_extensions
Open

support "mapping extensions" beatmaps#192
digama0 wants to merge 3 commits intosupermedium:masterfrom
digama0:mapping_extensions

Conversation

@digama0
Copy link
Copy Markdown
Contributor

@digama0 digama0 commented Feb 27, 2024

Some maps like Shirobon - Into the Zone make use of the Mapping Extensions add-on(?), in which _lineIndex and _lineLayer are not in the range 0..3, 0..2 but are instead more than 1000. This would previously cause these maps to break, generating all notes in a line on the left. The explanation of the mapping is given here, which has been copied into this code.

I had to remove the indirection through horizontalPositionsHumanized, because it does not generalize well to notes at fractional positions. Other mappings have been converted to linear functions as appropriate.

Comment thread src/components/beat.js
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