clean menus
This commit is contained in:
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
@@ -1 +1 @@
|
||||
2490
|
||||
2492
|
||||
@@ -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();
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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))
|
||||
|
||||
@@ -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
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user