PICO-8 Text Editor with Effects, #23

I’ve started working on the save system! I can write files with “printh” and I’m trying to find a way to avoid clobbering existing files. PICO-8 has “extcmd” to run commands from inside PICO-8, but it doesn’t include “ls”, which I could use to find existing files.I’m also thinking that I’ll need a system for…

Published

PICO-8 Text Editor with Effects, #22

Today I spent more time refining the mouse controls. They’re still not finished, but now some new things work, like clicking outside the lines and on blank lines.

Published

PICO-8 Text Editor with Effects, #21

Today I made selections functional! Now they behave more like other text editors: pressing any key with an active selection deletes the selected text.

Published

PICO-8 Text Editor with Effects, #17

Today I worked on re-adding mouse control! When I was using a table for each line, I could loop through the lines to find the closest character to the mouse and I can still do something similar with the list of line breaks.

Published

PICO-8 Text Editor with Effects, #16

Today I re-added particles! I ended up using the method of setting flags on new letters, but still doing deletion immediately. The code isn’t awful, but it isn’t very clean either. Also, now that I have the letter positions from the word wrap, the second loop can just draw the letters.

Published

PICO-8 Text Editor with Effects, #7

Today I worked on changing the word wrap to operate on words instead of letters. It was pretty easy to get it working for adding words, but I still need to finish support for deleting words.

Published