1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-12-26 15:07:14 +00:00

html5 fixes... again lol

This commit is contained in:
Cameron Taylor 2022-04-18 15:00:12 -04:00
parent 1485d27b07
commit b145e7629f
2 changed files with 9 additions and 7 deletions

View file

@ -4,7 +4,9 @@ import haxe.format.JsonParser;
import openfl.Assets; import openfl.Assets;
import openfl.geom.Matrix3D; import openfl.geom.Matrix3D;
import openfl.geom.Matrix; import openfl.geom.Matrix;
#if sys
import sys.io.File; import sys.io.File;
#end
/** /**
* Generally designed / written in a way that can be easily taken out of FNF and used elsewhere * Generally designed / written in a way that can be easily taken out of FNF and used elsewhere

View file

@ -1,11 +1,11 @@
package funkin.play; package funkin.play;
import flixel.util.FlxTimer;
import flixel.tweens.FlxTween;
import flixel.tweens.FlxTween;
import flixel.tweens.FlxEase;
import flixel.util.FlxColor;
import flixel.FlxSprite; import flixel.FlxSprite;
import flixel.tweens.FlxEase;
import flixel.tweens.FlxTween;
import flixel.tweens.FlxTween;
import flixel.util.FlxColor;
import flixel.util.FlxTimer;
/** /**
* Static methods for playing cutscenes in the PlayState. * Static methods for playing cutscenes in the PlayState.
@ -44,8 +44,8 @@ class VanillaCutscenes
PlayState.instance.add(blackScreen); PlayState.instance.add(blackScreen);
#if html5 #if html5
vid:FlxVideo = new FlxVideo(path); var vid:FlxVideo = new FlxVideo(path);
vid.finishCallback = finishVideoCutscene(); vid.finishCallback = finishVideoCutscene;
#else #else
finishVideoCutscene(); finishVideoCutscene();
#end #end