0.9.0 + luajit?

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
jjmafiae
Party member
Posts: 1331
Joined: Tue Jul 24, 2012 8:22 am

0.9.0 + luajit?

Post by jjmafiae »

do anyone have a pre-0.9.0 version of love with lua jit?
User avatar
slime
Solid Snayke
Posts: 3170
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: 0.9.0 + luajit?

Post 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
jjmafiae
Party member
Posts: 1331
Joined: Tue Jul 24, 2012 8:22 am

Re: 0.9.0 + luajit?

Post 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
User avatar
slime
Solid Snayke
Posts: 3170
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: 0.9.0 + luajit?

Post by slime »

Are you sure you're running that code on a recent build of 0.9.0? What does love.keyboard.hasTextInput() return?
jjmafiae
Party member
Posts: 1331
Joined: Tue Jul 24, 2012 8:22 am

Re: 0.9.0 + luajit?

Post 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
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 3 guests