1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-01 04:14:47 +00:00

bullshit for working mac build? lol

This commit is contained in:
Cameron Taylor 2021-03-31 10:08:55 -07:00
parent 4518cbfbbc
commit 3d20c2fd12
5 changed files with 20 additions and 13 deletions

View file

@ -126,7 +126,7 @@
<haxelib name="faxe" if='switch'/> <haxelib name="faxe" if='switch'/>
<haxelib name="polymod"/> <haxelib name="polymod"/>
<haxelib name="hxcpp-debug-server" if="desktop debug"/> <haxelib name="hxcpp-debug-server" if="desktop debug"/>
<haxelib name="discord_rpc" if="cpp"/> <!-- foesn't work with neko --> <!--<haxelib name="discord_rpc" if="cpp"/> --> <!-- foesn't work with neko -->
<!-- <haxelib name="hxcpp-debug-server" if="desktop"/> --> <!-- <haxelib name="hxcpp-debug-server" if="desktop"/> -->
<!-- <haxelib name="markdown" /> --> <!-- <haxelib name="markdown" /> -->

View file

@ -1,12 +1,16 @@
package; package;
import Sys.sleep; import Sys.sleep;
import discord_rpc.DiscordRpc;
using StringTools; using StringTools;
#if discord_rpc
import discord_rpc.DiscordRpc;
#end
class DiscordClient class DiscordClient
{ {
#if discord_rpc
public function new() public function new()
{ {
trace("Discord Client starting..."); trace("Discord Client starting...");
@ -79,4 +83,5 @@ class DiscordClient
// trace('Discord RPC Updated. Arguments: $details, $state, $smallImageKey, $hasStartTimestamp, $endTimestamp'); // trace('Discord RPC Updated. Arguments: $details, $state, $smallImageKey, $hasStartTimestamp, $endTimestamp');
} }
#end
} }

View file

@ -194,7 +194,9 @@ class PlayState extends MusicBeatState
dialogue = CoolUtil.coolTextFile(Paths.txt('thorns/thornsDialogue')); dialogue = CoolUtil.coolTextFile(Paths.txt('thorns/thornsDialogue'));
} }
#if discord_rpc
initDiscord(); initDiscord();
#end
switch (SONG.song.toLowerCase()) switch (SONG.song.toLowerCase())
{ {

View file

@ -194,9 +194,9 @@ class TitleState extends MusicBeatState
blackScreen = new FlxSprite().makeGraphic(FlxG.width, FlxG.height, FlxColor.BLACK); blackScreen = new FlxSprite().makeGraphic(FlxG.width, FlxG.height, FlxColor.BLACK);
credGroup.add(blackScreen); credGroup.add(blackScreen);
var atlasBullShit:FlxSprite = new FlxSprite(); // var atlasBullShit:FlxSprite = new FlxSprite();
atlasBullShit.frames = CoolUtil.fromAnimate(Paths.image('money'), Paths.file('images/money.json')); // atlasBullShit.frames = CoolUtil.fromAnimate(Paths.image('money'), Paths.file('images/money.json'));
credGroup.add(atlasBullShit); // credGroup.add(atlasBullShit);
credTextShit = new Alphabet(0, 0, "ninjamuffin99\nPhantomArcade\nkawaisprite\nevilsk8er", true); credTextShit = new Alphabet(0, 0, "ninjamuffin99\nPhantomArcade\nkawaisprite\nevilsk8er", true);
credTextShit.screenCenter(); credTextShit.screenCenter();

View file

@ -35,7 +35,7 @@ class PreferencesMenu extends ui.OptionsState.Page
public static function initPrefs():Void public static function initPrefs():Void
{ {
preferenceCheck('censor-naughty', false); preferenceCheck('censor-naughty', false);
preferenceCheck('downscroll', true); preferenceCheck('downscroll', false);
preferenceCheck('flashing-menu', true); preferenceCheck('flashing-menu', true);
preferenceCheck('camera-zoom', true); preferenceCheck('camera-zoom', true);
preferenceCheck('fps-counter', true); preferenceCheck('fps-counter', true);