So, for a good few months, one of the bugs that's been just getting past my ability to be resolved has been the one where the screen rendered goes completely janky when the device orientation is changed, but before the player moves. Once the player moves, it resolves, but that change did something. To a lesser degree, it was also present when the preferences were changed to render a new resolution. And it was, to a much lesser degree, also present when you walked into a house, or up or down stairs.
No more.
I finally hunkered down, sat there with the code for rendering, the other code sections that work around these actions and kept at it.
It's also one of those "it makes perfect sense" when I've spent the two days to work it out, and yes, it makes perfect sense of what's going on, and why it was doing that. And of course, as it always is, threads were involved. Not the only culprit, but involved. So amusingly, there were indeed to issues that were causing individual issues, one when the orientation changed, and a different bug when entering/exiting but they're both solved.
So, that's been an utter elation to finally have that fixed. The game just looks so much more finished with that no longer being a thing.
So, next things next.
I'm doing some testing on a tablet, to see how things look with a completely different screen, and aside from one random crash, the app seems to be stable and without issue so far.
So, next on the agenda. I need to tweak the code when new characters are created to give them some starting items. My band-aid solution for that was to simply start the party with some cash and drop a few cheap "starter" items on a vendor, but I think I need to do better than that. So, that's my goal for tomorrow. Create some "starting with..." items and to tweak the code that creates characters to add them automatically when a new character is created. Oh, and to add in a party trainer type NPC to the starting Inn.
As for the screenshot, I started a new party using my wife's tablet and created characters named after what she suggested.