The letter of the week is B, for Benedryl. Progress has been a little slower this week, but ongoing, because you can't write code when you can't see straight.
As is probably apparent by now, more bug fix work was done this week, although one of the fixes didn't pan out like I had hoped and will need a proper final fix in the next build (511.1385). I expect that will come soon, but not quite today. I do however have an approach that I think will shut that bug down once and for all. Fortunately it's very obscure.
Work on 512 continues. I've begun putting together the underlying structures I'll need for visual contents, an idea from Ter13 that I think has massive potential. So far my plan is that only movables can be in an atom's visual contents, and only movables and/or turfs can have them. (That plan may be subject to change. For instance I may decide I actually want turfs to be allowed in visual contents, or that maybe /image would be a viable visual container--although /image would be more complex to handle.) This will entail two new vars, vis_contents and vis_locs. An atom can be part of multiple atoms' visual contents, and can even appear indirectly more than once in the same grandparent atom. The only strict rule here is that circular references of course won't be allowed, just like with regular contents.
The way visual contents will work is that when an atom is converted into icons its appearance is handled, followed by the images, followed by the visual contents; and then all those are sorted. There is however a catch, which is that with visual contents, the objects in that list will retain their own atom IDs for mouse interaction--which means changing up some code on the client end. (I may also want to provide a mechanism whereby these objects can still act like live overlays, and therefore not retain their IDs or individual mouse_opacity.)
The goal of all this is, as stated in the post, so you can have either easy-to-change overlays, setup complex HUD containers, and more. I think a lot of really exciting stuff can come out of this, especially for game interfaces.
If you haven't hit up the donation box or become a Member yet, now's a great time to do so--especially for Membership, because next weekend is a long weekend here in the USA, and what better way to duck your relatives at the inevitable picnic than to play games? (Actually I'm looking forward more to seeing relatives, but that's what happens when you get old.) Let's get summer started right!
May 19 2017, 10:15 am