mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-12-25 22:47:52 +00:00
html5 fixes... again lol
This commit is contained in:
parent
1485d27b07
commit
b145e7629f
|
@ -4,7 +4,9 @@ import haxe.format.JsonParser;
|
|||
import openfl.Assets;
|
||||
import openfl.geom.Matrix3D;
|
||||
import openfl.geom.Matrix;
|
||||
#if sys
|
||||
import sys.io.File;
|
||||
#end
|
||||
|
||||
/**
|
||||
* Generally designed / written in a way that can be easily taken out of FNF and used elsewhere
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
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.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.
|
||||
|
@ -44,8 +44,8 @@ class VanillaCutscenes
|
|||
PlayState.instance.add(blackScreen);
|
||||
|
||||
#if html5
|
||||
vid:FlxVideo = new FlxVideo(path);
|
||||
vid.finishCallback = finishVideoCutscene();
|
||||
var vid:FlxVideo = new FlxVideo(path);
|
||||
vid.finishCallback = finishVideoCutscene;
|
||||
#else
|
||||
finishVideoCutscene();
|
||||
#end
|
||||
|
|
Loading…
Reference in a new issue