fixed health bar in downscroll
This commit is contained in:
@ -701,7 +701,10 @@ class PlayState extends MusicBeatState
|
||||
|
||||
FlxG.fixedTimestep = false;
|
||||
|
||||
|
||||
healthBarBG = new FlxSprite(0, FlxG.height * 0.9).loadGraphic(Paths.image('healthBar'));
|
||||
if (FlxG.save.data.downscroll)
|
||||
healthBarBG.y = 50;
|
||||
healthBarBG.screenCenter(X);
|
||||
healthBarBG.scrollFactor.set();
|
||||
add(healthBarBG);
|
||||
|
Reference in New Issue
Block a user