how can I write text using keyboard

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
psemo
Prole
Posts: 6
Joined: Sun Mar 05, 2023 11:42 am

how can I write text using keyboard

Post 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.
User avatar
BrotSagtMist
Party member
Posts: 657
Joined: Fri Aug 06, 2021 10:30 pm

Re: how can I write text using keyboard

Post 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.
obey
psemo
Prole
Posts: 6
Joined: Sun Mar 05, 2023 11:42 am

Re: how can I write text using keyboard

Post by psemo »

it works! Thanks a lot
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot] and 4 guests