Almost everything is done! The only thing left to do is the credits screen. I’m thinking I may just have it insert the credits text into the editor and then the user could delete it when they’re done.
Author: Jacob
PICO-8 Text Editor with Effects, #34
Today I almost finished everything before I got sidetracked with a PICO-8 bug. Somehow, calling ls() 1005 times causes a bunch of stuff to break. Don’t ask why I was calling ls() so much, it just happened, okay? I sent zep an email about it and I’ll update this post, when/if he replies. Edit (3/9/2022,…
PICO-8 Text Editor with Effects, #33
Today I finished the scrolling system! It’s still a little buggy, but it works. I have about half an hour left and the remaining tasks are quick:
PICO-8 Text Editor with Effects, #32
Today I fixed the menu system! I made it less general and it works so much better now. I have about an hour and a half left of my six hour time budget and I still think it’s enough to finish everything.
PICO-8 Text Editor with Effects, #31
The scroll bar is working! And it only took about half an hour. Now I need to make it auto scroll so that the cursor doesn’t go out of view.
PICO-8 Text Editor with Effects, #30
Today I spent half an hour on the scroll bar! It changes height with the length of the text, although it isn’t functional yet.
PICO-8 Text Editor with Effects, #29
Today I added a scroll bar with buttons! Next up should be adding the bar itself. I’m about halfway through my six hour time budget and I think I have enough time to finish.
PICO-8 Text Editor with Effects, #28
Today I did a quick hack to get scrolling working! I just added an offset to the drawing stage and it only took about ten minutes. I still need to add the scroll bar, but it shouldn’t be too hard.
PICO-8 Text Editor with Effects, #27
Today I spent about an hour and forty minutes working on the user interface, but I didn’t make much progress. The more I work on it, the more it operates like Qt and GTK xD I think I’ve been trying to make it too general; it only needs to handle buttons and menus. Going forward…
PICO-8 Text Editor with Effects, #26
Today I worked on the user interface! It’s the same as before, but the system is much better. It took about an hour of my six hour time budget. I didn’t think designing the user interface system would be fun, but it was! Here’s the design description: Each part of the user interface is a…
PICO-8 Text Editor with Effects, #25
Today I’ve been thinking about how to finish this project. It’s been fun, but now I have a new project and I’d like to finish this one before I start another series. Things left to do and what they involve: Saving the text (to files, to the cart, and to GIF.) Scrolling (changes to the…
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…
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…
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.
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.
PICO-8 Text Editor with Effects, #20
The menu buttons are working! Or, at least the toggle highlight button.
PICO-8 Text Editor with Effects, #19
Today I started adding menus! They don’t do anything yet, but they will soon.
PICO-8 Text Editor with Effects, #18
Today I started working on selections! I have start and end positions in the text which are set by the cursor. Then I draw all characters between those positions with a background color.The editor is really starting to feel complete. Although, I probably need to spend some time cleaning the code; right now it’s just…