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.
Tag: pico-8
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…
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.
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.
PICO-8 Text Editor with Effects, #15
I’m trying to figure out how to handle particle effects. The problem is that I don’t know where letters appear on screen until the word wrap stage and I need to create particle effects at the letters’ screen positions. So now I’m faced with an architecture question: which makes more sense, storing effects in the…