Page 1 of 1

how can I write text using keyboard

Posted: Tue Apr 25, 2023 1:14 pm
by psemo
There are many languages, layouts and types.Is there a standart way to get string input from player and write it to screen? including symbols.

Re: how can I write text using keyboard

Posted: Tue Apr 25, 2023 1:26 pm
by BrotSagtMist
Its just

Code: Select all

function love.textinput(new)
 Text=Text..new
end
Then print it.
But you will need to load a proper font to show everything on screen.

Re: how can I write text using keyboard

Posted: Tue Apr 25, 2023 2:02 pm
by psemo
it works! Thanks a lot