-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat: support stretching bar roll as in TaikoJiro #757
Conversation
449dd93
to
143e8c1
Compare
Hello, thank you for your contribution!
|
Just discovered that there are issues with balloon-type rolls. I also intend to keep the bar roll head visible. Please wait until there are finished. However, the other parts of this PR are finished and are ready for review.
The hiding algorithm currently works as follow: OpenTaiko/OpenTaiko/src/Stages/07.Game/Taiko/CStage演奏ドラム画面.cs Lines 1891 to 1895 in 3d62fd3
("Passing" judgement mark, bar body shown no matter what.) OpenTaiko/OpenTaiko/src/Stages/07.Game/Taiko/CStage演奏ドラム画面.cs Lines 1897 to 1901 in 3d62fd3
(hide the bar body of obviously out-of-screen rolls.) OpenTaiko/OpenTaiko/src/Stages/07.Game/Taiko/CStage演奏ドラム画面.cs Lines 1903 to 1911 in 3d62fd3
OpenTaiko/OpenTaiko/src/Stages/07.Game/Taiko/CStage演奏ドラム画面.cs Lines 1930 to 1935 in 3d62fd3
For the remaining case, the nearest point of the bar to the judgement mark and its (interpolated) velocity is calculated to determine whether to show the bar body. (show the bar body of fast-moving rolls, hide the bar body of slow-moving rolls.) The weakness is that it does not consider whether the bar body is approaching or departing. So, for the question whether the bar body of the drumroll is hidden, it depends on the velocity of the tips of the bar body. Explanation image project file: HideObscuringRoll_explanation.xcf.zip
Probably the texture is stretched too much or the coordination variable overflowed. These may also happen for non-stretching bar rolls. These issues can be prevented by using line-clipping algorithms such as fast clipping, but is too far to be addressed in this PR. |
3d62fd3
to
e78e33a
Compare
515b9f5
to
983cbca
Compare
…y when any tips are out of screen
983cbca
to
2b0ec24
Compare
This PR is now finished. |
Features
Fixes
#START
This also fixes #558 & #579 completely
Limitations
These limitations will be addressed in future PRs.
The roll position in HB/BMScroll is determined by the timing settings of player 1. (existent issue)reverified, falseTest Cases
⭕ Tutorial ~ Advanced Notes Ex.tja
OpenTaiko.PR.2024-12-10.Tutorial.Advanced.Notes.Ex.tja.-.0.00.39-0.02.10.mp4
Note that the note draw order in this chart can sometimes be different than this video. It is because the current draw order is determined (almost) purely by notes' play time, not purely by notes' definition order as in TaikoJiro.
⭕ Katharsis [Oni] (OpenTaiko Chapter 1)
You can also play any TaikoJiro gimmick chart with stretching bar drumrolls. Also see #758.