From ba0162b3e133369e35c8d16bebcf5df2163e7ca8 Mon Sep 17 00:00:00 2001 From: ivan tkachenko Date: Thu, 17 Jul 2025 19:02:36 +0300 Subject: [PATCH] Add track PWNED with custom palette and timings --- Assets/PWNEDLoop.ogg | 3 +++ Assets/PWNEDStart.ogg | 3 +++ MuzikaGromche/Plugin.cs | 21 +++++++++++++++++++++ 3 files changed, 27 insertions(+) create mode 100644 Assets/PWNEDLoop.ogg create mode 100644 Assets/PWNEDStart.ogg diff --git a/Assets/PWNEDLoop.ogg b/Assets/PWNEDLoop.ogg new file mode 100644 index 0000000..94cea6d --- /dev/null +++ b/Assets/PWNEDLoop.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1d81825034c566f2f92aed9fbf61cc8ed08f81f2ebf10ec0545da13c386ff16a +size 395985 diff --git a/Assets/PWNEDStart.ogg b/Assets/PWNEDStart.ogg new file mode 100644 index 0000000..d0cae7e --- /dev/null +++ b/Assets/PWNEDStart.ogg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cba7c5e0520b0663bb3f580ac9b634b180b26a959f7437912b18c2f0401e4989 +size 853470 diff --git a/MuzikaGromche/Plugin.cs b/MuzikaGromche/Plugin.cs index 8c33f14..9774d00 100644 --- a/MuzikaGromche/Plugin.cs +++ b/MuzikaGromche/Plugin.cs @@ -200,6 +200,27 @@ namespace MuzikaGromche "#A01471", "#4CAF50", "#CB2243", "#F01D7A", "#AF005A", "#FFD85D", "#EF355F", "#FF66B2", ]), }, + new Track + { + Name = "PWNED", + AudioType = AudioType.OGGVORBIS, + Language = Language.ENGLISH, + WindUpTimer = 39.73f, + Bars = 32, + BeatsOffset = -0.2f, + ColorTransitionIn = 0.5f, + ColorTransitionOut = 0.3f, + ColorTransitionEasing = Easing.InExpo, + Palette = Palette.Parse(["#9E9E9E", "#383838", "#5E5E5E", "#2E2E2E", "#666666", "#4B4B4B", "#8E8E8E", "#1D1D1D"]).Use(gray8 => + { + var flag4 = Palette.Parse(["#FFFFFF", "#0032A0", "#DA291C", "#000000"]); + var gray6 = new Palette(gray8.Colors[0..6]); + var gray14 = gray8 + gray6; + var lyrics = flag4 + gray14.Stretch(2); + var instrumental = gray8.Stretch(4); + return lyrics * 2 + instrumental * 2; + }), + }, ]; public static Track ChooseTrack()