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

Update hxCodec

This commit is contained in:
EliteMasterEric 2023-06-06 17:38:40 -04:00
parent 1d3c4d61a6
commit a2b08e3e34
2 changed files with 4 additions and 4 deletions

View file

@ -65,10 +65,10 @@
"version": "2.5.0"
},
{
"name": "hxcodec",
"name": "hxCodec",
"type": "git",
"dir": null,
"ref": "14ef69f",
"ref": "166ff82",
"url": "https://github.com/polybiusproxy/hxCodec"
},
{

View file

@ -92,14 +92,14 @@ class VideoCutscene
if (vid != null)
{
vid.zIndex = 0;
vid.onEndReached.add(finishVideo.bind(0.5));
vid.bitmap.onEndReached.add(finishVideo.bind(0.5));
vid.cameras = [PlayState.instance.camCutscene];
PlayState.instance.add(vid);
PlayState.instance.refresh();
vid.playVideo(filePath, false);
vid.play(filePath, false);
}
else
{