debug options in 7 menu

This commit is contained in:
Yoshman29
2023-03-14 13:44:31 +01:00
parent c97eb04e12
commit 0d240a9725
4 changed files with 25 additions and 14 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 68 KiB

After

Width:  |  Height:  |  Size: 74 KiB

+1 -1
View File
@@ -1 +1 @@
2489
2490
+21
View File
@@ -0,0 +1,21 @@
package funkin.editors;
import funkin.options.TreeMenu;
class DebugOptions extends TreeMenu {
public override function create() {
super.create();
var bg:FlxSprite = new FlxSprite(-80).loadAnimatedGraphic(Paths.image('menus/menuBGBlue'));
// bg.scrollFactor.set();
bg.scale.set(1.15, 1.15);
bg.updateHitbox();
bg.screenCenter();
bg.scrollFactor.set();
bg.antialiasing = true;
add(bg);
main = new funkin.options.categories.DebugOptions();
}
}
+3 -13
View File
@@ -25,19 +25,9 @@ class EditorPicker extends MusicBeatSubstate {
state: null
},
{
name: "Unknown Editor",
iconID: 3,
state: null
},
{
name: "Unknown Editor",
iconID: 3,
state: null
},
{
name: "Unknown Editor",
iconID: 3,
state: null
name: "Debug Options",
iconID: 4,
state: DebugOptions
}
];