Skip to content

Commit b056196

Browse files
committed
Merge branch 'Archipelago' of https://github.com/Z11Coding/Mixtape-Engine-Rework into Archipelago
2 parents 78327fb + 232cbb2 commit b056196

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

source/psychlua/FunkinLua.hx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1060,6 +1060,17 @@ class FunkinLua {
10601060
MusicBeatState.getVariables().set(tag, leSprite);
10611061
});
10621062

1063+
// Lua_helper.add_callback(lua, "makeVideoLuaSprite", function(tag:String, video:String, ?x:Float = 0, ?y:Float = 0) {
1064+
// tag = tag.replace('.', '');
1065+
// LuaUtils.destroyObject(tag);
1066+
// var leSprite:objects.FNFWeeklyVideoSprite = new objects.FNFWeeklyVideoSprite(x, y, video, waiting, skippable, looping);
1067+
// if(video != null && video.length > 0)
1068+
// {
1069+
// leSprite.loadGraphic(Paths.video(video));
1070+
// }
1071+
// MusicBeatState.getVariables().set(tag, leSprite);
1072+
// });
1073+
10631074
Lua_helper.add_callback(lua, "makeGraphic", function(obj:String, width:Int = 256, height:Int = 256, color:String = 'FFFFFF') {
10641075
var spr:FlxSprite = LuaUtils.getObjectDirectly(obj);
10651076
if(spr != null) spr.makeGraphic(width, height, CoolUtil.colorFromString(color));

0 commit comments

Comments
 (0)