Skip to content

refactor: line length & video attach#787

Open
2278535805 wants to merge 11 commits into
TeamFlos:mainfrom
2278535805:refactor-line-length
Open

refactor: line length & video attach#787
2278535805 wants to merge 11 commits into
TeamFlos:mainfrom
2278535805:refactor-line-length

Conversation

@2278535805

@2278535805 2278535805 commented May 8, 2026

Copy link
Copy Markdown
Contributor

修复判定线分别在不同谱面格式下的长度和宽度
正确显示pgr判定线长度与宽度,正确显示RPE判定线长度,修复rpe.extended为空时的长度
image
image

@2278535805 2278535805 changed the title refactor: line length refactor: line length & video attach May 14, 2026
@2278535805

Copy link
Copy Markdown
Contributor Author
image

Comment thread prpr/src/parse/rpe.rs
parse(
r,
&e.scale_x_events,
factor

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

这段行为和之前不同?可以原因吗(0.5 vs 1)

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.

已确认在rpe.rs中缩放判定线会导致video attach无法获取到原始缩放,所以当贴图名称为line.png时rpe.rs不缩放,在game.rs对RPE谱调整判定线长度

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.

原先的判定线缩放0.5也不准确,RPE的判定线长度实际为4000.0 / RPE_WIDTH

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