Skip to content

Instantly share code, notes, and snippets.

gl.setup(NATIVE_WIDTH, NATIVE_HEIGHT)
node.alias "looper"
local Looper = function(file)
local vid = resource.load_video(file, false, true)
local function draw()
util.draw_correct(vid, 0, 0, WIDTH, HEIGHT)
return true
end
local function set_running(running)