Skip to content

Commit

Permalink
ascension chart finished + small cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Joalor64GH authored Oct 29, 2024
1 parent 36334a1 commit 584fa53
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 15 deletions.
5 changes: 4 additions & 1 deletion TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,7 @@

## Future To-Dos
* [ ] Sustain Notes + New song
* [ ] Improve Chart Editor
* [ ] Improve Chart Editor
* [ ] Silly Visualizer Option
* [ ] Gameplay Modifiers
* [ ] Noteskins
2 changes: 1 addition & 1 deletion assets/songs/ascension/chart.json

Large diffs are not rendered by default.

22 changes: 9 additions & 13 deletions source/states/PlayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ class PlayState extends ExtendableState {
public var canPause:Bool = true;
public var startedCountdown:Bool = false;

public var countdown3:FlxSprite;
public var countdown2:FlxSprite;
public var countdown1:FlxSprite;
public var go:FlxSprite;
public var countdown3:GameSprite;
public var countdown2:GameSprite;
public var countdown1:GameSprite;
public var go:GameSprite;

public var coolBG:FlxSprite;

Expand Down Expand Up @@ -94,7 +94,7 @@ class PlayState extends ExtendableState {
if (speed < 0.1 && songMultiplier > 1)
speed = 0.1;

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

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

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

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

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

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

0 comments on commit 584fa53

Please sign in to comment.