1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-10-02 07:28:53 +00:00

Merge pull request #486 from FunkinCrew/bugfix/main-menu-color

Fix the saturation on the main menu background.
This commit is contained in:
Cameron Taylor 2024-04-16 13:25:46 -04:00 committed by GitHub
commit fab6412bc6

View file

@ -58,7 +58,11 @@ class MainMenuState extends MusicBeatState
persistentDraw = true;
var bg = FunkinSprite.create('menuDesat');
bg.color = 0xFFFDE871;
// This line accounts for the fact that the base color of menuDesat is #EFEFEF.
flixel.util.FlxColorTransformUtil.setOffsets(bg.colorTransform, 30, 27, 13, 0.0);
bg.scrollFactor.x = 0;
bg.scrollFactor.y = 0.17;
bg.setGraphicSize(Std.int(bg.width * 1.2));