Skip to content

Commit

Permalink
pfft
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesisfeline committed Nov 7, 2023
1 parent ef236eb commit 176ecd9
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 103 deletions.
101 changes: 0 additions & 101 deletions example_mods/foxa/scripts/plnkFPS.hx

This file was deleted.

7 changes: 7 additions & 0 deletions source/psychlua/FunkinLua.hx
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,13 @@ class FunkinLua {
return false;
});

Lua_helper.add_callback(lua, "loadCredits", function(?musicos:String = null, ?funni:Bool) {
LoadingState.loadAndSwitchState(new states.CreditsState()); // wowzers!
FlxG.sound.playMusic(Paths.music(musicos));
if(musicos == '') funni = true;
if(funni == true) FlxG.sound.playMusic(Paths.music('freakyMenu'));
});

Lua_helper.add_callback(lua, "loadSong", function(?name:String = null, ?difficultyNum:Int = -1) {
if(name == null || name.length < 1)
name = PlayState.SONG.song;
Expand Down
8 changes: 6 additions & 2 deletions source/states/ThanksState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,19 @@ class ThanksState extends MusicBeatState
theLogoThing.alpha = 0.8;
theLogoThing.antialiasing = ClientPrefs.data.antialiasing;
add(theLogoThing);

theLogoThing.animation.addByPrefix('bump', 'logo bumpin', 24, false);
theLogoThing.animation.play('bump');
theLogoThing.updateHitbox();

var txt:FlxText = new FlxText(0, 0, FlxG.width,
"Thanks for playing Vs. Foxa 3.0!\nYou are on a Dev Build.\nIf you were given this by someone who isn't a dev/playtester,\nplease contact one of the devs. "
"Thanks for playing Vs. Foxa 3.0!\nYou are on a Developer Build.\nIf you were given this by someone who isn't a dev/playtester,\nplease contact one of the devs at Foxacord.\n(https://discord.gg/FARpwR9K4k)"
+ "\n\nPress Enter to continue.",
32);

txt.setFormat(Paths.font("vcr.ttf"), 32, FlxColor.fromRGB(200, 200, 200), CENTER);
txt.borderColor = FlxColor.BLACK;
txt.borderSize = 2.3;
txt.borderSize = 2.4;
txt.borderStyle = FlxTextBorderStyle.OUTLINE;
txt.screenCenter();
add(txt);
Expand Down

0 comments on commit 176ecd9

Please sign in to comment.