Work on part two of Caught (a feral x anthro comic I did a year ago).
Just takes some photos.
Take notes on this iteration of DSL work.
Refine how I handle captioning images. Right now, .is creates both the alt-text and caption. However, the caption should be able to hold any markup I already have defined. Spliting this up into .alt and .caption may be the solution.
Day 1
DecAdv has started. So, I decided to make my self a little script for building this page. handles building this site for me. I kinda have no idea what to do for this. I kinda don't feel like detouring from existing projects. So, I'll probably just log whatever random stuff is going on in December.
I've been getting really into using Lua scripts for things like this. I've written two article in the past on this:
I had some time to kill at work. I wasn't really happy with how thorny hanlding pictures without alt text was. So, I went and refactored that into something alot cleaner:
Dsl.picture = function (src)
local line = debug.getinfo (2, "l") .currentline
return {
t = "picture_no_alt" ;
src = src ;
at = line ;
is = function (alt)
return {
t = "picture" ;
src = src ;
alt = alt ;
}
end
}
end
The refactored code now uses different types for a picture without alt-text and a picture with alt-text. The old code used metamagic to check if alt was missing.
Oh, also, I addded code blocks, inline code, block quotes, and an Atom feed :3 I still have another day in office to complete. No idea what I want to fiddle with on the weekend. That idea of "mods for Wife's Bedroom" is looking pretty attractive. I have a funny one for it (which is just a bucket of worms). I could also continue my Picotron project.
I always get stuck on the narrative structure of an idea. Not like in the strictly "writing of a story" sense, but in how to structure my application. The details of how state is stored, how the application transitions from point to point. I've been finding it helpful to just mock out what I'm desiring, then implement it. That's how my DSL for this page got started.
Also, this DSL may be my finest bit of work so far. I've been just rehashing this idea over and over. And, each time the results get a little nicer to me. The implementation process feels cleaner and gets a little bit faster and more consistent. It just makes me feel pretty good about coding which is nice.
It's also been inspiring some Lua positivity around me which is nice. People like to rag on the language. Mostly for superficial reasons.
Also, I can never really think about how to make a game without an intro of some kind. A title screen, a first cutscene. Should probably just start there. It also doesn't help I keep hitting friction with the Picotron.
The tools behave in unexpected ways, the system sometime mysteriously enters an invalid state, every system is more powerful but awkwardly shoehorns a faux Pico-8 API.
It does at least help with scoping.
Day 3
I've decided to kill time at work today (there's been a lot of time to kill these past weeks) by journaling what I want to do for my Picotron project. I don't have a strong sense of how I want it to end, so I've decided to work on that. When I start a project, I often try to invision the ending. (I also still need a name :T)
Okay, so I've kinda worked out how I want things to go. I think I'll go with an incremental approach. You collect worms, sell them, then buy stuff to help collect more worms. The game keeps track of an "exposure" level. This level is what is used to trigger various events between each day. The games wraps up once this exposure level reaches its maximum value.
I also added an <hr/> item to the markup. It's represented as ___ .
I think I might use these comming days to try and story-board an intro. Tho, I might just get distracted with random art ideas.
My two weeks of vaccation cannot come soon enough tho.
Day 4
Actually managed to make some progress on the game. Still no name. Need to implement the ability to move between locations next. Then add the spawning.
Screen capture of the game so far.
Day 5
A pal of mine on Mastodon posted about wanting an alternative to some website for terminal color schemes. The website is horrifically slow. I have a completely over spec'd system. It also had a gross and mushy scroll system. It is also completely slopped up know.
So, I took it upon myself to design my own thing. I went to the Gogh's github repo, yoinked it's themes/ folder, converted all the contents from YAML to Lua using a big find-and-replace, and wrote a small DSL to extract the information. Finally, I compiled it all into a page on my website.
I also went to an art show and bought some nice paintings and this artifact.
There are a few tweaks I want to make to enhance that User Experience; however, it's pretty good for a few dozen lines of Lua.