Esoteric Update #371 - A Perfected Action Menu
Back from the doctor today, having a bit of a migraine and I'm not sure why.
So, what do we have today for the update?
I want to focus on one thing. I've been working on this for a good few days, mostly by iterating over unsuccessful attempts at fixing the old version of menus. I decided to just start over eventually and that's what we have here. I know the image doesn't look like much, it's just a mock up to check if the menu composition works correctly, and I'm not quite yet happy with it. But there is a fair number of features here that I am happy with. The rest can be added on top of this if needed. Primarily building the selectable entries, but that needs a bit more work.

The question might be, what was wrong with the old menu code? Well, as per its original specifications, nothing. As per how it was used in the end... a few things. Since I tried to build the responders on top of it. And this is instead working from the responders backwards, and this it in particular works very well with composition. I.e. responder fragments. Mostly in that it removes all edge case odd UI rendering issues we've been fighting with as well as offering a few more useful features: entry sorting by priority and built in checking if the menu contains any meaningful choices (a choice needs to define itself as meaningful). The last question was handled in a very wonky, round-about way in the old code and while it did work, it required multiple lines of boilerplate per fragment to function. Here's it's just a single 'yes'/'no' when building the entry. It also supports pre-resolving text, for further improved display stability (i.e. stopping options from changing how they are displayed due to text randomisation). And because it's been written for responders from the start, it supports things like groups, categories (a group with a label/title) and the ability to add additional, custom entry definitions. It also deals particularly well with drawing entries from multiple sources, including adding dynamically one-off generated entries. I'm not even sure if that'll be useful for anything, it's just a consequence of how it's constructed this time.
The whole system is structured similarly to (though shares almost no code with) the dynamic paragraph re-write. It borrows some concepts from that, in terms of how it's implemented at least, as the two obviously do very different things.
Ironically, now that it's done, the whole thing is only some 250 lines of code, which is pretty lightweight as far as code volume goes. Though it is also conceptually pretty dense.
IDK, my head hurts, this is all I wanted to say, I'll have more to show next week.
And yes, this means I'm gearing up to begin the content implementation. Slowly.
Get Esoteric ♥ Esoterica
Esoteric ♥ Esoterica
A story driven erotic game about magic, supernatural forces, love and BDSM.
| Status | In development |
| Author | EsoDev |
| Genre | Interactive Fiction |
| Tags | Erotic, Experimental, Fantasy, Female Protagonist, Mystery, Procedural Generation, Romance, Story Rich, Text based |
| Languages | English |
| Accessibility | Color-blind friendly, High-contrast |
More posts
- Esoteric Update #373 - An Important Announcement7 days ago
- Esoteric Update #372 - Insight14 days ago
- Release: Primrose29 days ago
- Release: Metacognition36 days ago
- Esoteric Update #370 - Black, Long Hair41 days ago
- Esoteric Update #369 - Tightness And Bulk49 days ago
- Esoteric Update #368 - THE FRENCH56 days ago
- Esoteric Update #367 - Bad Week63 days ago
- Esoteric Update #366 - Dynamic-er Paragraphs70 days ago
Leave a comment
Log in with itch.io to leave a comment.