post stuff!! also now every asset can be animated

This commit is contained in:
Yoshman29
2022-11-19 15:23:00 +01:00
parent 1fa0772c9e
commit a16608448d
22 changed files with 38 additions and 42 deletions
@@ -105,8 +105,8 @@ class KeybindsOptions extends MusicBeatSubstate {
isSubState = FlxG.state != this;
alphabets = new FlxTypedGroup<KeybindSetting>();
bg = new FlxSprite(-80).loadGraphic(Paths.image(isSubState ? 'menus/menuTransparent' : 'menus/menuBGBlue'));
coloredBG = new FlxSprite(-80).loadGraphic(Paths.image('menus/menuDesat'));
bg = new FlxSprite(-80).loadAnimatedGraphic(Paths.image(isSubState ? 'menus/menuTransparent' : 'menus/menuBGBlue'));
coloredBG = new FlxSprite(-80).loadAnimatedGraphic(Paths.image('menus/menuDesat'));
for(bg in [bg, coloredBG]) {
bg.scrollFactor.set();
bg.scale.set(1.15, 1.15);