Page 1 of 1

0.9.0 + luajit?

Posted: Sun Oct 13, 2013 2:28 pm
by jjmafiae
do anyone have a pre-0.9.0 version of love with lua jit?

Re: 0.9.0 + luajit?

Posted: Sun Oct 13, 2013 3:22 pm
by slime
If you have Windows, Boolsheet's builds of 0.9.0 come with Lua 5.1 but let you directly replace the Lua DLL with LuaJIT.

Here are the builds: 32 bit or 64 bit.

Here's the build of LuaJIT you can use: https://bitbucket.org/Boolsheet/love_wi ... -2.0.2.zip

Re: 0.9.0 + luajit?

Posted: Sun Oct 13, 2013 4:44 pm
by jjmafiae
thanks. also i can't get love.textiput(t) to work? is this a known issue?

code i used (directly from the wiki example)

Code: Select all

function love.load()
    text = "Type away! -- "
end

function love.textinput(t)
    text = text .. t
end

function love.draw()
    love.graphics.printf(text, 0, 0, love.graphics.getWidth())
end

Re: 0.9.0 + luajit?

Posted: Sun Oct 13, 2013 4:58 pm
by slime
Are you sure you're running that code on a recent build of 0.9.0? What does love.keyboard.hasTextInput() return?

Re: 0.9.0 + luajit?

Posted: Sun Oct 13, 2013 5:33 pm
by jjmafiae
slime wrote:Are you sure you're running that code on a recent build of 0.9.0? What does love.keyboard.hasTextInput() return?
sorry it works now :D