beginnings of a test harness
[?]
May 22, 2022, 3:54 PM
3QNOKBFMKBGXBVJIRHR2444JRRMBTABHE4674NR3DT67RRM2X6GACDependencies
- [2]
VHQCNMARseveral more modules - [*]
R5QXEHUIsomebody stop me - [*]
OTIBCAUJlove2d scaffold - [*]
6LJZN727handle chords
Change contents
- file addition: run.lua[4.2]
-- main entrypoint from LÖVEfunction love.run()if love.load then love.load(love.arg.parseGameArguments(arg), arg) endif love.timer then love.timer.step() endlocal dt = 0return function()if love.event thenlove.event.pump()for name, a,b,c,d,e,f in love.event.poll() doif name == "quit" thenif not love.quit or not love.quit() thenreturn a or 0endendlove.handlers[name](a,b,c,d,e,f)endendif love.timer then dt = love.timer.step() endif love.update then love.update(dt) end -- will pass 0 if love.timer is disabledif love.graphics and love.graphics.isActive() thenlove.graphics.origin()love.graphics.clear(love.graphics.getBackgroundColor())if love.draw then love.draw() endlove.graphics.present()endif love.timer then love.timer.sleep(0.001) endendend - edit in main.lua at line 10[2.78][6.21]
require 'run'