PICO-8 Text Editor with Effects, #24

Today I continued to work on the save system. I found the ls() command (it was right there in the manual xD), but it only lists p8, p8.png, and p8l files. I noticed that when I write files with printh(), any extension other than .txt results in “.p8l” being added to the file name. So I can avoid clobbering files by saving them as p8l and using ls(). I might be able to load them as well with the reload() function.

Leave a comment

Your email address will not be published. Required fields are marked *

Your data is processed in accordance with my privacy policy. Comments are manually approved and may take a while to appear.