forked from YARC-Official/YARG
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reimplement, reorganize, and fix a number of solo handling things (YA…
…RC-Official#446) * Pre-calculate note counts of solos * Ignore SP phrases that have no notes * Don't count chords in phrases as single notes on drums * Separate solo updating out into its own method * Move solo box text formatting to TrackView * absolutely baffling control flow decision lol * Re-enable solo score bonus * Re-implement solo box coloring The color gradients are assets now, so they can be used in other text boxes * Remove commented-out and unused solo box code from AbstractTrack Obsolete now that it's been fully re-implemented * Factor in the current note when checking if a solo is active * Add easter egg for anyone who manages to break solos lol
- Loading branch information
1 parent
4f7224f
commit 731b252
Showing
10 changed files
with
225 additions
and
135 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
%YAML 1.1 | ||
%TAG !u! tag:unity3d.com,2011: | ||
--- !u!114 &11400000 | ||
MonoBehaviour: | ||
m_ObjectHideFlags: 0 | ||
m_CorrespondingSourceObject: {fileID: 0} | ||
m_PrefabInstance: {fileID: 0} | ||
m_PrefabAsset: {fileID: 0} | ||
m_GameObject: {fileID: 0} | ||
m_Enabled: 1 | ||
m_EditorHideFlags: 0 | ||
m_Script: {fileID: 11500000, guid: 54d21f6ece3b46479f0c328f8c6007e0, type: 3} | ||
m_Name: TextGradient_Gold | ||
m_EditorClassIdentifier: | ||
colorMode: 3 | ||
topLeft: {r: 1, g: 0.619472, b: 0, a: 1} | ||
topRight: {r: 1, g: 0.619472, b: 0, a: 1} | ||
bottomLeft: {r: 0.5377358, g: 0.2550798, b: 0, a: 1} | ||
bottomRight: {r: 0.5377358, g: 0.2550798, b: 0, a: 1} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
%YAML 1.1 | ||
%TAG !u! tag:unity3d.com,2011: | ||
--- !u!114 &11400000 | ||
MonoBehaviour: | ||
m_ObjectHideFlags: 0 | ||
m_CorrespondingSourceObject: {fileID: 0} | ||
m_PrefabInstance: {fileID: 0} | ||
m_PrefabAsset: {fileID: 0} | ||
m_GameObject: {fileID: 0} | ||
m_Enabled: 1 | ||
m_EditorHideFlags: 0 | ||
m_Script: {fileID: 11500000, guid: 54d21f6ece3b46479f0c328f8c6007e0, type: 3} | ||
m_Name: TextGradient_Red | ||
m_EditorClassIdentifier: | ||
colorMode: 3 | ||
topLeft: {r: 1, g: 0.1933962, b: 0.1933962, a: 1} | ||
topRight: {r: 1, g: 0.1933962, b: 0.1933962, a: 1} | ||
bottomLeft: {r: 1, g: 0.1332366, b: 0.06132078, a: 1} | ||
bottomRight: {r: 1, g: 0.1332366, b: 0.06132078, a: 1} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
%YAML 1.1 | ||
%TAG !u! tag:unity3d.com,2011: | ||
--- !u!114 &11400000 | ||
MonoBehaviour: | ||
m_ObjectHideFlags: 0 | ||
m_CorrespondingSourceObject: {fileID: 0} | ||
m_PrefabInstance: {fileID: 0} | ||
m_PrefabAsset: {fileID: 0} | ||
m_GameObject: {fileID: 0} | ||
m_Enabled: 1 | ||
m_EditorHideFlags: 0 | ||
m_Script: {fileID: 11500000, guid: 54d21f6ece3b46479f0c328f8c6007e0, type: 3} | ||
m_Name: TextGradient_Silver | ||
m_EditorClassIdentifier: | ||
colorMode: 3 | ||
topLeft: {r: 1, g: 1, b: 1, a: 1} | ||
topRight: {r: 1, g: 1, b: 1, a: 1} | ||
bottomLeft: {r: 0.1320755, g: 0.1320755, b: 0.1320755, a: 1} | ||
bottomRight: {r: 0.1320755, g: 0.1320755, b: 0.1320755, a: 1} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.