lua: /home/qubodup/hand-holder.lua:247: bad argument #1 to 'setfenv' (number expected, got nil)
stack traceback:
[C]: in function 'setfenv'
/home/qubodup/hand-holder.lua:247: in main chunk
[C]: ?
hand-holder (v0.5) for porting games for LÖVE 0.5.0 to 0.6.0
Am I doing something wrong?
PS: thanks for your effort. If it worked for anybody, it was probably a nice peace of help!
lg.newImage("cat.png") -- made possible by lg = love.graphics
-- Don't force fullscreen (it frustrates those who want to try your game real quick) -- Develop for 1280x720 (so people can make HD videos)
It's not supposed to do that. It means one of the required() files can't be loaded for some reason... Maybe the new version that I haven't uploaded yet fixes that?
$ lua ~/hand-holder.lua
hand-holder (v0.5.1) for porting games for LÖVE 0.5.0 to 0.6.0
lua: /home/qubodup/hand-holder.lua:250: bad argument #1 to 'setfenv' (number expected, got nil)
stack traceback:
[C]: in function 'setfenv'
/home/qubodup/hand-holder.lua:250: in main chunk
[C]: ?
lg.newImage("cat.png") -- made possible by lg = love.graphics
-- Don't force fullscreen (it frustrates those who want to try your game real quick) -- Develop for 1280x720 (so people can make HD videos)
lg.newImage("cat.png") -- made possible by lg = love.graphics
-- Don't force fullscreen (it frustrates those who want to try your game real quick) -- Develop for 1280x720 (so people can make HD videos)