Hi, I'm a beginner in programming
Sorry for my poor English.
I'm trying to program a word processor to type the letters and numbers that we want one after the other, but I haven't found a way to do it...
Do you have any examples?
Word Processor
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: Word Processor
Here is a very small example. This shows you the basic idea.
- Attachments
-
- simple_wordprocessor.love
- (282 Bytes) Downloaded 141 times
Re: Word Processor
Thanks ! But if i want to use the backspace to delete one letter at a time, how do i do that?
Re: Word Processor
Have a look here:
https://love2d.org/wiki/love.textinput
There's an example for erasing text when backspace is pressed.
Re: Word Processor
Thank you! it works but I don't understand what this utf8 is for, what is its function?
I see a require but I don't have the utf8.lua, how can it work?
I see a require but I don't have the utf8.lua, how can it work?
- NotARaptor
- Citizen
- Posts: 59
- Joined: Thu Feb 22, 2018 3:15 pm
Re: Word Processor
Hi Tuxion - the linked page explains what it is and why it is used, and has a link to the library itself.
Re: Word Processor
utf8 is a LÖVE built-in library. Other built-in libraries are socket and enet, and from LuaJIT, ffi and jit.
Re: Word Processor
UTF8 allows you to use strings containing non English characters.
Re: Word Processor
ok thanks i have what i need
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 3 guests