Skip to content

Commit

Permalink
what the heck
Browse files Browse the repository at this point in the history
  • Loading branch information
Joalor64GH authored Oct 29, 2024
1 parent e5762f5 commit 64a74b3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions source/states/PlayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class PlayState extends ExtendableState {
if (speed < 0.1 && songMultiplier > 1)
speed = 0.1;

var bg:GameSprite = new GameSprite(0, 0).loadGraphic(Paths.image('gameplay/bg'));
var bg:GameSprite = new objects.GameSprite(0, 0).loadGraphic(Paths.image('gameplay/bg'));
add(bg);

coolBG = new FlxSprite().makeGraphic(820, FlxG.height, FlxColor.BLACK);
Expand Down Expand Up @@ -169,22 +169,22 @@ class PlayState extends ExtendableState {
ratingDisplay.alpha = 0;
add(ratingDisplay);

countdown3 = new GameSprite(0, 0).loadGraphic(Paths.image('gameplay/three'));
countdown3 = new objects.GameSprite(0, 0).loadGraphic(Paths.image('gameplay/three'));
countdown3.screenCenter();
countdown3.visible = false;
add(countdown3);

countdown2 = new GameSprite(0, 0).loadGraphic(Paths.image('gameplay/two'));
countdown2 = new objects.GameSprite(0, 0).loadGraphic(Paths.image('gameplay/two'));
countdown2.screenCenter();
countdown2.visible = false;
add(countdown2);

countdown1 = new GameSprite(0, 0).loadGraphic(Paths.image('gameplay/one'));
countdown1 = new objects.GameSprite(0, 0).loadGraphic(Paths.image('gameplay/one'));
countdown1.screenCenter();
countdown1.visible = false;
add(countdown1);

go = new GameSprite(0, 0).loadGraphic(Paths.image('gameplay/go'));
go = new objects.GameSprite(0, 0).loadGraphic(Paths.image('gameplay/go'));
go.screenCenter();
go.visible = false;
add(go);
Expand Down

0 comments on commit 64a74b3

Please sign in to comment.