Squashed commit of the following:

commit 4987983dc6e655183b34258fed905be2fba73e0a
Author: lunarcleint <88809950+lunarcleint@users.noreply.github.com>
Date:   Mon Apr 1 06:32:22 2024 -0700

    fix charter bug

commit 1135b53d4d4ab48fb74a9d5693579d0a2e4923db
Author: lunarcleint <88809950+lunarcleint@users.noreply.github.com>
Date:   Mon Apr 1 00:46:53 2024 -0700

    small changes

commit 102931f3511c9f0423cf887ebf91eaeeb1024abe
Author: lunarcleint <88809950+lunarcleint@users.noreply.github.com>
Date:   Sun Mar 31 23:03:03 2024 -0700

    update spelling mistakes

commit 87ad53ae91bc8b4d3b49af3ebb8c07db9f13765b
Author: lunarcleint <88809950+lunarcleint@users.noreply.github.com>
Date:   Sun Mar 31 22:40:48 2024 -0700

    Chart editor updates

commit 8f7cae8a80a681158ff125c3e2547c9fd4dee7c1
Author: NeeEoo <NeeEoo@users.noreply.github.com>
Date:   Mon Apr 1 07:03:30 2024 +0200

    Redesigned Chart Editor

commit dbb94ba3bd8455a91883d6e5b59b25da87aefa32
Author: NeeEoo <NeeEoo@users.noreply.github.com>
Date:   Mon Apr 1 02:20:57 2024 +0200

    Added Stage Editor
This commit is contained in:
lunarcleint
2024-04-01 06:44:28 -07:00
parent 20fe94cd5a
commit 014be749e6
28 changed files with 2902 additions and 87 deletions
+11 -1
View File
@@ -60,11 +60,17 @@ class MainMenuState extends MusicBeatState
for (i=>option in optionShit)
{
var menuItem:FlxSprite = new FlxSprite(0, 60 + (i * 160));
var menuItem:FlxSprite = new FlxSprite(0, 60 + (i * 130));
menuItem.frames = Paths.getFrames('menus/mainmenu/${option}');
menuItem.animation.addByPrefix('idle', option + " basic", 24);
menuItem.animation.addByPrefix('selected', option + " white", 24);
menuItem.animation.play('idle');
menuItem.scale.set(0.8, 0.8);
if (option == "visual novel") {
menuItem.scale.set(0.7, 0.7);
menuItem.y += 8;
}
menuItem.updateHitbox();
menuItem.ID = i;
menuItem.screenCenter(X);
menuItems.add(menuItem);
@@ -161,6 +167,7 @@ class MainMenuState extends MusicBeatState
switch (daChoice)
{
case 'story mode': FlxG.switchState(new StoryMenuState());
case 'visual novel': FlxG.switchState(new VisualNovel());
case 'freeplay': FlxG.switchState(new FreeplayState());
case 'donate': FlxG.switchState(new CreditsMain());
case 'options': FlxG.switchState(new OptionsMenu());
@@ -191,6 +198,9 @@ class MainMenuState extends MusicBeatState
spr.updateHitbox();
spr.centerOffsets();
if (spr.ID == optionShit.indexOf("visual novel") && spr.ID == curSelected)
spr.offset.y += 26; // this sprite really weird -lunar
});
}
}