Skip to content

Commit

Permalink
GUH
Browse files Browse the repository at this point in the history
added an option where the icons only bop if the respective side is singing
increased text update limits per frame to 4
fixed an oversight where setting your 7 Event to "None" would make it impossible to access the Chart Editor
If Opponent Health Drain is enabled, scoreTxt now updates to your new health and the drain now continues when you run out of health in Practice Mode
optimized bopping stuff
leather engine timebar color now only updates once per section hit
  • Loading branch information
JordanSantiagoYT committed Nov 4, 2023
1 parent ea570a7 commit 2b1e00b
Show file tree
Hide file tree
Showing 4 changed files with 155 additions and 131 deletions.
5 changes: 5 additions & 0 deletions source/ClientPrefs.hx
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ class ClientPrefs { //default settings if it can't find a save file containing y
public static var songPercentage:Bool = true;
public static var autosaveInterval:Float = 5.0;
public static var noteMotionBlur:Bool = false;
public static var onlyBopWhenSing:Bool = false;
public static var noteMBMult:Float = 1;
public static var comboMultLimit:Float = 5;
public static var minCGBMS:Int = 5;
Expand Down Expand Up @@ -243,6 +244,7 @@ class ClientPrefs { //default settings if it can't find a save file containing y
FlxG.save.data.noGunsRNG = noGunsRNG;
FlxG.save.data.camZooms = camZooms;
FlxG.save.data.daMenuMusic = daMenuMusic;
FlxG.save.data.onlyBopWhenSing = onlyBopWhenSing;
FlxG.save.data.maxSplashLimit = maxSplashLimit;
FlxG.save.data.showMaxScore = showMaxScore;
FlxG.save.data.autosaveInterval = autosaveInterval;
Expand Down Expand Up @@ -448,6 +450,9 @@ class ClientPrefs { //default settings if it can't find a save file containing y
if (FlxG.save.data.dynamicColors != null) {
dynamicColors = FlxG.save.data.dynamicColors;
}
if (FlxG.save.data.onlyBopWhenSing != null) {
onlyBopWhenSing = FlxG.save.data.onlyBopWhenSing;
}
if(FlxG.save.data.pbRControls != null) {
pbRControls = FlxG.save.data.pbRControls;
}
Expand Down
1 change: 1 addition & 0 deletions source/CreditsPopUp.hx
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ class CreditsPopUp extends FlxSpriteGroup
curHeading = headingPath;
}
createHeadingText("Song by" + ' ' + songCreator);
if (PlayState.instance != null) bg.color = FlxColor.fromRGB(PlayState.instance.dad.healthColorArray[0], PlayState.instance.dad.healthColorArray[1], PlayState.instance.dad.healthColorArray[2]);

rescaleBG();

Expand Down
Loading

1 comment on commit 2b1e00b

@JordanSantiagoYT
Copy link
Owner Author

Choose a reason for hiding this comment

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

WAIT I FORGOT TO POINT OUT THE CREDITS POPUP IS NOW COLORED DEPENDING ON THE OPPONENT'S HEALTH BAR COLOR

Please sign in to comment.