Files
CodenameEngine/source/funkin/menus/credits/CreditsMain.hx
T
2023-04-13 23:05:35 +02:00

25 lines
810 B
Haxe

package funkin.menus.credits;
import flixel.addons.transition.FlxTransitionableState;
import funkin.options.OptionsScreen;
import funkin.options.type.*;
class CreditsMain extends OptionsScreen {
public override function create() {
options = [
// TODO: Custom Credits
new TextOption("Codename Engine", "Select this to see all of the contributors of the engine!", function() {
MusicBeatState.skipTransIn = MusicBeatState.skipTransOut = true;
FlxG.switchState(new CreditsCodename());
}),
new TextOption("Friday Night Funkin'", "Select this to open the itch.io page of the original game to donate!", function() {
CoolUtil.openURL("https://ninja-muffin24.itch.io/funkin");
})
];
super.create();
}
public override function exit() {
FlxG.switchState(new MainMenuState());
}
}