Skip to content

Commit

Permalink
bruh
Browse files Browse the repository at this point in the history
  • Loading branch information
Joalor64GH authored Jul 29, 2024
1 parent 3a11585 commit af0b066
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions source/states/PlayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,7 @@ class PlayState extends ExtendableState {
// FlxG.sound.playMusic(Paths.music('Rhythmic_Odyssey'));
HighScore.saveScore(song.song, score);
canPause = false;
return true;
}

function generateNotes() {
Expand Down
8 changes: 4 additions & 4 deletions source/states/SongSelectState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -70,20 +70,20 @@ class SongSelectState extends ExtendableState {
coverGrp.add(newItem);
}

panelB:FlxSprite = new FlxSprite(0, -FlxG.height).makeGraphic(FlxG.width, 26, FlxColor.BLACK);
panelB = new FlxSprite(0, -FlxG.height).makeGraphic(FlxG.width, 26, FlxColor.BLACK);
panelB.alpha = 0.6;
add(panelB);

panelT:FlxSprite = new FlxSprite(0, FlxG.height).makeGraphic(FlxG.width, 26, FlxColor.BLACK);
panelT = new FlxSprite(0, FlxG.height).makeGraphic(FlxG.width, 26, FlxColor.BLACK);
panelT.alpha = 0.6;
add(panelT);

panelTxt:FlxText = new FlxText(panelB.x, panelB.y + 4, FlxG.width, "", 32);
panelTxt = new FlxText(panelB.x, panelB.y + 4, FlxG.width, "", 32);
panelTxt.setFormat(Paths.font("vcr.ttf"), 18, FlxColor.WHITE, CENTER, FlxTextBorderStyle.OUTLINE, FlxColor.BLACK);
panelTxt.screenCenter(X);
add(panelTxt);

titleTxt:FlxText = new FlxText(panelT.x, panelT.y - 4, FlxG.width, "", 32);
titleTxt = new FlxText(panelT.x, panelT.y - 4, FlxG.width, "", 32);
titleTxt.setFormat(Paths.font("vcr.ttf"), 18, FlxColor.WHITE, CENTER, FlxTextBorderStyle.OUTLINE, FlxColor.BLACK);
titleTxt.screenCenter(X);
add(titleTxt);
Expand Down

0 comments on commit af0b066

Please sign in to comment.