Building a text editor in LÖVE

Show off your games, demos and other (playable) creations.
User avatar
darkfrei
Party member
Posts: 1169
Joined: Sat Feb 08, 2020 11:09 pm

Re: Building a text editor in LÖVE

Post by darkfrei »

You are need the timer, that can be nil. After saving set it to nil, but after first editing (when timer is nil) run the timer until the given autosave time.

Pro: no edited text will be saved just once.
:awesome: in Lua we Löve
:awesome: Platformer Guide
:awesome: freebies
User avatar
Kartik Agaram
Prole
Posts: 34
Joined: Fri Apr 01, 2022 4:46 am

export

Post by Kartik Agaram »

I built an exporter to markdown+SVG -- as a separate app. You can see it in action in this video: https://merveilles.town/@akkartik/108580451364837131. This way people who need the export functionality can get it, without complicating the code for everyone else.
Post Reply

Who is online

Users browsing this forum: No registered users and 40 guests