BILLPC2684

android_love2D_insert-error

Aug 22nd, 2016
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. keyin = ""
  2. love.keyboard.setTextInput(true)
  3. function love.keypressed(key)
  4. keyin = key
  5. end
  6. function love.draw()
  7. for i=1,#love.filesystem.getDirectoryItems("/") do
  8. love.graphics.print(tostring(keyin),100,100)
  9. love.graphics.print(love.filesystem.getDirectoryItems("/")[i],1,i*10)
  10. end
  11. end
Advertisement
Add Comment
Please, Sign In to add comment