Skip to content

Commit

Permalink
music player yeh
Browse files Browse the repository at this point in the history
  • Loading branch information
Joalor64GH authored Jun 5, 2024
1 parent 01d03a6 commit df3225d
Show file tree
Hide file tree
Showing 4 changed files with 519 additions and 344 deletions.
217 changes: 0 additions & 217 deletions source/flixel/addons/transition/FlxTransitionableState.hx

This file was deleted.

15 changes: 0 additions & 15 deletions source/meta/state/CreditsState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ class CreditsState extends MusicBeatState
private var creditsStuff:Array<Array<String>> = [];

var bg:FlxSprite;
var mainSide:FlxSprite;
var descText:FlxText;
var intendedColor:FlxColor;
var colorTween:FlxTween;
Expand Down Expand Up @@ -43,17 +42,6 @@ class CreditsState extends MusicBeatState
add(bg);
bg.screenCenter();

mainSide = new FlxSprite(0, 0).loadGraphic(Paths.image('mainSide'));
mainSide.scrollFactor.x = 0;
mainSide.scrollFactor.y = 0;
mainSide.setGraphicSize(Std.int(mainSide.width * 0.75));
mainSide.updateHitbox();
mainSide.screenCenter();
mainSide.antialiasing = ClientPrefs.globalAntialiasing;
mainSide.x = -500;
mainSide.y = -90;
add(mainSide);

grpOptions = new FlxTypedGroup<Alphabet>();
add(grpOptions);

Expand Down Expand Up @@ -118,7 +106,6 @@ class CreditsState extends MusicBeatState
optionText.isMenuItem = true;
optionText.screenCenter(X);
optionText.snapToPosition();
FlxTween.tween(optionText, {x: 90}, 0.9, {ease: FlxEase.quartInOut});
if (isSelectable)
optionText.x -= 70;
grpOptions.add(optionText);
Expand All @@ -142,8 +129,6 @@ class CreditsState extends MusicBeatState
}
}

FlxTween.tween(mainSide, {x: -80}, 0.9, {ease: FlxEase.quartInOut});

descBox = new AttachedSprite();
descBox.makeGraphic(1, 1, FlxColor.BLACK);
descBox.xAdd = -10;
Expand Down
Loading

0 comments on commit df3225d

Please sign in to comment.