[0.9.0] love.textinput
Posted: Thu Oct 03, 2013 5:44 pm
I am having an issue with love.textinput. In fact, it doesn't seem to work at all and am unsure as to what I am doing incorrectly. I tried using the example code from the wiki but that doesn't even work. When I press keys nothing happens at all. I am using the most up-to-date nightly build of 0.9.0.
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