clean menus

This commit is contained in:
Yoshman29
2023-03-14 17:24:21 +01:00
parent 0d240a9725
commit b12d91e172
12 changed files with 8 additions and 9 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

+1 -1
View File
@@ -1 +1 @@
2490
2492
+2
View File
@@ -6,6 +6,8 @@ class DebugOptions extends TreeMenu {
public override function create() {
super.create();
FlxG.camera.fade(0xFF000000, 0.5, true);
var bg:FlxSprite = new FlxSprite(-80).loadAnimatedGraphic(Paths.image('menus/menuBGBlue'));
// bg.scrollFactor.set();
+1 -1
View File
@@ -50,7 +50,7 @@ class EditorPicker extends MusicBeatSubstate {
camera = new FlxCamera();
camera.bgColor = 0;
FlxG.cameras.add(camera);
FlxG.cameras.add(camera, false);
bg = new FlxSprite().makeGraphic(1, 1, 0xFF000000);
bg.scrollFactor.set();
+2
View File
@@ -10,6 +10,8 @@ class EditorTreeMenu extends TreeMenu {
public override function create() {
super.create();
FlxG.camera.fade(0xFF000000, 0.5, true);
bg = new FlxBackdrop();
bg.loadGraphic(Paths.image('editors/bgs/${bgType}'));
bg.antialiasing = true;
+2 -2
View File
@@ -532,8 +532,8 @@ class PlayState extends MusicBeatState
// ADD YOUR HARDCODED SCRIPTS HERE!
default:
for(content in [
Paths.getFolderContent('songs/${SONG.meta.name.toLowerCase()}/scripts', true, fromMods ? MODS : SOURCE),
Paths.getFolderContent('data/charts/', true, fromMods ? MODS : SOURCE)]) {
Paths.getFolderContent('songs/${SONG.meta.name.toLowerCase()}/scripts', true, fromMods ? MODS : BOTH),
Paths.getFolderContent('data/charts/', true, fromMods ? MODS : BOTH)]) {
for(file in content) {
var ext = Path.extension(file).toLowerCase();
if (Script.scriptExtensions.contains(ext))
-5
View File
@@ -31,11 +31,6 @@ class OptionsMenu extends TreeMenu {
name: 'Miscellaneous',
desc: 'Use this menu to reset save data or engine settings.',
state: MiscOptions
},
{
name: 'Debug Options',
desc: 'Use this menu to change debug options.',
state: DebugOptions
}
];