0.9.0 + luajit?
0.9.0 + luajit?
do anyone have a pre-0.9.0 version of love with lua jit?
- slime
- Solid Snayke
- Posts: 3170
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: 0.9.0 + luajit?
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
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?
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 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
- slime
- Solid Snayke
- Posts: 3170
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: 0.9.0 + luajit?
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?
sorry it works nowslime wrote:Are you sure you're running that code on a recent build of 0.9.0? What does love.keyboard.hasTextInput() return?
Who is online
Users browsing this forum: Ahrefs [Bot] and 3 guests