abot bars in probress

This commit is contained in:
Cameron Taylor
2024-02-22 01:50:55 -05:00
parent 758a8378e7
commit 8a9a8bb179
3 changed files with 10 additions and 5 deletions
+1 -1
Submodule assets updated: c8f320e89f...d9a0b3b0bc
+8 -1
View File
@@ -45,6 +45,13 @@
"type": "haxelib",
"version": "3.5.0"
},
{
"name": "funkVis",
"type": "git",
"dir": null,
"ref": "separateDSP",
"url": "https://github.com/FunkinCrew/funkVis"
},
{
"name": "hamcrest",
"type": "haxelib",
@@ -164,4 +171,4 @@
"url": "https://github.com/FunkinCrew/thx.semver"
}
]
}
}
+1 -3
View File
@@ -35,9 +35,7 @@ class ABotVis extends FlxTypedSpriteGroup<FlxSprite>
viz.frames = visFrms;
add(viz);
var visStr = 'VIZ';
if (lol == 5) visStr = 'viz'; // lol makes it lowercase, accomodates for art that I dont wanna rename!
var visStr = 'viz';
viz.animation.addByPrefix('VIZ', visStr + lol, 0);
viz.animation.play('VIZ', false, false, -1);
}