new flixel fork and stuff
This commit is contained in:
@@ -2,9 +2,9 @@ package funkin.utils;
|
||||
|
||||
import flixel.tweens.FlxTween;
|
||||
import flixel.system.frontEnds.SoundFrontEnd;
|
||||
import flixel.system.FlxSound;
|
||||
import flixel.sound.FlxSound;
|
||||
import funkin.system.Conductor;
|
||||
import flixel.system.FlxSoundGroup;
|
||||
import flixel.sound.FlxSoundGroup;
|
||||
import animateatlas.AtlasFrameMaker;
|
||||
import haxe.Json;
|
||||
import funkin.menus.StoryMenuState.WeekData;
|
||||
@@ -571,7 +571,7 @@ class CoolUtil
|
||||
spr.acceleration.set();
|
||||
spr.drag.set();
|
||||
spr.antialiasing = FlxSprite.defaultAntialiasing;
|
||||
spr.rotOffset.set();
|
||||
spr.frameOffset.set();
|
||||
FlxTween.cancelTweensOf(spr);
|
||||
}
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ package funkin.utils;
|
||||
|
||||
import funkin.scripting.events.DiscordPresenceUpdateEvent;
|
||||
import haxe.Json;
|
||||
import flixel.system.FlxSound;
|
||||
import flixel.sound.FlxSound;
|
||||
#if DISCORD_RPC
|
||||
import discord_rpc.DiscordRpc;
|
||||
import sys.thread.Thread;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package funkin.utils;
|
||||
|
||||
import flixel.system.FlxSound;
|
||||
import flixel.sound.FlxSound;
|
||||
import flixel.util.FlxTimer;
|
||||
import flixel.tweens.FlxTween;
|
||||
|
||||
@@ -32,8 +32,8 @@ class FunkinParentDisabler extends FlxBasic {
|
||||
FlxTimer.globalManager._timers = [];
|
||||
|
||||
// cameras
|
||||
__cameras = [for(c in FlxG.cameras.list) if (c.followActive) c];
|
||||
for(c in __cameras) c.followActive = false;
|
||||
__cameras = [for(c in FlxG.cameras.list) if (c.followEnabled) c];
|
||||
for(c in __cameras) c.followEnabled = false;
|
||||
|
||||
// sounds
|
||||
__sounds = [for(s in FlxG.sound.list) if (s.playing) s];
|
||||
@@ -54,7 +54,7 @@ class FunkinParentDisabler extends FlxBasic {
|
||||
for(t in __tweens) FlxTween.globalManager._tweens.push(t);
|
||||
for(t in __timers) FlxTimer.globalManager._timers.push(t);
|
||||
}
|
||||
for(c in __cameras) c.followActive = true;
|
||||
for(c in __cameras) c.followEnabled = true;
|
||||
for(s in __sounds) s.play();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -105,7 +105,7 @@ class HiddenProcess {
|
||||
}
|
||||
|
||||
public function exitCode(block:Bool = true):Null<Int> {
|
||||
return NativeProcess.process_exit(p);
|
||||
return NativeProcess.process_exit(p #if (haxe >= "4.3.0"), block #end);
|
||||
}
|
||||
|
||||
public function close():Void {
|
||||
|
||||
Reference in New Issue
Block a user